From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C2D7C47089 for ; Thu, 27 May 2021 11:02:16 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD536613C3 for ; Thu, 27 May 2021 11:02:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD536613C3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:55912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmDmI-0005Wb-LG for qemu-devel@archiver.kernel.org; Thu, 27 May 2021 07:02:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmDh0-0002mY-0l for qemu-devel@nongnu.org; Thu, 27 May 2021 06:56:46 -0400 Received: from indium.canonical.com ([91.189.90.7]:40852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmDgl-0005wg-Of for qemu-devel@nongnu.org; Thu, 27 May 2021 06:56:44 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.93 #5 (Debian)) id 1lmDgg-0007jA-J3 for ; Thu, 27 May 2021 10:56:26 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id B82F72E8189 for ; Thu, 27 May 2021 10:56:25 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 27 May 2021 10:46:26 -0000 From: David <1846816@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=Incomplete; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: aix ppc X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: chin21 germanenfreund gkurz leohori philmd th-huth X-Launchpad-Bug-Reporter: Leonardo (leohori) X-Launchpad-Bug-Modifier: David (germanenfreund) References: <157021536568.1047.12130451733202459497.malonedeb@chaenomeles.canonical.com> Message-Id: <162211238628.3536.14011353534092428889.malone@gac.canonical.com> Subject: [Bug 1846816] Re: Booting error on AIX 6.1 "Illegal Trap Instruction Interrupt in Kernel"" X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="802ed26817d1cdd050553dbe99cc8a3cad1a3bc7"; Instance="production" X-Launchpad-Hash: 33c60860083940b610709854b71a2a3218dfa061 Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1846816 <1846816@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hello, I just wanted to confirm that this bug also affects me and that it also appears in qemu 6.0.0. When I try to boot up AIX 7.1 (and 6.1 as well), it prints the following li= ne multiple times during boot: Unimplemented SPAPR hcall 0x00000000000002b8 followed by crash: Illegal Trap Instruction Interrupt in Kernel 05861AAC tweqi r0,0 r0=3D0 I executed the following command to start qemu: qemu-system-ppc64 -cpu POWER8 -machine pseries,max-cpu-compat=3Dpower7 -m 4= 096 -d unimp -serial stdio -drive file=3Dhdisk0.qcow2,if=3Dnone,id=3Ddrive-= virtio-disk0 -device virtio-scsi-pci,id=3Dscsi -device scsi-hd,drive=3Ddriv= e-virtio-disk0 -cdrom /mnt/hgfs/Images/AIX7.1/install-1.iso -prom-env "boot= -command=3Dboot cdrom:" -prom-env "input-device=3D/vdevice/vty@71000000" -p= rom-env "output-device=3D/vdevice/vty@71000000" Since I am not the original author of this issue, I am not able to change its state to New again Sincerely David -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1846816 Title: Booting error on AIX 6.1 "Illegal Trap Instruction Interrupt in Kernel"" Status in QEMU: Incomplete Bug description: # ls -ltr total 8750584 -rw-rw-r-- 1 linux linux 4274997248 Oct 4 18:33 AIX.vol1.iso -rw-rw-r-- 1 linux linux 4293888000 Oct 4 18:45 AIX.vol2.iso -rw-rw-r-- 1 linux linux 391485440 Oct 4 18:50 AIX.vol3.iso -rw-r--r-- 1 root root 204608 Oct 4 19:00 AIX61.img # qemu-system-ppc64 -cpu POWER8,compat=3Dpower7 -machine pseries -m 8192 = -serial mon:stdio \ > -drive file=3D/qemu/AIX61.img,if=3Dnone,id=3Ddrive-virtio-disk0 \ > -device virtio-scsi-pci,id=3Dscsi -device scsi-hd,drive=3Ddrive-virtio-= disk0 \ > -cdrom /qemu/AIX.vol1.iso \ > -prom-env boot-command=3D'boot cdrom: -s verbose' VNC server running on ::1:5900 qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-ib= s=3Dworkaround SLOF ********************************************************************= ** QEMU Starting =C2=A0Build Date =3D Jul 3 2019 12:26:14 =C2=A0FW Version =3D git-ba1ab360eebe6338 =C2=A0Press "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 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SCSI: Looking for devices =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A08200000000000= 000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" Populating /pci@800000020000000 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 0000 (D) : 1234 11= 11 qemu vga =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 0800 (D) : 1033 01= 94 serial bus [ usb-xhci ] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A000 1000 (D) : 1af4 10= 04 virtio [ scsi ] Populating /pci@800000020000000/scsi@2 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SCSI: Looking for devices =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01000000000000= 00 DISK : "QEMU QEMU HARDDISK 2.5+" Installing QEMU fb Scanning USB =C2=A0=C2=A0XHCI: Initializing =C2=A0=C2=A0=C2=A0=C2=A0USB Keyboard =C2=A0=C2=A0=C2=A0=C2=A0USB mouse No console specified using screen & keyboard =C2=A0=C2=A0Welcome to Open Firmware =C2=A0=C2=A0Copyright (c) 2004, 2017 IBM Corporation All rights reserved. =C2=A0=C2=A0This program and the accompanying materials are made available =C2=A0=C2=A0under the terms of the BSD License available at =C2=A0=C2=A0http://www.opensource.org/licenses/bsd-license.php Trying to load: -s verbose from: /vdevice/v-scsi@71000003/disk@8200000000= 000000: ... Successfully loaded qemu-system-ppc64: Couldn't negotiate a suitable PVR during CAS AIX 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=3D1 + + bootinfo -p exec(/usr/sbin/bootinfo,-p){1179684,1114146} PLATFORM=3Dchrp + [ ! -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=3D3 + [ 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){1= 310760,1245222} exec(/usr/lib/methods/define_rspc,-n,-c,sys,-s,node,-t,chrp){1310760,1245= 222} Time: 0 LEDS: 0x539 Return code =3D 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} LED{A20} Illegal Trap Instruction Interrupt in Kernel 04151A74 tweqi r0,0 r0=3D0 KDB(0)> To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1846816/+subscriptions