我在 x86 系统上安装了 qemu-0.13.0。我从以下网址下载了 debian-powerpc 映像http://people.debian.org/~aurel32/qemu/powerpc/并使用这个命令
$qemu-system-ppc -hda debian_lenny_powerpc_small.qcow2 -nographic
这是客户操作系统 (debian-507-powerpc (2.6.26-1-powerpc) ) 的 cpuinfo
processor : 0
cpu : 740/750
temperature : 62-64 C (uncalibrated)
clock : 1000.000000MHz
revision : 3.1 (pvr 0008 0301)
bogomips : 33.02
timebase : 16600733
platform : PowerMac
model : Power Macintosh
machine : Power Macintosh
motherboard : AAPL,PowerMac G3 MacRISC
detected as : 49 (PowerMac G3 (Silk))
pmac flags : 00000000
pmac-generation : OldWorld
之后,我在该客户操作系统上安装了 qemu-0.13.0,并尝试在其上运行相同的 debian-powerpc 映像。
$qemu-system-ppc -hda debian_lenny_powerpc_small.qcow2 -nographic
启动过程卡住了:
>> =============================================================
>> OpenBIOS 1.0 [Dec 6 2009 11:39]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on Dec 6 2009 11:39
Second-stage QUIK loader
Welcome to quik. mate is good.
Debian GNU/Linux PowerPCchosen/bootargs = Linux
boot: Linux
initrd imagename = /initrd.img, mem_size: 7168568
initrd_start:
Starting at 510000, , 13004800
OF stdout device is: /pci@80000000/mac-io@4/escc@13000/ch-b@13000
Preparing to boot Linux version 2.6.37-rc6+ (user@user) (gcc version 3.4.5) #1 Tue Jan 11 22:10:00 IST 2011
command line: root=/dev/hda3 ro
memory layout at init:
memory_limit : 00000000 (16 MB aligned)
alloc_bottom : 00ea3000
alloc_top : 08000000
alloc_top_hi : 08000000
rmo_top : 08000000
ram_top : 08000000
found display : /pci@80000000/QEMU,VGA@1, opening... done
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x00ea4000 -> 0x00ea43b0
Device tree struct 0x00ea5000 -> 0x00ea7000
Calling quiesce...
returning from prom_init
谢谢,
答案1
当您使用 -nographic 时,您无法看到启动进度。
从“从prom_init返回”到“Debian GNU/Linux 6.0 debian-powerpc ttyPZ0”通常需要很长时间。