[Barrelfish] [Barrelfish-users] why the qemu seems failed

Andrew Baumann andrewb at inf.ethz.ch
Wed Apr 14 15:30:06 MEST 2010


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


More information about the Barrelfish-users mailing list