|
From: | Luisa Posani |
Subject: | [Qemu-ppc] ERROR: Unable to handle kernel paging request for data ... |
Date: | Tue, 11 Jun 2013 11:29:39 +0100 (BST) |
Hi guys I have some problems with qemu-system-ppc. I tried if someone else had the same problem in the community but nothing... I try to explain the problem.. I make a disk image (disk.img) and a kernel (vmlinux) using a buildroot ( Buildroot 2012.11.1). with the following command tries to run the virtual machine.. qemu-system-ppc -hda disk.img -kernel vmlinux -append "rw root=/dev/hda console=ttyS0" -nographic In a PC whit debian qemu work correctly and in another pc I have the follow error >> ============================================================= >> OpenBIOS 1.0 [Feb 27 2010 23:01] >> 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 Feb 27 2010 23:01 >> [ppc] Kernel already loaded (0x01000000 + 0x003df43c) (initrd 0x00000000 + 0x00000000) >> [ppc] Kernel command line: rw root=/dev/hda console=ttyS0 OF stdout device is: /address@hidden/address@hidden/address@hidden/address@hidden Preparing to boot Linux version 2.6.32.5-g9f61c45 (address@hidden) (gcc version 4.6.3 (Buildroot 2012.11.1-g182dc4d-dirty) ) #12 Mon Jun 10 18:14:19 CEST 2013 command line: rw root=/dev/hda console=ttyS0 memory layout at init: memory_limit : 00000000 (16 MB aligned) alloc_bottom : 013e4000 alloc_top : 08000000 alloc_top_hi : 08000000 rmo_top : 08000000 ram_top : 08000000 found display : /address@hidden/QEMU,address@hidden, opening... done copying OF device tree... Building dt strings... Building dt structure... Device tree strings 0x013e5000 -> 0x013e5383 Device tree struct 0x013e6000 -> 0x013e8000 Calling quiesce... returning from prom_init console [ttyS0] enabled, bootconsole disabled Mount-cache hash table entries: 512 NET: Registered protocol family 16 PCI: Probing PCI hardware bio: create slab <bio-0> at 0 vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=mem,locks=none vgaarb: loaded SCSI subsystem initialized Switching to clocksource timebase Switched to NOHz mode on CPU #0 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher msgmni has been set to 245 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pmac_zilog: 0.6 (Benjamin Herrenschmidt <address@hidden>) ttyS0 at MMIO 0x80893020 (irq = 16) is a Z85c30 ESCC - Serial port ttyS1 at MMIO 0x80893000 (irq = 17) is a Z85c30 ESCC - Serial port loop: module loaded MacIO PCI driver attached to Heathrow chipset Uniform Multi-Platform E-IDE driver ide-pmac: Found Apple Heathrow ATA controller (macio), bus ID 0, irq 19 hda: QEMU HARDDISK, ATA DISK drive hda: MWDMA2 mode selected ide0 at 0xc9010000-0xc9010070,0xc9010160 on irq 19 ide-gd driver 1.18 hda: max request size: 512KiB hda: 262144 sectors (134 MB) w/256KiB Cache, CHS=260/255/63 hda: cache flushes supported hda: unknown partition table Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI Copyright (c) 1999-2006 Intel Corporation. e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2 e1000e: Copyright (c) 1999-2008 Intel Corporation. ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 2.0.44-k2 ixgbe: Copyright (c) 1999-2009 Intel Corporation. Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI Copyright (c) 1999-2008 Intel Corporation. mice: PS/2 mouse device common for all mice TCP cubic registered NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 kjournald starting. Commit interval 5 seconds EXT3 FS on hda, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) on device 3:0. Freeing unused kernel memory: 176k init /sbin/initUnable to handle kernel paging request for data at address 0x00000084 Faulting instruction address: 0xc0143f60 Oops: Kernel access of bad area, sig: 11 [#1] PowerMac NIP: c0143f60 LR: c015fed0 CTR: c015febc REGS: c7827be0 TRAP: 0300 Not tainted (2.6.32.5-g9f61c45) MSR: 00009032 <EE,ME,IR,DR> CR: 42004082 XER: 00000000 DAR: 00000084, DSISR: 40000000 TASK = c7825930[1] 'init' THREAD: c7826000 GPR00: c015fed0 c7827c90 c7825930 00000000 c7825930 19bd03e6 ffffffff ffd9da60 GPR08: 00000000 c7874268 00000000 00000001 22004082 100c15a4 05483248 00000020 GPR16: 0138076c 0131c0ac 0131bc3c 0138070c 0131bbb8 00000006 c031faa8 c0382d78 GPR24: 00000000 c0382bf8 c03cca60 00000000 00000000 00000001 c03d0000 00000000 NIP [c0143f60] tty_wakeup+0x14/0xa0 LR [c015fed0] uart_tasklet_action+0x14/0x24 Call Trace: [c7827ca0] [c015fed0] uart_tasklet_action+0x14/0x24 [c7827cb0] [c00328b8] tasklet_action+0xec/0xf0 [c7827cd0] [c0032e50] __do_softirq+0xb4/0x138 [c7827d10] [c0006100] do_softirq+0x58/0x5c [c7827d20] [c0032fc4] irq_exit+0x84/0x88 [c7827d30] [c0006090] do_IRQ+0x98/0xb0 [c7827d50] [c0014c44] ret_from_except+0x0/0x1c --- Exception: 501 at uart_start+0x7c/0x90 LR = uart_start+0x78/0x90 [c7827e20] [c0161194] uart_write+0xb8/0xdc [c7827e50] [c014979c] n_tty_write+0x1c8/0x45c [c7827eb0] [c01443c0] tty_write+0x140/0x274 [c7827ef0] [c00867d8] vfs_write+0xa8/0x158 [c7827f10] [c0086964] sys_write+0x4c/0x90 [c7827f40] [c0014578] ret_from_syscall+0x0/0x40 --- Exception: c01 at 0x48002314 LR = 0x480031c4 Instruction dump: 4bffff64 3c60c033 3863ea64 4817c731 7fe00124 38000000 4bffff4c 9421fff0 7c0802a6 bfc10008 7c7f1b78 90010014 <80030084> 70090020 4082002c 387f00e0 Kernel panic - not syncing: Fatal exception in interrupt Call Trace: [c7827b10] [c0009420] show_stack+0x48/0x168 (unreliable) [c7827b50] [c02c05a0] panic+0x8c/0x158 [c7827ba0] [c0011e60] die+0xfc/0x158 [c7827bc0] [c00187d0] bad_page_fault+0x90/0xc8 [c7827bd0] [c0014a30] handle_page_fault+0x7c/0x80 --- Exception: 300 at tty_wakeup+0x14/0xa0 LR = uart_tasklet_action+0x14/0x24 [c7827c90] [00000000] (null) (unreliable) [c7827ca0] [c015fed0] uart_tasklet_action+0x14/0x24 [c7827cb0] [c00328b8] tasklet_action+0xec/0xf0 [c7827cd0] [c0032e50] __do_softirq+0xb4/0x138 [c7827d10] [c0006100] do_softirq+0x58/0x5c [c7827d20] [c0032fc4] irq_exit+0x84/0x88 [c7827d30] [c0006090] do_IRQ+0x98/0xb0 [c7827d50] [c0014c44] ret_from_except+0x0/0x1c --- Exception: 501 at uart_start+0x7c/0x90 LR = uart_start+0x78/0x90 [c7827e20] [c0161194] uart_write+0xb8/0xdc [c7827e50] [c014979c] n_tty_write+0x1c8/0x45c [c7827eb0] [c01443c0] tty_write+0x140/0x274 [c7827ef0] [c00867d8] vfs_write+0xa8/0x158 [c7827f10] [c0086964] sys_write+0x4c/0x90 [c7827f40] [c0014578] ret_from_syscall+0x0/0x40 --- Exception: c01 at 0x48002314 LR = 0x480031c4 Rebooting in 180 seconds.. I do not understand where I'm wrong. I tried to change options (such as-cpu-machine-M) but can't find proper documentation. Can someone give me some suggestions? qemu version is different : on pc that work fine I have QEMU emulator version 1.1.2 (Debian 1.1.2+dfsg-6a) on pc that work bad I have QEMU PC emulator version 0.12.5 (Debian 0.12.5+dfsg-3squeeze3) PC are update Help me please Luisa |
[Prev in Thread] | Current Thread | [Next in Thread] |