From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [Bug 50921] kvm hangs booting Windows 2000 Date: Tue, 27 Nov 2012 04:29:15 +0800 Message-ID: <50B3D11B.9010400@linux.vnet.ibm.com> References: <20121124134416.E71CD11F7E2@bugzilla.kernel.org> <50B3CC97.6000509@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: bugzilla-daemon@bugzilla.kernel.org, kvm@vger.kernel.org, lucio@sulweb.org To: Xiao Guangrong Return-path: Received: from e23smtp01.au.ibm.com ([202.81.31.143]:55320 "EHLO e23smtp01.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754267Ab2KZU3a (ORCPT ); Mon, 26 Nov 2012 15:29:30 -0500 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Nov 2012 06:26:04 +1000 Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qAQKTJFt56295522 for ; Tue, 27 Nov 2012 07:29:19 +1100 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qAQKTIYi032016 for ; Tue, 27 Nov 2012 07:29:19 +1100 In-Reply-To: <50B3CC97.6000509@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Sorry, forgot to CC Lucio Crusca. On 11/27/2012 04:09 AM, Xiao Guangrong wrote: > On 11/24/2012 09:44 PM, bugzilla-daemon@bugzilla.kernel.org wrote: >> https://bugzilla.kernel.org/show_bug.cgi?id=50921 >> >> >> >> >> >> --- Comment #5 from Lucio Crusca 2012-11-24 13:44:16 --- >> Here the first tests results: >> >> vbox modules do not make a difference (tried rmmod vboxpci vboxnetadp >> vboxnetflt vboxdrv and then kvm ...). >> >> The trace.dat is about 60M, I could upload it somewhere, however I tried >> looking at it and I'm reasonably sure it hangs here: >> >> $ trace-cmd report | grep 125\\.332 | tail >> kvm-6588 [000] 125.332264: kvm_entry: vcpu 0 >> kvm-6588 [000] 125.332264: kvm_emulate_insn: 10000:44f8: 75 >> 27 > > Hmm... no 'kvm_exit' message. It looks like the infinite loop is caused by: > > | /* Don't enter VMX if guest state is invalid, let the exit handler > | start emulation until we arrive back to a valid state */ > | if (vmx->emulation_required && emulate_invalid_guest_state) > | return; > > (vmx_vcpu_run in arch/x86/kvm/vmx.c) > > And, i noticed 'ept' is not supported on your box, that means > 'enable_unrestricted_guest' is disabled. I guess something was wrong > when emulate big real mode. > > Could you reload kvm-intel.ko with 'emulate_invalid_guest_state = 0', > and see what will happen. > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >