<div> </div>
<div>Thany you so much for help. The qemu.log does exist, while no any content in it(Zero length).</div>
<p>Now what I have done is to chang the menu.lst in grub-qemu.img</p>
<p>$sudo mount –o loop ../tools/grub-qemu.img /mnt<br>$sudo vi /mnt/boot/grub/menu.lst</p>
<p>to new one like this:<br>-----------------------------------<br>serial<br>terminal --timeout=0 serial<br>dhcp<br>timeout 0<br>default 0</p>
<p>title new menu.lst<br>root (nd)<br>kernel /x86_64/sbin/cpu <br>module /x86_64/sbin/init<br>module /x86_64/sbin/mem_serv<br>module /x86_64/sbin/monitor<br>module /x86_64/sbin/chips<br>module /x86_64/sbin/skb<br>module /x86_64/sbin/pci<br>
module /x86_64/sbin/serial<br>module /x86_64/sbin/fish<br>------------------------------------</p>
<div>Thus the TFTP error dispeared, while the output is still a loop :(</div>
<div> </div>
<p>------------------------------------<br>qemu-system-x86_64 -smp 8 -net nic,model=ne2k_pci -net user -fda ../tools/grub-qemu.img -tftp /home/aimlab/barrelfish/build </p>
<p>-nographic -d int<br>Found Realtek 8029 at 0xc100, ROM address 0x0000<br>Probing...[Realtek 8029]<br>NE2000 base 0xc100, addr 52:54:00:12:34:56<br>Address: 10.0.2.15<br>Netmask: 255.255.255.0<br>Server: 10.0.2.2<br>Gateway: 10.0.2.2<br>
Address: 10.0.2.15<br>Netmask: 255.255.255.0<br>Server: 10.0.2.2<br>Gateway: 10.0.2.2<br> [H [J<br> GNU GRUB version 0.97 (636K lower / 129984K upper memory)<br> Use the ^ and v keys to select which entry is highlighted.<br>
Press enter to boot the selected OS, 'e' to edit the<br> commands before booting, or 'c' for a command-line. [5;78H [m [7m [5;3H dgtg2 new menu </p>
<p> [H [J Booting 'new menu.lst'</p>
<p>root (nd)<br> Filesystem type is tftp, using whole disk<br>kernel /x86_64/sbin/cpu <br> [Multiboot-elf, <0x100000:0x15ac0:0x5c550>, shtab=0x173780, entry=0x10000c]<br>module /x86_64/sbin/init<br> [Multiboot-module @ 0x1d1000, 0x11f3a2 bytes]<br>
module /x86_64/sbin/mem_serv<br> [Multiboot-module @ 0x2f1000, 0x105473 bytes]<br>module /x86_64/sbin/monitor <br> [Multiboot-module @ 0x3f7000, 0x1978ac bytes]<br>module /x86_64/sbin/chips<br> [Multiboot-module @ 0x58f000, 0x103289 bytes]<br>
module /x86_64/sbin/skb<br> [Multiboot-module @ 0x693000, 0x8934c3 bytes]<br>module /x86_64/sbin/pci<br> [Multiboot-module @ 0xf27000, 0x2f337a bytes]<br>module /x86_64/sbin/serial<br> [Multiboot-module @ 0x121b000, 0x104ba6 bytes]<br>
module /x86_64/sbin/fish<br> [Multiboot-module @ 0x1320000, 0x1a9809 bytes]</p>
<p>Found Realtek 8029 at 0xc100, ROM address 0x0000<br>Probing...[Realtek 8029]<br>NE2000 base 0xc100, addr 52:54:00:12:34:56<br>Address: 10.0.2.15<br>Netmask: 255.255.255.0<br>Server: 10.0.2.2<br>Gateway: 10.0.2.2<br>Address: 10.0.2.15<br>
Netmask: 255.255.255.0<br>Server: 10.0.2.2<br>Gateway: 10.0.2.2<br> [H [J<br> GNU GRUB version 0.97 (636K lower / 129984K upper memory)<br> Use the ^ and v keys to select which entry is highlighted.<br> Press enter to boot the selected OS, 'e' to edit the<br>
commands before booting, or 'c' for a command-line. [5;78H [m [7m [5;3H dgtg2 new menu </p>
<p> [H [J Booting 'new menu.lst'</p>
<p>root (nd)<br> Filesystem type is tftp, using whole disk<br>kernel /x86_64/sbin/cpu <br> [Multiboot-elf, <0x100000:0x15ac0:0x5c550>, shtab=0x173780, entry=0x10000c]<br>module /x86_64/sbin/init<br> [Multiboot-module @ 0x1d1000, 0x11f3a2 bytes]<br>
module /x86_64/sbin/mem_serv<br> [Multiboot-module @ 0x2f1000, 0x105473 bytes]<br>module /x86_64/sbin/monitor <br> [Multiboot-module @ 0x3f7000, 0x1978ac bytes]<br>module /x86_64/sbin/chips<br> [Multiboot-module @ 0x58f000, 0x103289 bytes]<br>
module /x86_64/sbin/skb<br> [Multiboot-module @ 0x693000, 0x8934c3 bytes]<br>module /x86_64/sbin/pci<br> [Multiboot-module @ 0xf27000, 0x2f337a bytes]<br>module /x86_64/sbin/serial<br> [Multiboot-module @ 0x121b000, 0x104ba6 bytes]<br>
module /x86_64/sbin/fish<br> [Multiboot-module @ 0x1320000, 0x1a9809 bytes]</p>
<p>Found Realtek 8029 at 0xc100, ROM address 0x0000<br>Probing...[Realtek 8029]<br>NE2000 base 0xc100, addr 52:54:00:12:34:56<br>Address: 10.0.2.15<br>Netmask: 255.255.255.0<br>Server: 10.0.2.2<br>Gateway: 10.0.2.2<br>Address: 10.0.2.15<br>
Netmask: 255.255.255.0<br>Server: 10.0.2.2<br>Gateway: 10.0.2.2<br> [H [J<br> GNU GRUB version 0.97 (636K lower / 129984K upper memory)<br> Use the ^ and v keys to select which entry is highlighted.<br> Press enter to boot the selected OS, 'e' to edit the<br>
commands before booting, or 'c' for a command-line. <br> [H [J Booting 'new menu.lst'</p>
<p>root (nd)<br> Filesystem type is tftp, using whole disk<br>kernel /x86_64/sbin/cpu <br> [Multiboot-elf, <0x100000:0x15ac0:0x5c550>, shtab=0x173780, entry=0x10000c]<br>module /x86_64/sbin/init<br> [Multiboot-module @ 0x1d1000, 0x11f3a2 bytes]<br>
module /x86_64/sbin/mem_serv<br> [Multiboot-module @ 0x2f1000, 0x105473 bytes]<br>module /x86_64/sbin/monitor <br> [Multiboot-module @ 0x3f7000, 0x1978ac bytes]<br>module /x86_64/sbin/chips<br> [Multiboot-module @ 0x58f000, 0x103289 bytes]<br>
module /x86_64/sbin/skb<br> [Multiboot-module @ 0x693000, 0x8934c3 bytes]<br>module /x86_64/sbin/pci<br> [Multiboot-module @ 0xf27000, 0x2f337a bytes]<br>module /x86_64/sbin/serial<br> [Multiboot-module @ 0x121b000, 0x104ba6 bytes]<br>
module /x86_64/sbin/fish<br>------------------------------------</p>
<p>Btw, the -no-reboot option append the 'qemu-system-x86_64' will prevent the loop, but fish still does not work. When delete the -nographic option, the popped up QEMU window freezed at "Booting from Floppy..." "GRUB Loading stage2........................"</p>
<div class="gmail_quote">2010/4/14 Andrew Baumann <span dir="ltr"><<a href="mailto:andrewb@inf.ethz.ch" target="_blank">andrewb@inf.ethz.ch</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi there,<br>
<div><br>On Wednesday 14 April 2010 14.42:54 ʯÁÖ wrote:<br>> I am newbie here, when I download the the second release of<br>> Barrelfish(2009-12-19)<br>> and install it, qemu seems failed to launch the Barrelfish and all test did<br>
> not run properly.<br><br></div>[...]<br><br>It looks like everything goes well up until:<br>
<div>> $ make sim ARCH=x86_64<br>> qemu-system-x86_64 -smp 8 -net nic,model=ne2k_pci -net user -fda<br>> ../tools/grub-qemu.img -tftp /barrelfish-64/build -nographic -d int<br></div>[...]<br>
<div>>root (nd)<br>> Filesystem type is tftp, using whole disk<br>>configfile (nd)/menu.lst<br>>TFTP error 1 (File not found)<br><br></div>The tftp path being provided to qemu (/barrelfish-64/build) appears not to be<br>
valid, because the booted grub running inside qemu is unable to load menu.lst,<br>but then you get:<br>
<div><br>>[H[J Booting 'Barrelfish'<br>><br>>root (nd)<br>> Filesystem type is tftp, using whole disk<br>>kernel /x86_64/sbin/cpu loglevel=4<br>> [Multiboot-elf, <0x100000:0x15ac0:0x5c550>, shtab=0x173780,<br>
> entry=0x10000c]<br><br></div>... it apparently succeeds in loading the kernel. So, I'm not really sure what<br>to make of this. Assuming the kernel is loaded successfully, you are probably<br>experiencing a triple-fault early in boot that causes the system to reset and<br>
repeat the failed boot. You might find some information in /tmp/qemu.log that<br>tells you where it is faulting, but that's just a guess.<br>
<div><br>> Can anybody please tell me how to make things right? How to make the<br>> memtest to run? I want to know what will happen after the correct running<br>> of module /x86_64/sbin/fish, maybe a standard SHELL waitfing for input?<br>
<br></div>The current version of fish is not what you might call a "standard shell", but<br>yes you should get a prompt and the ability to input commands.<br>
<div><br>> Where can I get the appropriate qemu tools ? maybe from source code?<br><br></div>Your qemu appears to be the same version that I am using.<br><br>Cheers,<br><font color="#888888">Andrew<br></font></blockquote>
</div><br>