From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXqwg-0005qu-SI for qemu-devel@nongnu.org; Tue, 26 Jun 2018 12:36:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXqwb-0003gj-Si for qemu-devel@nongnu.org; Tue, 26 Jun 2018 12:35:58 -0400 Received: from indium.canonical.com ([91.189.90.7]:44708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXqwb-0003gH-JQ for qemu-devel@nongnu.org; Tue, 26 Jun 2018 12:35:53 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1fXqwa-0001wX-Ez for ; Tue, 26 Jun 2018 16:35:52 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 624482E80CB for ; Tue, 26 Jun 2018 16:35:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 26 Jun 2018 16:23:22 -0000 From: Uwe Lienig Reply-To: Bug 1471904 <1471904@bugs.launchpad.net> Sender: bounces@canonical.com References: <20150706172738.3886.69660.malonedeb@wampee.canonical.com> <152959184007.27230.621946142209363986.malone@gac.canonical.com> Message-Id: Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 1471904] Re: qemu fails under NeXTStep 3.3 when accessing ROM in SCSI-Adapter am53c974 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Am 21.06.2018 um 16:37 schrieb Thomas Huth: Dear Thomas, the issue is still reproducible. I'm still eager to run this old beast because of an old database application that has not been converted to our new platform. There is an old NeXTStep Black Hardware that is running the sybase database. The frontend runs under NeXTStep intel. Using qemu would allow to remove some old i486 NeXTStep systems. The error looks like: qemu-system-i386: Trying to execute code outside RAM or ROM at 0xc01754a8 This usually means one of the following happened: (1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine) (2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end (3) Your guest kernel has a bug and crashed by jumping off into nowhere This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine. If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point. Execution cannot continue; stopping here. Best regards Uwe > Looking through old bug tickets... can you still reproduce this issue > with the latest version of QEMU? Or could we close this ticket nowadays? > = > = > ** Changed in: qemu > Status: New =3D> Incomplete > -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1471904 Title: qemu fails under NeXTStep 3.3 when accessing ROM in SCSI-Adapter am53c974 Status in QEMU: Incomplete Bug description: I try to do a fresh install of NeXTStep 3.3 on qemu. After all install floppies are successfully read in, the installation shall start, but aborts right away. During installation process the SCSI host adapter is correctly detected. I don't know, if these adapter where equipped with some special ROM. I thought of installing NeXTStep on a SCSI system due to the IDE problems already known under #1276879. If necessary I would use gdb to track more into this. System info: Linux prerow 3.11.10-29-desktop #1 SMP PREEMPT Thu Mar 5 16:24:00 UTC 201= 5 (338c513) x86_64 x86_64 x86_64 GNU/Linux NAME=3DopenSUSE VERSION=3D"13.1 (Bottle)" VERSION_ID=3D"13.1" PRETTY_NAME=3D"openSUSE 13.1 (Bottle) (x86_64)" qemu commandline parameter: /usr/bin/qemu-system-i386 \ -cpu pentium \ -monitor stdio \ -k de \ -vga cirrus \ -m 128 \ -localtime \ -drive \ file=3D.qemu/floppy/3.3_Boot_Disk.floppyimage,format=3Draw,if=3D= floppy,index=3D0 \ -drive \ file=3D.qemu/disk/scsihd-2G.qcow2,format=3Dqcow2,id=3Dscsihd0,if= =3Dnone \ -drive \ file=3D.qemu/cdrom/3.3_InstallCD-NeXTIntel.cdromimage,format=3Dr= aw,id=3Dscsicd0,if=3Dnone \ -net \ none \ -device \ am53c974,id=3DAMD0 \ -device \ scsi-cd,drive=3Dscsicd0,bus=3DAMD0.0,lun=3D0,scsi-id=3D1,physica= l_block_size=3D512,logical_block_size=3D512 \ -device \ scsi-hd,drive=3Dscsihd0,bus=3DAMD0.0,lun=3D0,scsi-id=3D0,removab= le=3Doff,secs=3D125,heads=3D8,cyls=3D4176,product=3D"ST32151N ",vend= or=3D"Seagate ",serial=3D"89683587",ver=3D"2356",physical_block_size=3D512,= logical_block_size=3D512,dpofua=3Doff qemu error message: qemu: fatal: Trying to execute code outside RAM or ROM at 0xc01754a8 EAX=3D000000ff EBX=3D0000fffb ECX=3D000000ff EDX=3D000000a1 ESI=3D00000009 EDI=3D00011010 EBP=3D0000ff84 ESP=3D0000ff6c EIP=3D001754a8 EFL=3D00000007 [-----PC] CPL=3D0 II=3D0 A20=3D1 SMM=3D0 HL= T=3D0 ES =3D0050 00000000 bfffffff 00cb9300 DPL=3D0 DS [-WA] CS =3D0008 c0000000 3fffffff 00c39a00 DPL=3D0 CS32 [-R-] SS =3D0050 00000000 bfffffff 00cb9300 DPL=3D0 DS [-WA] DS =3D0050 00000000 bfffffff 00cb9300 DPL=3D0 DS [-WA] FS =3D0050 00000000 bfffffff 00cb9300 DPL=3D0 DS [-WA] GS =3D0050 00000000 bfffffff 00cb9300 DPL=3D0 DS [-WA] LDT=3D0000 00000000 0000ffff 00008200 DPL=3D0 LDT TR =3D0000 00000000 0000ffff 00008b00 DPL=3D0 TSS32-busy GDT=3D 001c9a58 000000ff IDT=3D 001c9bac 000007ff CR0=3D00000033 CR2=3D00000000 CR3=3D00000000 CR4=3D00000000 = = DR0=3D00000000 DR1=3D00000000 DR2=3D00000000 DR3=3D00000000 = = DR6=3Dffff0ff0 DR7=3D00000400 = = CCS=3D00000001 CCD=3D0000000c CCO=3DINCL = EFER=3D0000000000000000 FCW=3D037f FSW=3D0000 [ST=3D0] FTW=3D00 MXCSR=3D00001f80 FPR0=3D0000000000000000 0000 FPR1=3D0000000000000000 0000 FPR2=3D0000000000000000 0000 FPR3=3D0000000000000000 0000 FPR4=3D0000000000000000 0000 FPR5=3D0000000000000000 0000 FPR6=3D0000000000000000 0000 FPR7=3D0000000000000000 0000 XMM00=3D00000000000000000000000000000000 XMM01=3D000000000000000000000000= 00000000 XMM02=3D00000000000000000000000000000000 XMM03=3D000000000000000000000000= 00000000 XMM04=3D00000000000000000000000000000000 XMM05=3D000000000000000000000000= 00000000 XMM06=3D00000000000000000000000000000000 XMM07=3D000000000000000000000000= 00000000 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1471904/+subscriptions