Received: from [140.186.70.92] (port=55008 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ2eM-00031U-PG for qemu-devel@nongnu.org; Sat, 01 Jan 2011 09:41:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ2eL-00049G-0C for qemu-devel@nongnu.org; Sat, 01 Jan 2011 09:41:42 -0500 Received: from adelie.canonical.com ([91.189.90.139]:34221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZ2eK-000496-NQ for qemu-devel@nongnu.org; Sat, 01 Jan 2011 09:41:40 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PZ2eH-0006es-QI for ; Sat, 01 Jan 2011 14:41:38 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 511882E811E for ; Sat, 1 Jan 2011 14:41:14 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 01 Jan 2011 14:35:25 -0000 From: Aurelien Jarno Sender: bounces@canonical.com References: <20100711040906.24289.42006.malonedeb@palladium.canonical.com> Message-Id: <20110101143525.20064.24050.launchpad@palladium.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 604166] Re: QEMU Floating Point Exception and Crash while Emulating "Cirrus Logic 5446 PCI" in Win98 Reply-To: Bug 604166 <604166@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Status: New =3D> In Progress -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/604166 Title: QEMU Floating Point Exception and Crash while Emulating "Cirrus Logic 544= 6 PCI" in Win98 Status in QEMU: In Progress Bug description: My build of QEMU i386-softmmu crashes with a "floating point exception" u= pon Win98SE startup when "Cirrus Logic 5446 PCI" display adapter properties= are set above 16 colors and/or 640 x 480". My Setup: I've been working to configure Windows 98 SE for video games in QEMU (initi= ally Grim Fandango and Masters of Orion 2, later Planescape Torment and oth= ers) on a Mac OS X 10.6.4 host (gcc version 4.2.1). I have reproduced this = bug when building from both 0.12.50-trunk and 0.12.4-stable. My builds and = installation are standard except that they use the more recent SeaBIOS-6.0 = binary as $PREFIX/share/qemu/seabios.bin in order to work around the issue = described in Bug #521994. These are my current startup parameters: > #! /bin/bash - > = > GUESTNAME=3Dwin98-base.qemu > VMHOME=3D/vol/$GUESTNAME > RAMSIZE=3D512 > #DRIVES=3D"$DRIVES -drive file=3D$VMHOME/fs/fda,if=3Dfloppy" > DRIVES=3D"$DRIVES -drive file=3D$VMHOME/fs/hdd.qcow2,if=3Dide,media=3Ddi= sk" > #DRIVES=3D"$DRIVES -drive file=3D$VMHOME/ssw/win98se-oem.iso,if=3Dide,me= dia=3Dcdrom" > BOOTDISK=3Dc > = > qemu\ > -M pc -cpu pentium3 -m $RAMSIZE\ > -vga cirrus -soundhw pcspk,es1370 -net nic,model=3Dne2k_pci\ > -localtime\ > -monitor stdio\ > -name $GUESTNAME\ > -boot $BOOTDISK\ > $DRIVES The State of QEMU/Win98 Emulation: The initial Windows 98 installation does not properly detect most PCI devic= es (ie. es1370, ne2k_pci). There is a solution to this involving a manual r= einstallation of the device named "Plug and Play Bios (fail safe)" with the= win98 "PCI Bus" driver, as described here . This process reveals many previously undetected de= vices and is currently necessary for win98 sound and networking support. Unlike sound and network support, advanced graphics support is available wi= thout the PCI Bus workaround via a display adapter identified as "Cirrus Lo= gic" in Device Manager. **This "Cirrus Logic" adapter does support higher r= esolutions and color depth, but does not work properly in some applications= .** For instance, when running the intro to Grim Fandango, many colors are = shown incorrectly and the system slows and freezes. One of the devices reve= aled and installed after the PCI Bus workaround is the "Cirrus Logic 5446 P= CI" display adapter, and I had hoped that configuring this device might sol= ve these problems. The Bug: Device Manager lists "Cirrus Logic 5446 PCI" alongside the previously disco= vered "Cirrus Logic" device, but due to resource conflicts, "Cirrus Logic 5= 446 PCI" is effectively disabled until "Cirrus Logic" is either disabled or= uninstalled. Unfortunately, disabling "Cirrus Logic" and using "Cirrus Log= ic 5446 PCI" only makes things worse, for using any display settings higher= than 16 colors and 640x480 will always cause a floating point exception on= startup. This crash occurs after the login prompt and during the Windows 9= 8 startup chime. I hope that someone will be able to make sense of all of this. Until then, D. Johnston