[Barrelfish-users] why the qemu seems failed
=?GB2312?B?yq/B1g==?=
shilin at aimlab.org
Wed Apr 14 14:42:54 MEST 2010
Hi folks,
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.
Below shows how I compile the Barrelfish:
hardware: Cuo2Duo E6550 2G RAM
1.install Ubuntu 9.10 for x86_32;
$ uname -r
2.6.31-16-generic
2.prepare the REQUIRED TOOLS
change GCC 4.4 to 4.3
sudo apt-get install ghc6
sudo apt-get install libghc6-ghc
(this package is needed, or GCC panic "unknown package: ghc-paths")
3.compile the barrelfish
tar -jxvf barrelfish-20091219.tar.bz2
install and patch the splash2
go to barrelfish src dir
$ mkdir build && cd build
$ ../hake/hake.sh .. x86_64
all is OK, the final output is
"Done!
Generating Makefile...
OK - Hake has bootstrapped. You should now have a Makefile in this
directory, and you can type "make" to build a predefined target.
To change configuration options, edit the Config.hs file in the hake
subdirectory of this directory and run "make rehake".
To change the set of symbolic make targets available (for example, to
build a different set of modules or architectures for your boot image),
edit the local copy of the symbolic_targets.mk in this directory."
$ make
all is OK, the final output is
"cp ../hake/menu.lst ./menu.lst
You've just run the default (all) target for Barrelfish
using Hake. The following modules have been built:
x86_64/sbin/bcast x86_64/sbin/barriers x86_64/sbin/ring_barriers
x86_64/sbin/bench x86_64/sbin/bfscope x86_64/sbin/bindtest
x86_64/sbin/bomp_benchmark_cg x86_64/sbin/bomp_benchmark_ft
x86_64/sbin/bomp_benchmark_is x86_64/sbin/chips x86_64/sbin/datagatherer
x86_64/sbin/driver_msd x86_64/sbin/e1000n x86_64/sbin/echoserver
x86_64/sbin/ehci x86_64/sbin/elver x86_64/sbin/fbdemo x86_64/sbin/fish
x86_64/sbin/hpet x86_64/sbin/init x86_64/sbin/ipi_bench x86_64/sbin/loadgen
x86_64/sbin/loadgen_1core x86_64/sbin/lpc_kbd x86_64/sbin/lpc_timer
x86_64/sbin/lrpc_bench x86_64/sbin/lwip_generator x86_64/sbin/lwip_loopback
x86_64/sbin/mem_affinity x86_64/sbin/mem_serv x86_64/sbin/memtest
x86_64/sbin/monitor x86_64/sbin/multicast x86_64/sbin/nfstest
x86_64/sbin/pc_bench x86_64/sbin/pc_bench_noload x86_64/sbin/pci
x86_64/sbin/pixels x86_64/sbin/router x86_64/sbin/serial x86_64/sbin/skb
x86_64/sbin/slideshow x86_64/sbin/spantest x86_64/sbin/splash_barnes
x86_64/sbin/splash_radiosity x86_64/sbin/sqlite x86_64/sbin/testconcurrent
x86_64/sbin/testerror x86_64/sbin/testpbuf x86_64/sbin/tickrate
x86_64/sbin/tsc_bench x86_64/sbin/urpc_latency
x86_64/sbin/urpc_latency_cache x86_64/sbin/urpc_throughput
x86_64/sbin/urpc_send x86_64/sbin/urpc_receive x86_64/sbin/usb_manager
x86_64/sbin/vbe x86_64/sbin/vmkitmon x86_64/sbin/webserver
x86_64/sbin/yield_test x86_64/sbin/cpu
If you want to change this target, edit the file called
'symbolic_targets.mk' in your build directory."
4.test barrelfish
$make sim ARCH=x86_64
when I firsh run this, an error "no qemu-system-x86_64 found" popped up
in cmd line. So....
$ apt-get install qemu-kvm
$ qemu-system-x86_64 --version
QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) 2003-2008
Fabrice Bellard
(I notice there is no qemu-system-i386 in this package, which is used to
build the barrelfish for x86_32. The README say the QEMU 0.10 is needed)
Now I run the "make sim ARCH=x86_64" again, then the program go into a
dead loop like this:
(I did not change anything else, except the memtest appended in the
menu.lst)
$ 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
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 Booting 'Chain-load /menu.lst from TFTP'
root (nd)
Filesystem type is tftp, using whole disk
configfile (nd)/menu.lst
TFTP error 1 (File not found)
[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]
module /x86_64/sbin/init
[Multiboot-module @ 0x1d1000, 0x11f3ba bytes]
module /x86_64/sbin/mem_serv
[Multiboot-module @ 0x2f1000, 0x105493 bytes]
module /x86_64/sbin/monitor
[Multiboot-module @ 0x3f7000, 0x1978c4 bytes]
module /x86_64/sbin/chips
[Multiboot-module @ 0x58f000, 0x1032a9 bytes]
module /x86_64/sbin/skb
[Multiboot-module @ 0x693000, 0x8934f3 bytes]
module /x86_64/sbin/pci
[Multiboot-module @ 0xf27000, 0x2f339a bytes]
module /x86_64/sbin/serial
[Multiboot-module @ 0x121b000, 0x104bc6 bytes]
module /x86_64/sbin/fish
[Multiboot-module @ 0x1320000, 0x1a9821 bytes]
module /x86_64/sbin/memtest
[Multiboot-module @ 0x14ca000, 0xf2992 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 Booting 'Chain-load /menu.lst from TFTP'
root (nd)
Filesystem type is tftp, using whole disk
configfile (nd)/menu.lst
TFTP error 1 (File not found)
[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]
module /x86_64/sbin/init
[Multiboot-module @ 0x1d1000, 0x11f3ba bytes]
module /x86_64/sbin/mem_serv
[Multiboot-module @ 0x2f1000, 0x105493 bytes]
module /x86_64/sbin/monitor
[Multiboot-module @ 0x3f7000, 0x1978c4 bytes]
module /x86_64/sbin/chips
[Multiboot-module @ 0x58f000, 0x1032a9 bytes]
module /x86_64/sbin/skb
[Multiboot-module @ 0x693000, 0x8934f3 bytes]
module /x86_64/sbin/pci
[Multiboot-module @ 0xf27000, 0x2f339a bytes]
module /x86_64/sbin/serial
[Multiboot-module @ 0x121b000, 0x104bc6 bytes]
module /x86_64/sbin/fish
[Multiboot-module @ 0x1320000, 0x1a9821 bytes]
module /x86_64/sbin/memtest
[Multiboot-module @ 0x14ca000, 0xf2992 bytes]
Found Realtek 8029 at 0xc100, ROM address 0x0000
Probing...[Realtek 8029]
NE2000 base 0xc100, addr ............................omit,again and again,
never stop!
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? Where can I
get the appropriate qemu tools ? maybe from source code?
--
Regards,
Lin Shi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20100414/c8bd148a/attachment-0001.html
More information about the Barrelfish-users
mailing list