$ qemu/qemu/ppc-softmmu/qemu-system-ppc -M prep -kernel zImage.prep linux-ppc.img -use-gtk -serial stdio PPC Open Hack'Ware BIOS for qemu version 0.3 Build 2004-07-07 08:55:18 Copyright 2003-2004 Jocelyn Mayer Memory size: 144 MB. Booting from device m Probing PCI devices Check PCI bridges Cannot manage 'PCI host bridge' PCI device type 'pci': 1057 4801 (6 0 0) Check PCI devices Cannot manage 'PCI host bridge' PCI device type 'pci': 1057 4801 (6 0 0) Found PCI device 1234:1111 0-96 3 0 => 'Qemu VGA' 'display' 'Qemu VGA' 'VGA' (05809558) register 'Qemu VGA' 'display' 'VGA' 'Qemu VGA' 0x0000000c in '' 0x38000000 Done 00000000 0581f7ac Map PCI device 0:96 0 to f0000008 00400000 (memory) Set VGA to f0000000 Set display 'Qemu VGA' path to '/8@38000000' PCI probe done (0581f61c) ERROR: BUG catched... No floating point exception nip=0x05807428 msr=0x00000000 dar=0x00000000 dsisr=0x00000000 Stopping execution register PCI host 'pci-bridge' 'pci' '' 'PREP Host PCI Bridge - Motorola Raven' register 'pci-bridge' 'pci' '' 'PREP Host PCI Bridge - Motorola Raven' 0x80000000 in 'device-tree' 0xffffffff Done 582b000 582b900 register pci device 'Qemu VGA' 0000000c 'display' 'VGA' 'Qemu VGA' register 'Qemu VGA' 'display' 'VGA' 'Qemu VGA' 0x0000000c in 'pci-bridge' 0x80000000 Done 582b900 582ba00 PPC Open Hack'Ware BIOS for qemu version 0.4.1 Build 2005-04-06 21:21:03 Copyright 2003-2005 Jocelyn Mayer Memory size: 144 MB. Booting from device m ide0: drive 0: Hard Disk ERROR: OF_property_copy cannot get property 'hd' for aliases ide0: drive 1: CD-ROM ERROR: OF_property_copy cannot get property 'cd' for aliases ERROR: ATAPI TEST_UNIT_READY : status 41 != 0x40 ide1: drive 0: none ide1: drive 1: none Probe partitions for device c New bootfile Fix bootfile Probe partitions for device m ERROR: No MSDOS signature (0 0 0 0) New bootfile ERROR: OF_property_copy cannot get property 'alias' for boot device: 5833100 image 1000000 size 1174007 New bootfile New bootfile Fix bootfile boot device: 5833100 ERROR: Found boot partition : 5833380 582e8c0 ERROR: Not a MACH-O file ERROR: Not an Apple CHRP boot file ! dest 100000 entry 00000200 => 100200 Load raw file into memory at 100000 1174007 (0011e9f7) 0 (00000000) Boot: 00040000 f7e91100 00000000 00000000 Bootinfos at : 300000 Now boot it... (0) stack: 5bfff70 malloc_base: 0 0x05800000 0x06000000 PREP boot... 100200 100000 loaded at: 00100200 00226DE8 relocated to: 00800000 00926BE8 board data at: 05838000 0583EA0C relocated to: 0091D14C 00923B58 zimage at: 00805BB0 0091C7A2 avail ram: 00400000 00800000 Linux/PPC load: console=ttyS0,9600 console=tty0 root=/dev/hda6 ide0=0x1f0,0x3f6,13 ide1=0x170,0x376,13 netdev=9,0x300,eth0 init=/sbin/init Uncompressing Linux...done. Now booting the kernel Memory BAT mapping: BAT2=128Mb, BAT3=16Mb, residual: 0Mb Total memory = 144MB; using 512kB for hash table (at c0300000) Linux version 2.4.26 (ronald@Athena) (version gcc 3.3.2) #1 lun jui 12 23:52:52 CEST 2004 PReP architecture On node 0 totalpages: 36864 zone(0): 36864 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,9600 console=tty0 root=/dev/hda6 ide0=0x1f0,0x3f6,13 ide1=0x170,0x376,13 netdev=9,0x300,eth0 init=/sbin/init ide_setup: ide0=0x1f0,0x3f6,13 ide_setup: ide1=0x170,0x376,13 time_init: decrementer frequency = 100.000201 MHz Console: colour dummy device 80x25 Calibrating delay loop... 1592.52 BogoMIPS Memory: 142264k available (1708k kernel code, 752k data, 312k init, 0k highmem) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Setting PCI interrupts for a "Mesquite cPCI (MCP750)" PCI: Cannot allocate resource region 0 of device 00:0c.0 PCI: moved device 00:0c.0 resource 0 (1208) to 0 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd udf: registering filesystem vga16fb: mapped to 0xf00a0000 Console: switching to colour frame buffer device 80x30 fb0: VGA16 VGA frame buffer device Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16450 rtc: I/O resource 70 is not free. Generic RTC Driver v1.07 Floppy drive(s): fd0 is 2.88M FDC 0 is a S82078B ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com) Last modified Nov 1, 2000 by Paul Gortmaker NE*000 ethercard probe at 0x300: 52 54 00 12 34 56 eth0: NE2000 found at 0x300, using IRQ 9. RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Probing IDE interface ide0... hda: QEMU HARDDISK, ATA DISK drive hdb: QEMU CD-ROM, ATAPI CD/DVD-ROM drive Probing IDE interface ide1... Probing IDE interface ide2... ide2: Wait for ready failed before probe ! Probing IDE interface ide3... ide3: Wait for ready failed before probe ! ide0 at 0x1f0-0x1f7,0x3f6 on irq 13 hda: attached ide-disk driver. hda: 1024000 sectors (524 MB) w/256KiB Cache, CHS=1015/16/63 hdb: attached ide-cdrom driver. hdb: ATAPI 4X CD-ROM drive, 512kB Cache Uniform CD-ROM driver Revision: 3.12 Partition check: hda: unknown partition table Macintosh non-volatile memory driver v1.0 mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 16384 bind 32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NET4: AppleTalk 0.18a for Linux NET4.0 hda6: bad access: block=2, count=2 end_request: I/O error, dev 03:06 (hda), sector 2 EXT2-fs: unable to read superblock cramfs: wrong magic hda6: bad access: block=0, count=1 end_request: I/O error, dev 03:06 (hda), sector 0 FAT: unable to read boot sector hda6: bad access: block=0, count=1 end_request: I/O error, dev 03:06 (hda), sector 0 FAT: unable to read boot sector hda6: bad access: block=64, count=2 end_request: I/O error, dev 03:06 (hda), sector 64 isofs_read_super: bread failed, dev=03:06, iso_blknum=16, block=32 hda6: bad access: block=2, count=1 end_request: I/O error, dev 03:06 (hda), sector 2 HFS+-fs: unable to read VHDR or MDB hda6: bad access: block=2, count=1 end_request: I/O error, dev 03:06 (hda), sector 2 hfs_fs: unable to read block 0x00000002 from dev 03:06 hfs_fs: Unable to read superblock hda6: bad access: block=0, count=1 end_request: I/O error, dev 03:06 (hda), sector 0 hfs_fs: unable to read block 0x00000000 from dev 03:06 hfs_fs: Unable to read block 0. You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|old|hp|nextstep|netxstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old hda6: bad access: block=16, count=2 end_request: I/O error, dev 03:06 (hda), sector 16 hda6: bad access: block=0, count=2 end_request: I/O error, dev 03:06 (hda), sector 0 romfs: unable to read superblock hda6: bad access: block=64, count=4 end_request: I/O error, dev 03:06 (hda), sector 64 hda6: bad access: block=1248, count=4 end_request: I/O error, dev 03:06 (hda), sector 1248 hda6: bad access: block=1024, count=4 end_request: I/O error, dev 03:06 (hda), sector 1024 UDF-fs: No partition found (1) Kernel panic: VFS: Unable to mount root fs on 03:06 <0>Rebooting in 180 seconds..