Hi there,<div><br></div><div>As a small follow up: I was able to boot barrelfish locally on qemu using gcc 4.4 instead of gcc 4.6.</div><div><br></div><div>cheers,</div><div><br></div><div>Samuel<br><br><div class="gmail_quote">
On Tue, Feb 21, 2012 at 5:00 PM, Samuel Hitz <span dir="ltr">&lt;<a href="mailto:samuel.hitz@gmail.com">samuel.hitz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>I&#39;ve never loaded that module in the first place, since it was mentioned, that Barrelfish won&#39;t work with kvm.</div><div>I&#39;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&#39;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 class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote">On Tue, Feb 21, 2012 at 3:39 PM, Pravin <span dir="ltr">&lt;<a href="mailto:shindep@student.ethz.ch" target="_blank">shindep@student.ethz.ch</a>&gt;</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><div><br>
On Tue, Feb 21, 2012 at 14:20, Samuel Hitz &lt;<a href="mailto:samuel.hitz@gmail.com" target="_blank">samuel.hitz@gmail.com</a>&gt; wrote:<br>
&gt; Hmm ok, I rebuilt everything from scratch and ran qemu as root. Now the qemu<br>
&gt; console opens, but it hangs at grub loading stage 2, with 100% cpu usage for<br>
&gt; the qemu process. Any advice on that?<br>
&gt;<br>
&gt; cheers,<br>
&gt;<br>
&gt; Sam<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Feb 21, 2012 at 2:06 PM, Kornilios Kourtis &lt;<a href="mailto:kkourt@inf.ethz.ch" target="_blank">kkourt@inf.ethz.ch</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Feb 21, 2012 at 11:11:19AM +0000, Samuel Hitz wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks for the suggestion. I tried booting Barrelfish on Qemu 0.14 and<br>
&gt;&gt; &gt; 0.15, unfortunately with the same result as before.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any other possible sources of errors?<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t think I can think of any. This is strange since 0.14 and 0.15<br>
&gt;&gt; (and 0.14.1 and 0.15.1 to be exact) work OK here.<br>
&gt;&gt;<br>
&gt;&gt; This is the configure command I used for qemu 0.15.1:<br>
&gt;&gt; ./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu<br>
&gt;&gt; --disable-vnc --audio-drv-list= --audio-card-list=<br>
&gt;&gt;<br>
&gt;&gt; cheers,<br>
&gt;&gt; Kornilios.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Kornilios Kourtis<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Barrelfish-users mailing list<br>
&gt;&gt; <a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a><br>
&gt;&gt; <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Barrelfish-users mailing list<br>
&gt; <a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a><br>
&gt; <a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>