From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Hahn Subject: Re: 32 bit Kvm running 32 bit WindowsXp hangs on reboot Date: Fri, 6 Aug 2010 18:13:03 +0200 Message-ID: <201008061813.08263.hahn@univention.de> References: <201008061349.43211.hahn@univention.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1886908.hzbT0kqmJO"; 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]:2569 "EHLO mail.univention.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755937Ab0HFQNK (ORCPT ); Fri, 6 Aug 2010 12:13:10 -0400 Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 14FEE1403AEC for ; Fri, 6 Aug 2010 18:13:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 0BF971403AED for ; Fri, 6 Aug 2010 18:13:09 +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 hyUw1fF3GZA6 for ; Fri, 6 Aug 2010 18:13:08 +0200 (CEST) Received: from mammut.knut.univention.de (mail.univention.de [82.198.197.8]) by slugis.knut.univention.de (Postfix) with ESMTPSA id A5B961403AEC for ; Fri, 6 Aug 2010 18:13:08 +0200 (CEST) In-Reply-To: <201008061349.43211.hahn@univention.de> Sender: kvm-owner@vger.kernel.org List-ID: --nextPart1886908.hzbT0kqmJO Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello again, I did some more debugging myself: Am Freitag 06 August 2010 13:49:36 schrieb Philipp Hahn: > [... Windows XP hangs on reboot...] =2E.. > If I do a "cont", kvm prints the following error message: > (qemu) cont > kvm: unhandled exit ffffffff > kvm_run returned -22 These two lines are caused by kvm because these functions are called in th= is=20 order: qemu-kvm-0.12.4/qemu-kvm.c#kvm_cpu_exec() qemu-kvm-0.12.4/qemu-kvm.c#kvm_run() qemu-kvm-0.12.4/qemu-kvm.c#handle_unhandled() =2D22 =3D -EINVAL =3D=3D Invalid Argument The ffffffff is from the Kernel: linux-2.6.32.17/arch/x86/kvm/svm.c#vmrun_interception() run->hw.hardware_exit_reason =3D SVM_EXIT_ERR That line is executed because the folloing error occured previous to the li= ne: linux-2.6.32.17/arch/x86/kvm/svm.c#nested_svm_vmrun_msrpm() <- false linux-2.6.32.17/arch/x86/kvm/svm.c#nested_svm_map() <- NULL To me this looks like there's a problem with the virtual memory mapping, bu= t=20 since I know very little about KVMs internal working, I have no idea on how= =20 to proceed. Anybody any idea? Sincerely Philipp PS: As you can see from the 'svm.c', it's on an AMD Athlon(tm) II X2 250=20 Processor stepping 02. =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.de --nextPart1886908.hzbT0kqmJO 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) iEYEABECAAYFAkxcNI8ACgkQYPlgoZpUDjnGcgCeI9KS8Ie01bSRvZCuBRxuSTRC bZEAn2CJQQjn7/POzfau79jQqS58roEM =Wecq -----END PGP SIGNATURE----- --nextPart1886908.hzbT0kqmJO--