[Barrelfish-users] Problems booting Barrelfish on Qemu
Samuel Hitz
samuel.hitz at gmail.com
Thu Feb 23 15:16:53 CET 2012
Hi there,
As a small follow up: I was able to boot barrelfish locally on qemu using
gcc 4.4 instead of gcc 4.6.
cheers,
Samuel
On Tue, Feb 21, 2012 at 5:00 PM, Samuel Hitz <samuel.hitz at gmail.com> wrote:
> Hi,
>
> I've never loaded that module in the first place, since it was mentioned,
> that Barrelfish won't work with kvm.
> I'll describe what I did in order to boot Barrelfish on Qemu, maybe
> someone can see a flaw in the process or a possible source of error.
>
> 1. cloned the public mercurial repo
> 2. generated the makefile with hake for x86_64 (I had to apply the Main.hs
> patch, because I used ghc v7.0.3 which isn't listed as supported but since
> the build went through, I thought it would work anyway)
> 3. compiled the source using gcc 4.6.2
> 4. make sim to run barrelfish on qemu
>
> uname -a gives the following:
> Linux thinkpad 3.2.5-1-ARCH #1 SMP PREEMPT Tue Feb 7 08:34:36 CET 2012
> x86_64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz GenuineIntel GNU/Linux
>
> Does someone see any source(s) of errors? Could it not work, because I use
> a newer gcc/ghc version than in the guide?
>
> Help is much appreciated.
>
> cheers,
>
> Sam
>
> On Tue, Feb 21, 2012 at 3:39 PM, Pravin <shindep at student.ethz.ch> wrote:
>
>> Hi Samuel,
>>
>> I am not sure if this is related to the issue you are facing, but
>> sometimes, I face issues with qemu when it conflicts with kvm kernel
>> module. I tend to remove kvm modules from kernel to get qemu properly
>> working with Barrelfish.
>>
>> On intel machines
>> sudo rmmod kvm_intel
>>
>> And on ADM machines
>> sudo rmmod kvm_amd
>>
>> You might want to try this and see if it helps.
>>
>> --
>> Pravin
>>
>> On Tue, Feb 21, 2012 at 14:20, Samuel Hitz <samuel.hitz at gmail.com> wrote:
>> > Hmm ok, I rebuilt everything from scratch and ran qemu as root. Now the
>> qemu
>> > console opens, but it hangs at grub loading stage 2, with 100% cpu
>> usage for
>> > the qemu process. Any advice on that?
>> >
>> > cheers,
>> >
>> > Sam
>> >
>> >
>> > On Tue, Feb 21, 2012 at 2:06 PM, Kornilios Kourtis <kkourt at inf.ethz.ch>
>> > wrote:
>> >>
>> >> On Tue, Feb 21, 2012 at 11:11:19AM +0000, Samuel Hitz wrote:
>> >> > Hi,
>> >> >
>> >> > Thanks for the suggestion. I tried booting Barrelfish on Qemu 0.14
>> and
>> >> > 0.15, unfortunately with the same result as before.
>> >> >
>> >> > Any other possible sources of errors?
>> >>
>> >> I don't think I can think of any. This is strange since 0.14 and 0.15
>> >> (and 0.14.1 and 0.15.1 to be exact) work OK here.
>> >>
>> >> This is the configure command I used for qemu 0.15.1:
>> >> ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu
>> >> --disable-vnc --audio-drv-list= --audio-card-list=
>> >>
>> >> cheers,
>> >> Kornilios.
>> >>
>> >> --
>> >> Kornilios Kourtis
>> >>
>> >> _______________________________________________
>> >> Barrelfish-users mailing list
>> >> Barrelfish-users at lists.inf.ethz.ch
>> >> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>> >
>> >
>> >
>> > _______________________________________________
>> > Barrelfish-users mailing list
>> > Barrelfish-users at lists.inf.ethz.ch
>> > https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20120223/907c538f/attachment.html
More information about the Barrelfish-users
mailing list