From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Hahn Subject: 32 bit Kvm running 32 bit WindowsXp hangs on reboot Date: Fri, 6 Aug 2010 13:49:36 +0200 Message-ID: <201008061349.43211.hahn@univention.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3576956.jnUHzA5viE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.univention.de ([82.198.197.8]:1193 "EHLO mail.univention.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754479Ab0HFL5b (ORCPT ); Fri, 6 Aug 2010 07:57:31 -0400 Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 276131403AEC for ; Fri, 6 Aug 2010 13:49:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 120E71403AED for ; Fri, 6 Aug 2010 13:49:44 +0200 (CEST) Received: from mail.univention.de ([127.0.0.1]) by localhost (slugis.knut.univention.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wwVphqz6LfSZ for ; Fri, 6 Aug 2010 13:49:43 +0200 (CEST) Received: from mammut.knut.univention.de (mail.univention.de [82.198.197.8]) by slugis.knut.univention.de (Postfix) with ESMTPSA id B25CD1403AEC for ; Fri, 6 Aug 2010 13:49:43 +0200 (CEST) Sender: kvm-owner@vger.kernel.org List-ID: --nextPart3576956.jnUHzA5viE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, during some tests with Windows XP 32 bit using KVM-0.12.4 running on a 32 b= it=20 2.6.32 kernel we experienced KVM hangin on reboot: VNC still shows the=20 Windows text mode installer with the blue "Computer will be restartet"=20 screen, but nothing happens. The KVM process is still eating CPU time doing select()s. Using the Qemu=20 monitor I was able to retrieve the following information: (qemu) info registers info registers EAX=3D00000000 EBX=3D00000000 ECX=3D00000000 EDX=3D00000623 ESI=3D00000000 EDI=3D00000000 EBP=3D00000000 ESP=3D00000000 EIP=3D0000fff0 EFL=3D00000002 [-------] CPL=3D0 II=3D0 A20=3D1 SMM=3D0 HLT= =3D0 ES =3D0000 00000000 0000ffff 00009300 CS =3Df000 ffff0000 0000ffff 00009b00 SS =3D0000 00000000 0000ffff 00009300 DS =3D0000 00000000 0000ffff 00009300 =46S =3D0000 00000000 0000ffff 00009300 GS =3D0000 00000000 0000ffff 00009300 LDT=3D0000 00000000 0000ffff 00008200 TR =3D0000 00000000 0000ffff 00008b00 GDT=3D 00000000 0000ffff IDT=3D 00000000 0000ffff CR0=3D60000010 CR2=3D00000000 CR3=3D00000000 CR4=3D00000000 DR0=3D00000000 DR1=3D00000000 DR2=3D00000000 DR3=3D00000000 DR6=3Dffff0ff0 DR7=3D00000000 =46CW=3D037f FSW=3D0000 [ST=3D0] FTW=3D00 MXCSR=3D00000000 =46PR0=3D0000000000000000 0000 FPR1=3D0000000000000000 0000 =46PR2=3D0000000000000000 0000 FPR3=3D0000000000000000 0000 =46PR4=3D0000000000000000 0000 FPR5=3D0000000000000000 0000 =46PR6=3D0000000000000000 0000 FPR7=3D0000000000000000 0000 XMM00=3D00000000000000000000000000000000 XMM01=3D00000000000000000000000000= 000000 XMM02=3D00000000000000000000000000000000 XMM03=3D00000000000000000000000000= 000000 XMM04=3D00000000000000000000000000000000 XMM05=3D00000000000000000000000000= 000000 XMM06=3D00000000000000000000000000000000 XMM07=3D00000000000000000000000000= 000000 As CS:IP=3Df000:fff0 points the the bios reset routine, that looks fine. Th= e=20 reset code also looks fine: (qemu) x /16xb 0x000ffff0 x /16xb 0x000ffff0 00000000000ffff0: 0xea 0x5b 0xe0 0x00 0xf0 0x30 0x36 0x2f 00000000000ffff8: 0x32 0x33 0x2f 0x39 0x39 0x00 0xfc 0xf4 Looking at the status shows the machine to be paused: (qemu) info status info status VM status: paused But strace -p `pidof kvm` shows the KVM to be running. If I do a "cont", kvm prints the following error message: (qemu) cont kvm: unhandled exit ffffffff kvm_run returned -22 Is this a known bug? Can somebody help? Thank you in advance. Philipp =2D-=20 Philipp Hahn Open Source Software Engineer hahn@univention.d= e =20 Univention GmbH Linux for Your Business fon: +49 421 22 232- 0 Mary-Somerville-Str.1 28359 Bremen fax: +49 421 22 232-99 http://www.univention.d= e/ --nextPart3576956.jnUHzA5viE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkxb9tEACgkQYPlgoZpUDjlibACfY0hzOThyhTLv3Ycb0TTzk5Gf yuIAn1O3gkctdL37bQIr4x65leQJbGpE =7aME -----END PGP SIGNATURE----- --nextPart3576956.jnUHzA5viE--