Hi all, I'm trying to boot AIX 6.1 image (PowerPC_POWER7) on Ubuntu 16.04 and I'm stuck in the following error. Any help will be appreciate it! Thanks!!
# qemu-system-ppc64 --version
QEMU emulator version 4.1.0
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
# ls -ltr
total 8750396
-rw-r--r-- 1 root root 4274997248 Oct 4 18:33 AIX.vol1.iso
-rw-r--r-- 1 root root 4293888000 Oct 4 18:45 AIX.vol2.iso
-rw-r--r-- 1 root root 391485440 Oct 4 18:50 AIX.vol3.iso
# qemu-img create -f qcow2 AIX61.img 500G
Formatting 'AIX61.img', fmt=qcow2 size=536870912000 cluster_size=65536 lazy_refcounts=off refcount_bits=16
# ls -ltr
total 8750596
-rw-r--r-- 1 root root 4274997248 Oct 4 18:33 AIX.vol1.iso
-rw-r--r-- 1 root root 4293888000 Oct 4 18:45 AIX.vol2.iso
-rw-r--r-- 1 root root 391485440 Oct 4 18:50 AIX.vol3.iso
-rw-r--r-- 1 root root 204608 Oct 5 13:22 AIX61.img
# qemu-system-ppc64 -cpu POWER7 -machine pseries -m 8G -serial mon:stdio \
> -drive file=/qemu/AIX61.img,if=none,id=drive-virtio-disk0 \
> -cdrom /qemu/AIX.vol1.iso -d guest_errors -prom-env "input-device=/vdevice/vty@71000000" \
> -prom-env "output-device=/vdevice/vty@71000000" -prom-env "boot-command=dev / 0 0 s\" ibm,aix-diagnostics\" property boot cdrom:\ppc\chrp\bootfile.exe -s verbose"
VNC server running on ::1:5901
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-sbbc=workaround
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-ibs=workaround
SLOF **********************************************************************
QEMU Starting
Build Date = Jul 3 2019 12:26:14
FW Version = git-ba1ab360eebe6338
Press "s" to enter Open Firmware.
Populating /vdevice methods
Populating /vdevice/vty@71000000
Populating /vdevice/nvram@71000001
Populating /vdevice/l-lan@71000002
Populating /vdevice/v-scsi@71000003
SCSI: Looking for devices
8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+"
Populating /pci@800000020000000
00 0000 (D) : 1234 1111 qemu vga
00 0800 (D) : 1033 0194 serial bus [ usb-xhci ]
Installing QEMU fb
Scanning USB
XHCI: Initializing
USB Keyboard
USB mouse
No console specified using screen & keyboard
User selected input-device console: /vdevice/vty@71000000
User selected output-device console: /vdevice/vty@71000000
Welcome to Open Firmware
Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
This program and the accompanying materials are made available
under the terms of the BSD License available at
http://www.opensource.org/licenses/bsd-license.php
Trying to load: -s verbose from: /vdevice/v-scsi@71000003/disk@8200000000000000:\ppc\chrp\bootfile.exe ... Successfully loaded
-------------------------------------------------------------------------------
Welcome to AIX.
boot image timestamp: 14:07:16 10/04/2019
processor count: 1; memory size: 8192MB; kernel size: 27880376
boot device: /vdevice/v-scsi@71000003/disk@8200000000000000:\ppc\chrp\bootfile.exe
8000FFEC bytes of free memory remain at address 7FFF0014
load address: 0x00004000 aixmon size: 0x000CB400 boot image size: 0x00F8E2D0
AIX get_ppp return code: 0xFFFFFFFE
The temporary memory region list is at 1 percent capacity.
The temporary IPLCB is at 1 percent capacity.
The IPLCB address is 0x0FFF9000
name offset size
ipl_cb_and_bit_map 00000000 ......00005308
bit_map........... 00000584 ......00000006
ipl_info.......... 00000180 ......00000024
system_info....... 000001A4 ......000000BC
processor_info.... 00000260 ......00000148
lpar_id_info...... 000003A8 ......00000088
dr_proc_info...... 00000430 ......00000008
dr_mem_info....... 00000438 ......00000028
lpar_info......... 00000460 ......00000014
segment page...... 00000480 ......00000028
processor page.... 000004A8 ......00000010
res_asso_id....... 000004B8 ......00000050
res_asso_group.... 00000508 ......0000002C
asso_ref_pnt...... 00000534 ......00000010
residual.......... 00000614 ......00004CF4
fwad_info......... 00000544 ......00000040
region address region length attr label
0 0x0000000000000000 0x000000000FFF7000 0x01 0x01
1 0x000000000FFF7000 0x0000000000002000 0x01 0x03
2 0x000000000FFF9000 0x0000000000006000 0x01 0x02
3 0x000000000FFFF000 0x0000000000000014 0x00 0x05
4 0x000000000FFFF014 0x00000001F0000FEC 0x01 0x01
5 0x0000000200000000 0xFFFFFFFE00000000 0x00 0x07
----------------------------
0000012C bytes of free memory remain at address 00004000
compressed kernel addr: CF400; sz: 7F5CC7; uncompressed kernel addr: E55F400
name source dest size flags
.data EF1F640 2000000 B6D5E0 1
basecfg 0 0 0 0
ramfs 8C50D0 EF20000 6CD053 1
.text E55F640 CF400 9C0000 1
.ldr FA8CC20 A90000 8D32F 1
symtab FE23E48 B1E000 1D2170 1
kern. hdr E55F400 0 240 1
.bss 0 2B6D5E0 1502A20 2
entry_point: 0x000CF428
kernel debugger setting: enabled
-------------------------------------------------------------------------------
StarLED{814}
AIX Version 6.1
exec(/etc/init){1,0}
INIT: EXECUTING /sbin/rc.boot 1
exec(/usr/bin/sh,-c,/sbin/rc.boot 1){1114146,1}
exec(/sbin/rc.boot,/sbin/rc.boot,1){1114146,1}
+ PHASE=1
+ + bootinfo -p
exec(/usr/sbin/bootinfo,-p){1179684,1114146}
PLATFORM=chrp
+ [ ! -x /usr/lib/boot/bin/bootinfo_chrp ]
+ [ 1 -eq 1 ]
+ 1> /usr/lib/libc.a
+ init -c unlink /usr/lib/boot/bin/!(*_chrp)
exec(/etc/init,-c,unlink /usr/lib/boot/bin/!(*_chrp)){1179686,1114146}
+ chramfs -t
exec(/usr/sbin/chramfs,-t){1179688,1114146}
+ init -c unlink /usr/sbin/chramfs
+ 1> /dev/null
exec(/etc/init,-c,unlink /usr/sbin/chramfs){1179690,1114146}
+ + bootinfo -t
exec(/usr/sbin/bootinfo,-t){1179692,1114146}
BOOTYPE=3
+ [ 0 -ne 0 ]
+ [ -z 3 ]
+ unset pdev_to_ldev undolt native_netboot_cfg
+ unset disknet_odm_init config_ATM
+ /usr/lib/methods/showled 0x510 DEV CFG 1 START
exec(/usr/lib/methods/showled,0x510,DEV CFG 1 START){1179694,1114146}
+ cfgmgr -f -v
exec(/usr/sbin/cfgmgr,-f,-v){1179696,1114146}
cfgmgr is running in phase 1
----------------
Time: 0 LEDS: 0x538
Invoking top level program -- "/etc/methods/defsys"
exec(/bin/sh,-c,/etc/methods/defsys ){1245222,1179696}
exec(/etc/methods/defsys){1245222,1179696}
exec(/bin/sh,-c,/usr/lib/methods/define_rspc -n -c sys -s node -t chrp){1310760,1245222}
exec(/usr/lib/methods/define_rspc,-n,-c,sys,-s,node,-t,chrp){1310760,1245222}
Time: 0 LEDS: 0x539
Return code = 0
***** stdout *****
sys0
*** no stderr ****
----------------
Attempting to configure device 'sys0'
Time: 0 LEDS: 0x811
Invoking /usr/lib/methods/cfgsys_chrp -1 -l sys0
exec(/bin/sh,-c,/usr/lib/methods/cfgsys_chrp -1 -l sys0){1245224,1179696}
Number of running methods: 1
exec(/usr/lib/methods/cfgsys_chrp,-1,-l,sys0){1245224,1179696}
Trying to read invalid spr 280 (0x118) at 0000000000545e3c
LED{A20}
Trying to read invalid spr 280 (0x118) at 0000000000527c8c
Illegal Trap Instruction Interrupt in Kernel
04151A74 tweqi r0,0 r0=0
KDB(0)>