qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Boot Linux kernel through initramfs failed


From: Lin Shen (lshen)
Subject: [Qemu-devel] Boot Linux kernel through initramfs failed
Date: Tue, 8 Jul 2008 11:48:54 -0700

Hi,
 
I'm trying to bring up a zImage.prep Linux kernel on ppc QEMU. I'm using 0.9.1 QEMU and the size of the image is about 20M.
 
The boot failed at the point uncompressing the image with not enough memory error. This is a known problem with normal bringup (not on QEMU), and the fix is to move the link/load to a higher address (e.g., set  CONFIG_BOOT_LOAD to 8M or even higher). I tried the fix but it didn't work. I've also set the qemu_memory_size to a fairly large number (768M). I verified that the boot did work with a small image (~2M), but after I added a 3M file into the image, boot failed again.   
 
 
Here is the log:

Now boot it... (0)

stack: 5bfff80 malloc_base: 0 0x05800000 0x06000000 PREP boot... 100200 100000

loaded at: 00100200 0141AD4C

relocated to: 00800000 01B1AB4C

zimage at: 00805F64 01B117F8

avail ram: 00400000 00800000

Linux/PPC load: console=ttyS0 netdev=9,0x300,eth0 root=/dev/nfs ip=dhcp rw nfsroot=10.0.2.2:/nobackup/mrunpate/ppcroot/nova-latest,port=11114,mport=22225,tcp,v3

Uncompressing Linux...inflate returned FFFFFFFB exit

 

Thanks

Lin Shen

Cisco Systems


reply via email to

[Prev in Thread] Current Thread [Next in Thread]