qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] AIX 7.1 boot sys0 error on qemu-ppc64


From: Greg Kurz
Subject: Re: [Qemu-ppc] AIX 7.1 boot sys0 error on qemu-ppc64
Date: Mon, 17 Sep 2018 11:48:15 +0200

On Sat, 15 Sep 2018 23:39:29 +0200
Pavel Jirout <address@hidden> wrote:

> Hello with the following Qemu version:
> QEMU emulator version 3.0.50 (v3.0.0-614-g19b599f766-dirty)
> Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
> 
> There is a crash in sys0 related query during boot
> 
> exec(/usr/lib/methods/cfgsys_chrp,-1,-l,sys0){1245224,1179696}
> Trying to read invalid spr 280 (0x118) at 0000000000557bbc
> LED{A20}
> Trying to read invalid spr 280 (0x118) at 0000000000539e4c
> Illegal Trap Instruction Interrupt in Kernel
> 058B2AAC      tweqi    r0,0                r0=0
> 

AFAIK, you need a very recent AIX release to run under QEMU:

https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/aixnutanix/nutanix_kickoff.htm

Older versions of AIX don't have virtio drivers and require things that
are only implemented in PowerVM (IBM's closed-source virtualisation
solution).

Even with a lot of hacking, it is unlikely that you can get this
running... I recommend you try again with the AIX version mentioned
in the page above.

> 
> Full trace below
> 
> 
> address@hidden:/home/user/KVM/AIX# qemu-system-ppc64 -cpu POWER8 -machine
> pseries -m 2048 -serial stdio   -d unimp,guest_errors -drive
> file=disk.img,if=none,id=drive-virtio-disk0 -device virtio-scsi-pci,id=scsi
> -device scsi-hd,drive=drive-virtio-disk0  -cdrom aix71.01.iso  -prom-env
> boot-command='boot cdrom: -s verbose'
> 
> 
> SLOF **********************************************************************
> QEMU Starting
>  Build Date = Jul  2 2018 16:18:22
>  FW Version = git-9b7ab2fa020341de
>  Press "s" to enter Open Firmware.
> 
> Populating /vdevice methods
> Populating /vdevice/address@hidden
> Populating /vdevice/address@hidden
> Populating /vdevice/address@hidden
> Populating /vdevice/address@hidden
>        SCSI: Looking for devices
>           8200000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      2.5+"
> Populating /address@hidden
>                      00 0000 (D) : 1234 1111    qemu vga
>                      00 0800 (D) : 1033 0194    serial bus [ usb-xhci ]
>                      00 1000 (D) : 1af4 1004    virtio [ scsi ]
> Populating /address@hidden/address@hidden
>        SCSI: Looking for devices
>           100000000000000 DISK     : "QEMU     QEMU HARDDISK    2.5+"
> Installing QEMU fb
> 
> 
> 
> Scanning USB
>   XHCI: Initializing
>     USB Keyboard
>     USB mouse
> No console specified using screen & keyboard
> 
>   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/address@hidden
> /address@hidden: ...   Successfully loaded
> 
> AIX Unimplemented SPAPR hcall 0x00000000000000ec
> Unimplemented SPAPR hcall 0x000000000000f003
> 
> StarUnimplemented SPAPR hcall 0x00000000000000ec
> LED{814}
> 
> AIX Version 7.1
> exec(/etc/init){1,0}
> Unimplemented SPAPR hcall 0x00000000000002b8
> 
> INIT: EXECUTING /sbin/rc.boot 1
> exec(/usr/bin/sh,-c,/sbin/rc.boot 1){1114146,1}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> exec(/sbin/rc.boot,/sbin/rc.boot,1){1114146,1}
> Unimplemented SPAPR hcall 0x00000000000002b8
> + PHASE=1
> + Unimplemented SPAPR hcall 0x00000000000002b8
> + bootinfo -p
> exec(/usr/sbin/bootinfo,-p){1179684,1114146}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> 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}
> Unimplemented SPAPR hcall 0x00000000000002b8
> + chramfs -t
> Unimplemented SPAPR hcall 0x00000000000002b8
> exec(/usr/sbin/chramfs,-t){1179688,1114146}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> + init -c unlink /usr/sbin/chramfs
> + 1> /dev/null
> exec(/etc/init,-c,unlink /usr/sbin/chramfs){1179690,1114146}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> + + bootinfo -t
> exec(/usr/sbin/bootinfo,-t){1179692,1114146}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> 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}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> + cfgmgr -f -v
> exec(/usr/sbin/cfgmgr,-f,-v){1179696,1114146}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> 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}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> exec(/etc/methods/defsys){1245222,1179696}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> exec(/bin/sh,-c,/usr/lib/methods/define_rspc -n -c sys -s node -t
> chrp){1310760,1245222}
> Unimplemented SPAPR hcall 0x00000000000002b8
> exec(/usr/lib/methods/define_rspc,-n,-c,sys,-s,node,-t,chrp){1310760,1245222}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Time: 0    LEDS: 0x539
> Return code = 0
> ***** stdout *****
> sys0
> 
> *** no stderr ****
> Unimplemented SPAPR hcall 0x00000000000002b8
> ----------------
> 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
> Unimplemented SPAPR hcall 0x00000000000002b8
> exec(/usr/lib/methods/cfgsys_chrp,-1,-l,sys0){1245224,1179696}
> Unimplemented SPAPR hcall 0x00000000000002b8
> Unimplemented SPAPR hcall 0x00000000000002b8
> Trying to read invalid spr 280 (0x118) at 0000000000557bbc
> LED{A20}
> Trying to read invalid spr 280 (0x118) at 0000000000539e4c
> Illegal Trap Instruction Interrupt in Kernel
> 058B2AAC      tweqi    r0,0                r0=0
> KDB(0)> exit
> WARNING: System Crashed!!
> To continue this command, you will lose the debug session!!
> Do you want to continue? (y/[n]):> y
> Warning DABR write failed
> LED{FFF}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]