Hi,<div><br></div><div>I've never loaded that module in the first place, since it was mentioned, that Barrelfish won't work with kvm.</div><div>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.</div>
<div><br></div><div>1. cloned the public mercurial repo</div><div>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)</div>
<div>3. compiled the source using gcc 4.6.2</div><div>4. make sim to run barrelfish on qemu</div><div><br></div><div>uname -a gives the following:</div><div><div>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</div>
</div><div><br></div><div>Does someone see any source(s) of errors? Could it not work, because I use a newer gcc/ghc version than in the guide?</div><div><br></div><div>Help is much appreciated.</div><div><br></div><div>cheers,</div>
<div><br></div><div>Sam</div><div><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 3:39 PM, Pravin <span dir="ltr"><<a href="mailto:shindep@student.ethz.ch">shindep@student.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Samuel,<br>
<br>
I am not sure if this is related to the issue you are facing, but<br>
sometimes, I face issues with qemu when it conflicts with kvm kernel<br>
module. I tend to remove kvm modules from kernel to get qemu properly<br>
working with Barrelfish.<br>
<br>
On intel machines<br>
sudo rmmod kvm_intel<br>
<br>
And on ADM machines<br>
sudo rmmod kvm_amd<br>
<br>
You might want to try this and see if it helps.<br>
<br>
--<br>
Pravin<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Feb 21, 2012 at 14:20, Samuel Hitz <<a href="mailto:samuel.hitz@gmail.com">samuel.hitz@gmail.com</a>> wrote:<br>
> Hmm ok, I rebuilt everything from scratch and ran qemu as root. Now the qemu<br>
> console opens, but it hangs at grub loading stage 2, with 100% cpu usage for<br>
> the qemu process. Any advice on that?<br>
><br>
> cheers,<br>
><br>
> Sam<br>
><br>
><br>
> On Tue, Feb 21, 2012 at 2:06 PM, Kornilios Kourtis <<a href="mailto:kkourt@inf.ethz.ch">kkourt@inf.ethz.ch</a>><br>
> wrote:<br>
>><br>
>> On Tue, Feb 21, 2012 at 11:11:19AM +0000, Samuel Hitz wrote:<br>
>> > Hi,<br>
>> ><br>
>> > Thanks for the suggestion. I tried booting Barrelfish on Qemu 0.14 and<br>
>> > 0.15, unfortunately with the same result as before.<br>
>> ><br>
>> > Any other possible sources of errors?<br>
>><br>
>> I don't think I can think of any. This is strange since 0.14 and 0.15<br>
>> (and 0.14.1 and 0.15.1 to be exact) work OK here.<br>
>><br>
>> This is the configure command I used for qemu 0.15.1:<br>
>> ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu<br>
>> --disable-vnc --audio-drv-list= --audio-card-list=<br>
>><br>
>> cheers,<br>
>> Kornilios.<br>
>><br>
>> --<br>
>> Kornilios Kourtis<br>
>><br>
>> _______________________________________________<br>
>> Barrelfish-users mailing list<br>
>> <a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
>> <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Barrelfish-users mailing list<br>
> <a href="mailto:Barrelfish-users@lists.inf.ethz.ch">Barrelfish-users@lists.inf.ethz.ch</a><br>
> <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
><br>
</div></div></blockquote></div><br></div>