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