Liu, Thanks for the suggestions and your time trying out on an 8548...tried 
your qemu binary ran into the same result (hang) - which meant most likely it 
was not a qemu issue... looked around again realized it was my bad - had built 
the guest kernel with the KVM and VIRT config options. 

Rebuilt the guest without any KVM/VIRT options, saw the kernel boot up - saw a 
hang when it was trying to mount the ramdisk - increased some free space on the 
ramdisk - which helped for it to mount rootfs and boot further up - saw a 
kernel panic for out of memory - increased the memsize for guest from 64 to 128 
did not see the kernel panic again - did not see the login prompt initially - 
changed to ttyS0 in ltib as you had mentioned - booted all the way up and able 
to login to the guest from my telnet session

I'll try to get networking configured next..thanks for all your help - 
appreciate that.

-rahul

-----Original Message-----
From: Liu Yu-B13201 [mailto:yu....@freescale.com] 
Sent: Tuesday, March 17, 2009 10:46 PM
To: Rahul Kulkarni; Hollis Blanchard
Cc: kvm-ppc@vger.kernel.org
Subject: RE: qemu ppcemb illegal instruction 


Rahul,

I tested qemu on 8548 target today. It works fine.

Here is my command:
./qemu-system-ppcemb -enable-kvm -m 64 -nographic -M mpc8544ds -kernel
uImage -initrd ramdisk -L . -append "root=/dev/ram rw
console=ttyS0,115200" -serial tcp::4444,server

You also can remove "-serial tcp::4444,server", but will lose the
monitor.

It's werid you got no output. You can send me the qemu binary so that I
can try to find the problem.
And don't forget to tell me the latest qemu commit, so that I can know
the code.


> -----Original Message-----
> From: Rahul Kulkarni [mailto:rkulk...@force10networks.com] 
> Sent: Wednesday, March 18, 2009 5:33 AM
> To: Liu Yu-B13201; Hollis Blanchard
> Cc: kvm-ppc@vger.kernel.org
> Subject: RE: qemu ppcemb illegal instruction 
 
> 
> /bin # ./qemu-system-ppcemb -enable-kvm -m 64 -nographic -M 
> mpc8544ds -kernel /
> tmp/uImage.8544 -initrd /tmp/rootfs.ext2.gz.small -L 

You need to gunzip rootfs.ext2.gz.small

> /usr/local/share/qemu -app
> end "root=/dev/ram rw" -serial tcp::4444,server
> QEMU waiting for connection on: tcp:0.0.0.0:4444,server
> 

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to