On Mon, May 23, 2011 at 9:08 PM, Kenneth Salerno kennethsalerno@yahoo.com wrote:
----- Original Message -----
From: Andreas Färber andreas.faerber@web.de To: The OpenBIOS Mailinglist openbios@openbios.org Cc: Sent: Sunday, May 22, 2011 2:56 PM Subject: Re: [OpenBIOS] Getting Closer With Booting AIX? I Would Like to Help Please.
Am 22.05.2011 um 19:37 schrieb Andreas Färber:
Am 25.04.2011 um 19:11 schrieb Andreas Färber:
Am 25.04.2011 um 07:32 schrieb Kenneth Salerno:
==================================================== Booting AIX in QEMU+OpenBIOS (CPU type PowerPC,750) ====================================================
Welcome to AIX. boot image timestamp: 00:39 35/2D The current time and date: 01:10:58 04/25/2011 processor count: 1; memory size: 2047MB; kernel size: 2293829 boot device: cd:\ppc\chrp\bootfile.exe [hangs here...]
I had a version of OpenBIOS on which AIX complains about the 750 and drops back to the prompt.
I'm still seeing the previous behavior on armel host, whereas on ppc64 host using identical OpenBIOS binary and .iso I'm observing the above hang... weird. Rules out an endianness issue.
Hmm, on my OSX/ppc64 system it's being triggered starting with -m 260 (-m 259 last working). Don't have enough memory to cross-check on armel.
Andreas --OpenBIOS http://openbios.org/ Mailinglist: http://lists.openbios.org/mailman/listinfo Free your System - May the Forth be with you
Hi, Andreas. Yes, me too:
Configuration:
OpenBIOS subversion revision 1041 (2011-05-23 13:48:11 EDT) powerpc64-unknown-linux-gnu-gcc 4.6.0, binutils 2.21, glibc 2.13, Linux kernel headers version 2.6.38.2, gmp 5.0.1, mpfr 3.0.1, mpc 0.9 QEMU 0.14.1, MinGW gcc 3.4.4, MinGW zlib 1.2.3-10, Microsoft Windows XP Version 5.1.2600 (sorry, it's my work laptop...) ibmaix.iso = AIX 6.1
OpenBIOS config: KEN <option name="CONFIG_DEBUG_BOOT" type="boolean" value="true"/> --- OLD <option name="CONFIG_DEBUG_BOOT" type="boolean" value="false"/> 14c14 KEN <option name="CONFIG_DEBUG_OFMEM" type="boolean" value="true"/> --- OLD <option name="CONFIG_DEBUG_OFMEM" type="boolean" value="false"/> 42c42 KEN <option name="CONFIG_ISO9660" type="boolean" value="false"/> --- OLD <option name="CONFIG_ISO9660" type="boolean" value="true"/> 47c47 KEN <option name="CONFIG_FSYS_JFS" type="boolean" value="true"/> --- OLD <option name="CONFIG_FSYS_JFS" type="boolean" value="false"/> 52c52 KEN <option name="CONFIG_FSYS_ISO9660" type="boolean" value="true"/> --- OLD <option name="CONFIG_FSYS_ISO9660" type="boolean" value="false"/> 57c57 KEN <option name="CONFIG_DEBUG_FS" type="boolean" value="true"/> --- OLD <option name="CONFIG_DEBUG_FS" type="boolean" value="false"/> 61c61 KEN <option name="CONFIG_RTAS" type="boolean" value="true"/> --- OLD <option name="CONFIG_RTAS" type="boolean" value="false"/> 65c65 KEN <option name="CONFIG_DEBUG_PCI" type="boolean" value="true"/> --- OLD <option name="CONFIG_DEBUG_PCI" type="boolean" value="false"/> 71c71 KEN <option name="CONFIG_DEBUG_IDE" type="boolean" value="true"/> --- OLD <option name="CONFIG_DEBUG_IDE" type="boolean" value="false"/>
QEMU command-line parameters:
./qemu/ppc64-softmmu/qemu-system-ppc64 \ -L ./qemu-$QEMU_VER/pc-bios \ -m 1024 \ -bios ./openbios-devel/obj-ppc64/openbios-qemu.elf \ -drive file=images/aix.img,index=0,media=disk,cache=writeback \ -cdrom images/ibmaix.iso \ -boot d \ -nographic \ -rtc base=localtime,clock=host \ -uuid 17202d0a-45f8-4159-a8e1-78b866f50aa7 \ -serial tcp::9979,server,nowait \ -monitor tcp::9980,server,nowait
Output:
ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 IDE - macio_ide_init: ata-1: [io ports 0x808a0000] IDE - macio_ide_init: drive0 [ATA IDE - macio_ide_init: disk]: QEMU HARDDISK ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 IDE - macio_ide_init: ata-2: [io ports 0x808a1000] IDE - macio_ide_init: drive0 [ATAPI IDE - macio_ide_init: cdrom]: QEMU DVD-ROM ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 IDE - macio_ide_init: ata-3: [io ports 0x808a2000] ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 Cannot manage 'OHCI USB controller' PCI device type 'usb': 106b 3f (c 3 10) 0:f.0 - 106b:3f - /pci@0/pci106b,3f - *** missing pci_dev
ob_pci_encode_unit space=0 dev=15 fn=0 buf=f
=== CHANGED === package path old=/pci@0/pci106b,3f new=/pci@0/pci106b,3f@f pci_set_reg reg 00007800 00000000 00000000 00000000 00000000 02007810 00000000 00000000 00000000 00000100 bridge /pci@0 PCI bus primary=0 secondary=0 subordinate=0 setting bus range for /pci@0 PCI device, package handle fff1fd74 bus primary=0 secondary=0 subordinate=0
============================================================= OpenBIOS 1.0 [May 23 2011 17:31] Configuration device id QEMU version 1 machine id 3 CPUs: 1 Memory: 1024M UUID: 17202d0a-45f8-4159-a8e1-78b866f50aa7 CPU type PowerPC,970FX ob_pci_decode_unit idx=000000003fc5a908 ob_pci_decode_unit idx=000000003fc5a908 addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5aa10 ob_pci_decode_unit idx=000000003fc5aa10 addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5ab38 ob_pci_decode_unit idx=000000003fc5ab38 addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5ac40 ob_pci_decode_unit idx=000000003fc5ac40 addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5ad48 ob_pci_decode_unit idx=000000003fc5ad48 addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5aeb0 ob_pci_decode_unit idx=000000003fc5aeb0 addr=00000000 00000000 00007000 ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5afb8 ob_pci_decode_unit idx=000000003fc5afb8 addr=00000000 00000000 00007000
Welcome to OpenBIOS v1.0 built on May 23 2011 17:31 Trying cd:,\:tbxi...
ob_pci_decode_unit idx=000000003fc5b0e8 ob_pci_decode_unit idx=000000003fc5b0e8 addr=00000000 00000000 00007000 IDE - ob_ide_open: opening channel 1070182148 unit 0 IDE DRIVE @3fc9af04: unit: 0 present: 1 type: 2 media: 5 model: QEMU DVD-ROM nr: 2 cyl: 0 head: 0 sect: 0 bs: 2048 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_block_size: ob_ide_block_size: block size 800 IDE - ob_ide_max_transfer: max_transfer f800 IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fc9ca90 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[snipped by Ken]
Probing for jfs Probing for iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Trying jfs Trying iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Mounted iso9660 Path=//:tbxi IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=23 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=23 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
File not found Trying cd:,\ppc\bootinfo.txt...
ob_pci_decode_unit idx=000000003fc5b368 ob_pci_decode_unit idx=000000003fc5b368 addr=00000000 00000000 00007000 IDE - ob_ide_open: opening channel 1070182148 unit 0 IDE DRIVE @3fc9af04: unit: 0 present: 1 type: 2 media: 5 model: QEMU DVD-ROM nr: 2 cyl: 0 head: 0 sect: 0 bs: 2048 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_block_size: ob_ide_block_size: block size 800 IDE - ob_ide_max_transfer: max_transfer f800 IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fc9ca90 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[snipped by Ken]
Probing for jfs Probing for iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Trying jfs Trying iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Mounted iso9660 Path=/ppc/bootinfo.txt IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=23 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=23 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=87 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=87 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready ob_pci_decode_unit idx=000000003fc5b5d8 ob_pci_decode_unit idx=000000003fc5b5d8 addr=00000000 00000000 00007000 IDE - ob_ide_open: opening channel 1070182148 unit 0 IDE DRIVE @3fc9af04: unit: 0 present: 1 type: 2 media: 5 model: QEMU DVD-ROM nr: 2 cyl: 0 head: 0 sect: 0 bs: 2048 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_block_size: ob_ide_block_size: block size 800 IDE - ob_ide_max_transfer: max_transfer f800 IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fc9ca90 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[snipped by Ken]
Probing for jfs Probing for iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Trying jfs Trying iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Mounted iso9660 Path=/ppc/bootinfo.txt IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=23 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=23 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=87 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=87 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks 4000000 block=349361 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=349361 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[snipped by Ken]
ob_pci_decode_unit idx=000000003fc5b820 ob_pci_decode_unit idx=000000003fc5b820 addr=00000000 00000000 00007000 IDE - ob_ide_open: opening channel 1070182148 unit 0 IDE DRIVE @3fc9af04: unit: 0 present: 1 type: 2 media: 5 model: QEMU DVD-ROM nr: 2 cyl: 0 head: 0 sect: 0 bs: 2048 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_block_size: ob_ide_block_size: block size 800 IDE - ob_ide_max_transfer: max_transfer f800 IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fc9ca90 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[snipped by Ken]
Probing for jfs Probing for iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Trying jfs Trying iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Mounted iso9660 Path=/ppc/chrp/bootfile.exe IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=23 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=23 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=87 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=87 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc48e8 block=88 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=88 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[snipped by Ken]
IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=356944 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready OFMEM: ofmem_claim 0000412c 00000040 00000000 OFMEM: ofmem_map_page_range 00004000 -> 0000000000004000 00001000 mode 00000002 OFMEM: ofmem_claim 0000416c 00ecc600 00000000 OFMEM: ofmem_map_page_range 00004000 -> 0000000000004000 00ecd000 mode 00000002 OFMEM: ofmem_claim 0fe00000 00200000 00000000 OFMEM: ofmem_map_page_range 0fe00000 -> 000000000fe00000 00200000 mode 00000002
Welcome to AIX. boot image timestamp: 00:39 35/2D
ob_pci_encode_unit space=0 dev=14 fn=0 buf=e ob_pci_decode_unit idx=000000003fc5ba68 ob_pci_decode_unit idx=000000003fc5ba68 addr=00000000 00000000 00007000
NULL ihandle The current time and date: 00:00:00 228784/00/0008 processor count: 1; memory size: 1024MB; kernel size: 2293829 boot device: cd:\ppc\chrp\bootfile.exe
ob_pci_decode_unit idx=fffffffffff1fdfc ob_pci_decode_unit idx=fffffffffff1fdfc addr=00000000 00000000 00007000 ob_pci_decode_unit idx=000000003fc5bb08 ob_pci_decode_unit idx=000000003fc5bb08 addr=00000000 00000000 00007000 IDE - ob_ide_open: opening channel 1070182148 unit 0 IDE DRIVE @3fc9af04: unit: 0 present: 1 type: 2 media: 5 model: QEMU DVD-ROM nr: 2 cyl: 0 head: 0 sect: 0 bs: 2048 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_block_size: ob_ide_block_size: block size 800 IDE - ob_ide_max_transfer: max_transfer f800 IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fca1774 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fca1774 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fca1774 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fca1774 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fca1774 block=0 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=0 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready Probing for jfs Probing for iso9660 IDE - ob_ide_read_blocks: ob_ide_read_blocks fffc40e8 block=16 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=16 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready IDE - ob_ide_read_blocks: ob_ide_read_blocks 3fca1774 block=17 n=1 IDE - ob_ide_read_sectors: ob_ide_read_sectors: block=17 sectors=1 IDE - ob_ide_atapi_drive_ready: ob_ide_atapi_drive_ready
[hangs here]
QEMU debugging:
info registers NIP 00000000fff91ac4 LR 00000000fff91aa8 CTR 00000000fff93a00 XER 0000000020000000 MSR 0000000000003032 HID0 0000000060000000 HF 0000000000002000 idx 1 TB 00000001 5028899818 DECR 3561034911 GPR00 000000003fca1764 000000003fdf69e0 00000000fffc8900 000000003fc9e0ac GPR04 00000000fffc2088 000000003fc5bc68 00000000fffc2860 0000000000044200 GPR08 0000000000000002 000000003fc9e0ac 0000000000000024 0000000000000810 GPR12 00000000000088ac 0000000000000000 00000000fffb7839 00000000fffb9293 GPR16 00000000fffb9fae 00000000fffb783c 0000000004000000 00000000fffc16b8 GPR20 00000000fffc1634 00000000fffc8900 00000000fffc1634 00000000fffb7640 GPR24 00000000fffb762e 00000000fffb75ae 00000000fffb7636 00000000fffb763b GPR28 00000000fffb8653 0000000000000027 0000000000000027 000000003fca1774 CR 48000088 [ G L - - - - L L ] RES ffffffffffffffff FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPSCR 00000000 SRR0 00000000fffab188 SRR1 0000000000003032 SDR1 000000003fe00000
(qemu) info registers NIP 00000000fff91ac4 LR 00000000fff91aa8 CTR 00000000fff93a00 XER 0000000020000000 MSR 0000000000003032 HID0 0000000060000000 HF 0000000000002000 idx 1 TB 00000001 5402143624 DECR 3187791105 GPR00 000000003fca1764 000000003fdf69e0 00000000fffc8900 000000003fc9e0ac GPR04 00000000fffc2088 000000003fc5bc68 00000000fffc2860 0000000000044200 GPR08 0000000000000002 000000003fc9e0ac 0000000000000024 0000000000000810 GPR12 00000000000088ac 0000000000000000 00000000fffb7839 00000000fffb9293 GPR16 00000000fffb9fae 00000000fffb783c 0000000004000000 00000000fffc16b8 GPR20 00000000fffc1634 00000000fffc8900 00000000fffc1634 00000000fffb7640 GPR24 00000000fffb762e 00000000fffb75ae 00000000fffb7636 00000000fffb763b GPR28 00000000fffb8653 0000000000000027 0000000000000027 000000003fca1774 CR 48000088 [ G L - - - - L L ] RES ffffffffffffffff FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPSCR 00000000 SRR0 00000000fffab188 SRR1 0000000000003032 SDR1 000000003fe00000
(qemu) x/20i $pc-4 0x00000000fff91ad0: beq- cr7,0xfff91ae4 0x00000000fff91ad4: lwz r10,8(r9) 0x00000000fff91ad8: lwz r11,-8(r31) 0x00000000fff91adc: cmplw cr7,r10,r11 0x00000000fff91ae0: blt+ cr7,0xfff91ac4 0x00000000fff91ae4: std r9,-16(r31) 0x00000000fff91ae8: std r0,0(r3) 0x00000000fff91aec: addi r1,r1,128 0x00000000fff91af0: b 0xfffac288 0x00000000fff91af4: .long 0x0 0x00000000fff91af8: .long 0x1 0x00000000fff91afc: lwz r0,0(r1) 0x00000000fff91b00: mflr r0 0x00000000fff91b04: bl 0xfffac21c 0x00000000fff91b08: mr. r30,r3 0x00000000fff91b0c: stdu r1,-144(r1) 0x00000000fff91b10: mr r29,r4 0x00000000fff91b14: bne+ 0xfff91b2c 0x00000000fff91b18: extsw r3,r4 0x00000000fff91b1c: bl 0xfff885e8
(qemu) info cpus * CPU #0: nip=0x00000000fff91ac4
And by the way, while we're on the subject, can someone please look into this change I always have to make to get OpenBIOS ppc64 to compile? :)
--- arch/ppc/qemu/methods.c.ORIG 2011-05-23 14:00:23.832161400 -0400 +++ arch/ppc/qemu/methods.c 2011-05-23 14:00:36.769661400 -0400 @@ -38,7 +38,7 @@ rtas_instantiate( void ) { ucell physbase = POP(); - ucell s=0x1000, size = (ucell)of_rtas_end - (ucell)of_rtas_start; + ucell s=0x1000, size = (ducell)of_rtas_end - (ducell)of_rtas_start;
I guess this should be something like ptr2cell(of_rtas_end) - ptr2cell(of_rtas_start).