From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 50921] kvm hangs booting Windows 2000 Date: Mon, 26 Nov 2012 20:10:12 +0000 (UTC) Message-ID: <20121126201012.046E511FB6C@bugzilla.kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:59945 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755833Ab2KZUKQ (ORCPT ); Mon, 26 Nov 2012 15:10:16 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A9792056C for ; Mon, 26 Nov 2012 20:10:14 +0000 (UTC) Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217]) by mail.kernel.org (Postfix) with ESMTP id 06647204F8 for ; Mon, 26 Nov 2012 20:10:12 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=50921 --- Comment #14 from Anonymous Emailer 2012-11-26 20:10:11 --- Reply-To: xiaoguangrong@linux.vnet.ibm.com 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. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.