kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
To: bugzilla-daemon@bugzilla.kernel.org
Cc: kvm@vger.kernel.org
Subject: Re: [Bug 50921] kvm hangs booting Windows 2000
Date: Tue, 27 Nov 2012 04:09:59 +0800	[thread overview]
Message-ID: <50B3CC97.6000509@linux.vnet.ibm.com> (raw)
In-Reply-To: <20121124134416.E71CD11F7E2@bugzilla.kernel.org>

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 <lucio@sulweb.org>  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.


  reply	other threads:[~2012-11-26 20:10 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-24  8:07 [Bug 50921] New: kvm hangs booting Windows 2000 bugzilla-daemon
2012-11-24  8:07 ` [Bug 50921] " bugzilla-daemon
2012-11-24  8:21 ` bugzilla-daemon
2012-11-24  8:22 ` bugzilla-daemon
2012-11-24  8:52 ` bugzilla-daemon
2012-11-24 11:25 ` bugzilla-daemon
2012-11-24 13:44 ` bugzilla-daemon
2012-11-26 20:09   ` Xiao Guangrong [this message]
2012-11-26 20:29     ` Xiao Guangrong
2012-11-24 14:05 ` bugzilla-daemon
2012-11-24 14:57 ` bugzilla-daemon
2012-11-24 18:50 ` bugzilla-daemon
2012-11-24 19:09 ` bugzilla-daemon
2012-11-24 19:10 ` bugzilla-daemon
2012-11-24 19:12 ` bugzilla-daemon
2012-11-26 12:09 ` bugzilla-daemon
2012-11-26 13:13 ` bugzilla-daemon
2012-11-26 20:10 ` bugzilla-daemon
2012-11-26 20:29 ` bugzilla-daemon
2012-11-26 22:14 ` bugzilla-daemon
2012-11-27  8:22 ` bugzilla-daemon
2012-12-05 14:15 ` bugzilla-daemon
2012-12-05 14:18 ` bugzilla-daemon
2012-12-09 20:46 ` bugzilla-daemon
2013-02-02 22:32 ` bugzilla-daemon
2013-02-03  8:43 ` bugzilla-daemon
2013-02-03  8:48 ` bugzilla-daemon
2013-03-05  0:52 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B3CC97.6000509@linux.vnet.ibm.com \
    --to=xiaoguangrong@linux.vnet.ibm.com \
    --cc=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).