<div dir="ltr">Dear all<br>I have a  problem
when trying to run Barrelfish in hardware mode (not simulation mode).
As ubuntu 9.10 uses grub2, I removed it and installed grub to have a
menu.lst, but every time I try to run it, it gives the following error:-<div class="im"><br>

<br>kernel 1: APIC error interrupt fired!<br>
Monitor on core 1 running perform tests<br><br>Monitor on core 0 running perform tests<br>Spawning skb on core 0 ...<br>Spawning pci on core 0 ...<br>Spawning serial on core 0 ...<br>Spawning fish on core 0 ...<br>chips: client waiting for pci<br>



chips: client waiting for serial<br>chips: client waiting for skb<br>xxx: getpid() returns always 0<br>xxx: getpid() returns always 0<br>WARNING: getenv(ECLIPSELIBRARYPATH_6_0) not implemented<br>WARNING: getenv(ECLIPSELIBRARYPATH) not implemented<br>



chips: notifying client about skb<br>Assertion failed on core 0 in pci: !&quot;NYI: Acpi0sSleep&quot;, function Acpi0sSleep, file ../usr/pci/acpia-osglue.c, line 956<br>Aborted<br><br></div>When I run it in QEMU, it gives me the following:-<div class="im">
<br>

<br>  Booting &#39;Barrelfish&#39;<br><br>root (nd)<br> Filesystem type is tftp, using whole disk<br>kernel /x86_64/sbin/cpu loglevel=4<br>   [Multiboot-elf, &lt;0x100000:0x15ac0:0x5c550&gt;, shtab=0x173780, entry=0x10000c]<br>


module /x86_64/sbin/init<br></div>   [Multiboot-module @ 0x1d1000, 0x11f3b2 bytes]<div class="im"><br>module /x86_64/sbin/mem_serv<br></div>   [Multiboot-module @ 0x2f1000, 0x105483 bytes]<div class="im"><br>module /x86_64/sbin/monitor<br>
</div>   [Multiboot-module @ 0x3f7000, 0x1978b4 bytes]<div class="im"><br>

module /x86_64/sbin/chips<br></div>   [Multiboot-module @ 0x58f000, 0x103299 bytes]<div class="im"><br>module  /x86_64/sbin/skb<br></div>   [Multiboot-module @ 0x693000, 0x8934db bytes]<div class="im"><br>module  /x86_64/sbin/pci<br>
</div>   [Multiboot-module @ 0xf27000, 0x2f338a bytes]<div class="im"><br>

module  /x86_64/sbin/serial<br></div>   [Multiboot-module @ 0x121b000, 0x104bae bytes]<div class="im"><br>module /x86_64/sbin/fish<br></div>   [Multiboot-module @ 0x1320000, 0x1a9819 bytes]<br><br>Kernel starting at address 0xffffffffc14cb000<br>
Spawning memory server (mem_serv)...<br>

Spawning monitor (monitor)...<br>RAM allocator initialised, 100 MB (of 104 MB) available<br>Spawning chips on core 0...<div class="im"><br>Spawning skb on core 0...<br>Spawning pci on core 0...<br>Spawning serial on core 0...<br>
Spawning fish on core 0...<br></div>

chips: client waiting for skb<div class="im"><br>chips: client waiting for pci<br>chips: client waiting for serial<br></div>XXX: getpid() returns always 3<br>XXX: getpid() returns always 3<div class="im"><br>WARNING: getenv(ECLIPSELIBRARYPATH_6_0) not implemented<br>


WARNING: getenv(ECLIPSELIBRARYPATH) not implemented<br>chips: notifying client about skb<br></div>Installing fixed event handler for power button<br>chips: notifying client about pci<br>chips: notifying client about serial<br>

fish v0.2 -- pleased to meet you!<br>
Running mount mbfs<br><br>the menu.lst file looks like this:-<div class="im"><br><br>title       Barrelfish<br>uuid        0511a240-6039-47ad-a950-19e91e26aeba<br>kernel         /boot/barrelfish/x86_64/sbin/elver<br>module         /boot/barrelfish/x86_64/sbin/cpu loglevel=4 logmask=0<br>

module         /boot/barrelfish/x86_64/sbin/init<br>module         /boot/barrelfish/x86_64/sbin/mem_serv<br>module         /boot/barrelfish/x86_64/sbin/monitor bootcpus=0-1<br>module         /boot/barrelfish/x86_64/sbin/chips<br>

module         /boot/barrelfish/x86_64/sbin/skb<br>module         /boot/barrelfish/x86_64/sbin/pci<br>module         /boot/barrelfish/x86_64/sbin/serial<br>module         /boot/barrelfish/x86_64/sbin/fish<br><br></div>bootcpus=0-1 because I have dual cores. I think elver is used instead of the patch that makes grub reads 64-bits images.<br>

<br>If any one is able to run Barrelfish from hardware, please tell me what is wrong? <br>I also want to write a scheduler inside Barrelfish, but I don&#39;t know where to start?<br><span lang="EN-US"><font face="宋体" size="3"><br>
Regards<br><br>Mohammed<br></font></span></div>