From: Conny Seidel Subject: kvm-unit test behavior Date: Wed, 17 Oct 2012 18:08:15 +0200 Message-ID: <20121017180815.02736e98.conny.seidel@amd.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/.Vi06A35fGg2XjBgTTBlnMr"; protocol="application/pgp-signature" Cc: "Roedel, Joerg" To: Return-path: Received: from co1ehsobe003.messaging.microsoft.com ([216.32.180.186]:11412 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753267Ab2JQQIO (ORCPT ); Wed, 17 Oct 2012 12:08:14 -0400 Received: from mail108-co1 (localhost [127.0.0.1]) by mail108-co1-R.bigfish.com (Postfix) with ESMTP id 1BAD32000E9 for ; Wed, 17 Oct 2012 16:08:13 +0000 (UTC) Received: from CO1EHSMHS023.bigfish.com (unknown [10.243.78.232]) by mail108-co1.bigfish.com (Postfix) with ESMTP id 3DB42880083 for ; Wed, 17 Oct 2012 16:08:11 +0000 (UTC) Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp02.amd.com (Axway MailGate 3.8.1) with ESMTP id 2218FC80B8 for ; Wed, 17 Oct 2012 11:08:06 -0500 (CDT) Sender: kvm-owner@vger.kernel.org List-ID: --Sig_/.Vi06A35fGg2XjBgTTBlnMr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, we are seeing something strange when running the KVM unit-tests on recent KVM and "older" CPUs (K8 Family). ------------[ cut here ]------------ WARNING: at arch/x86/kvm/../../../virt/kvm/kvm_main.c:1325 kvm_release_pfn_= clean+0x5b/0x60 [kvm]() Hardware name: WARTHOG Modules linked in: tun nfsv4 auth_rpcgss nfsv3 nfs_acl nfs fscache lockd su= nrpc bridge stp llc ipv6 amd8111e mii powernow_k8 freq_table kvm_amd kvm se= rio_raw pcspkr k8temp amd64_edac_mod edac_core edac_mce_amd i2c_amd756 amd_= rng i2c_amd8111 sg shpchp ext3 jbd mbcache sd_mod crc_t10dif sr_mod cdrom s= ata_sil ata_generic pata_acpi pata_amd radeon ttm drm_kms_helper drm i2c_al= go_bit i2c_core dm_mirror dm_region_hash dm_log dm_mod Pid: 2084, comm: qemu-kvm Not tainted 3.6.0.20121010_ecefbd9-1.el6.osrc.x86= _64 #1 Call Trace: [] warn_slowpath_common+0x7f/0xc0 [] warn_slowpath_null+0x1a/0x20 [] kvm_release_pfn_clean+0x5b/0x60 [kvm] [] paging64_fetch+0x1eb/0x370 [kvm] [] ? __gfn_to_pfn+0x6f/0x80 [kvm] [] ? gfn_to_pfn_async+0x1a/0x20 [kvm] [] ? try_async_pf+0x4b/0x1f0 [kvm] [] paging64_page_fault+0x293/0x2d0 [kvm] [] ? kfree+0x2c/0x120 [] kvm_mmu_page_fault+0x27/0xd0 [kvm] [] pf_interception+0xa4/0x170 [kvm_amd] [] handle_exit+0x146/0x2d0 [kvm_amd] [] ? kvm_get_cr8+0x1d/0x30 [kvm] [] ? svm_vcpu_run+0x425/0x530 [kvm_amd] [] vcpu_enter_guest+0x39c/0x6b0 [kvm] [] __vcpu_run+0x1e8/0x320 [kvm] [] kvm_arch_vcpu_ioctl_run+0x9a/0x1f0 [kvm] [] kvm_vcpu_ioctl+0x4a8/0x590 [kvm] [] do_vfs_ioctl+0x8c/0x340 [] sys_ioctl+0xa1/0xb0 [] ? __audit_syscall_exit+0x3d6/0x430 [] system_call_fastpath+0x16/0x1b ---[ end trace bc3b9055849b3814 ]--- The failing tests are svm and svm-disable, which seem to loop forever once started. Begin logfile: enabling apic enabling apic paging enabled cr0 =3D 80010011 cr3 =3D 7fff000 cr4 =3D 20 null: PASS vmrun: PASS vmrun intercept check: PASS cr3 read intercept: PASS enabling apic enabling apic paging enabled cr0 =3D 80010011 cr3 =3D 7fff000 cr4 =3D 20 null: PASS vmrun: PASS vmrun intercept check: PASS cr3 read intercept: PASS # goes on until the test is killed. Anyone seen this behavior? -- Kind regards. Conny Seidel ################################################################## # Email : conny.seidel@amd.com GnuPG-Key : 0xA6AB055D # # Fingerprint: 17C4 5DB2 7C4C C1C7 1452 8148 F139 7C09 A6AB 055D # ################################################################## # Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach # # General Managers: Alberto Bozzo # # Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen # # HRB Nr. 43632 # ################################################################## --Sig_/.Vi06A35fGg2XjBgTTBlnMr Content-Type: application/pgp-signature; name="signature.asc" Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlB+1/AACgkQ8Tl8CaarBV0e4ACg3CE3j0jJoL7eXQYR0AcviW2c hL4AnRGvaU/J0It0TvRyYYeavigtWdSH =VEpo -----END PGP SIGNATURE----- --Sig_/.Vi06A35fGg2XjBgTTBlnMr--