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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 1BB33C4338F for ; Tue, 17 Aug 2021 09:12:17 +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 564C160524 for ; Tue, 17 Aug 2021 09:12:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 564C160524 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=nongnu.org Received: from localhost ([::1]:41942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFv8p-0001gs-Fj for qemu-devel@archiver.kernel.org; Tue, 17 Aug 2021 05:12:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFv7b-0007wL-M9 for qemu-devel@nongnu.org; Tue, 17 Aug 2021 05:10:59 -0400 Received: from smtp-relay-services-1.canonical.com ([185.125.188.251]:55606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFv7V-0008Iw-TK for qemu-devel@nongnu.org; Tue, 17 Aug 2021 05:10:59 -0400 Received: from loganberry.canonical.com (loganberry.canonical.com [91.189.90.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-relay-services-1.canonical.com (Postfix) with ESMTPSA id 128793F580 for ; Tue, 17 Aug 2021 09:10:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=launchpad.net; s=20210803; t=1629191449; bh=6yHsp86NJ51oWYoFvTfSf7Ki7GRIwEko3FYId/EGmtE=; h=MIME-Version:Content-Type:Date:From:To:Reply-To:References: Message-Id:Subject; b=ZIyZmiEXxdOn77cnwGqFcM32i+SKx1K6skEoEhGPaGa8qWBTyimZP0yFubgsw5a6V UzqGgnWFsYBrqGs9VhpOi8IBaZedKeJzhYr/mgqf6MkuAVMyITdep5c2xB8M6iSA3C KdHjs2QwjXkRNxfqXGv+SDfmDU2qWmkgCejRsDBRdbjf+smcrGBwV0vbwUPmUp5DaN 2NFe7BmH/OB4phVwpiqwtOpUKnECqlwnxbz5XdYOHIg6waIf5XCkZeKqHOphJs1A9G XlAzECqOHlTTgpIwH5TsIvKVPdZBIZTxL1qf3MpSBZ/DzU2uSVFK/RfwwNNce8tQX1 w/VUf5ARilerw== Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 0CA692E8169 for ; Tue, 17 Aug 2021 09:10:49 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Aug 2021 09:01:41 -0000 From: wzis <1846816@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=Won't Fix; 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 wzis X-Launchpad-Bug-Reporter: Leonardo (leohori) X-Launchpad-Bug-Modifier: wzis (wzis) References: <157021536568.1047.12130451733202459497.malonedeb@chaenomeles.canonical.com> Message-Id: <162919090149.18559.7065381056007154474.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="b08a7ac7ee9dae6cca70a44dbdbee2a2b52e9053"; Instance="production" X-Launchpad-Hash: 6b72c841eabd4d85cf908832449cbf31a6a14e28 Received-SPF: pass client-ip=185.125.188.251; envelope-from=noreply@launchpad.net; helo=smtp-relay-services-1.canonical.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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" qemu-system-ppc64 should support AIX 5.3/6.1/7.1. If those OSes don't have virtio, then provide another way which simulates the machine's way to support the disk accessing. --=20 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: Won't Fix 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