From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: Booting up an old Windows 3.1 harddisk image Date: Tue, 18 Oct 2011 15:07:35 +0200 Message-ID: <4E9D7A17.9060107@siemens.com> References: <20124.53132.479840.952606@quad.stoffel.home> <4E9D57FE.6050903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: John Stoffel , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from goliath.siemens.de ([192.35.17.28]:34410 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757773Ab1JRNHs (ORCPT ); Tue, 18 Oct 2011 09:07:48 -0400 In-Reply-To: <4E9D57FE.6050903@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 2011-10-18 12:42, Avi Kivity wrote: > On 10/18/2011 02:59 AM, John Stoffel wrote: >> Hi Guys, >> >> I'm not a subscriber to the kvm mailing list, so please copy me in >> your replies. >> >> I've got an old image of an i486 disk running (I think!) Windows 3.1 >> which I want to bring up and play with, just to make sure I can use >> it. =20 >> >> > file hda-caroline486.image=20 >> hda-caroline486.image: x86 boot sector, Microsoft Windows XP mbr= ; >> partition 1: ID=3D0x6, active, starthead 1, startsector 17, 2549= 83 >> sectors, code offset 0x33 >> >> I basically just dd'd the entire disk into a file. I can mount it >> using a loop device and then examine the partitions, so I think it's >> fine from that viewpoint. >> >> My server is a Debian 5.0 box, running on AMD Quad Core CPU, 8gb of >> RAM. =20 >=20 > What's the host kernel version? >=20 >> I've got other KVM guests running just fine. =20 >> >> So I tried to use the following to boot the image: >> >> > sudo qemu -no-acpi -no-hpet -cpu 486 -hda hda-caroline486.image = -m \ >> 128 -vga std -vnc quad:44 >=20 > No need to sudo. >=20 >> >> And I get the following in a VNC screen: >> >> Starting SeaBIOS (version 0.5.1-20100616_222654-volta) >> >> Booting from Hard Disk... >> >> HIMEM: DOS XMS Driver, Version 3.07 - 02/14/92 >> Extended Memory Specification (XMS) Version 3.0 >> Copyright 1988-1992 Microsoft Corp. >> >> Installed A20 handler number 2. >> 64K High Memory Area is available. >> >> >> MICROSOFT Expanded Memory Manager 386 Version 4.44 >> Copyright Microsoft Corporation 1986, 1991 >> >> _ >> >> >> And that's it. So it looks like I'm missing a driver or something >> here. Do I need to define keyboard and mouse for this sucker? The >> hardware is long gone, but I think it was a Gateway. Total guess. >> >=20 > It's probably a bug in kvm. Try collecting a complete trace as in > http://www.linux-kvm.org/page/Tracing and posting it here, maybe > something will jump out. >=20 > Also try out -no-kvm. A shot from the hips: J=F6rg and I are just hunting down 16 bit task switch issues on AMD hosts. If this problem may be related can be checked by loading kvm-amd with npt=3D0, ie. disabling nested paging. Jan --=20 Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux