From: Avi Kivity <avi@redhat.com>
To: Johannes Bauer <dfnsonfsduifb@gmx.de>
Cc: kvm@vger.kernel.org, Gleb Natapov <gleb@redhat.com>
Subject: Re: KVM entry failed, hardware error
Date: Sun, 03 Jun 2012 16:43:26 +0300 [thread overview]
Message-ID: <4FCB69FE.80303@redhat.com> (raw)
In-Reply-To: <4FCB6045.1050002@gmx.de>
On 06/03/2012 04:01 PM, Johannes Bauer wrote:
> On 03.06.2012 14:33, Avi Kivity wrote:
>
>>> when trying to install Windows7 in a qemu-kvm 1.0.1 installation on
>>> Gentoo on my host running
>>
>> Is that a 32-bit or 64-bit Windows 7?
>
> 64 bit. But I've also (in despair) tried installing 32 Bit Windows 7,
> with the exact same effect.
>
>>> EAX=00000010 EBX=00000080 ECX=00000000 EDX=00000080
>>> ESI=0025da4a EDI=0007da4a EBP=00001f20 ESP=00000200
>>> EIP=0000009b EFL=00000002 [-------] CPL=3 II=0 A20=1 SMM=0 HLT=0
>>> ES =0020 00000200 0000ffff 00009300
>>> CS =b000 002b0000 0000ffff 0000f300
>>
>> Pre-unrestricted mode hosts require cs.selector (first number) * 16 ==
>> cs.base (second number). This clearly isn't the case here.
Gleb points out that cs.base == gdt.base, which doesn't make a lot of
sense. So some corruption has happened earlier. Please follow
http://www.linux-kvm.org/page/Tracing and post the last few thousand
lines somewhere. Trace a uniprocessor guest if the problem reproduces
that way.
>
> I've checked with vmxcap and my PC indeed does not support unrestricted
> mode. My Laptop (on which the identical image works perfectly) does.
>
>> # rmmod kvm_intel
>> # modprobe kvm_intel emulate_invalid_guest_state=1
>>
>> Warning: experimental code.
>
> Tried it out -- I don't get the error anymore, but qemu just hangs on
> boot with 100% CPU. :-(
Not too surprising, this hasn't been tested in quite a while.
>
>>> Or is
>>> it impossible to run Windows 7 with kvm on a Core Quad (which possibly
>>> doesn't support "Unrestricted Guest")?
>>
>> It should be possible. Did you do anything special with the guest
>> (install any software?) before rebooting? Is this repeatable?
>
> Nothing at all, just a standard installation. Did not even get to the
> point where I *could* install software (it reboots during the
> installation and that's where it doesn't come up anymore).
>
> I even tried to completing the installation on my laptop (which works),
> then copy the image back on my desktop PC: Same error.
That should help the tracing effort.
>
> Any hints on how I could debug the hang with the emulation of invalid
> guest state? Or is there a more recent version (git?) than a 3.3.7
> kernel that I should try out?
3.3.7 should definitely work. Let's see what the traces tell us.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-06-03 13:43 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-03 12:18 KVM entry failed, hardware error Johannes Bauer
2012-06-03 12:33 ` Avi Kivity
2012-06-03 13:01 ` Johannes Bauer
2012-06-03 13:43 ` Avi Kivity [this message]
2012-06-03 16:25 ` Johannes Bauer
2012-06-04 8:53 ` Gleb Natapov
2012-06-04 8:56 ` Avi Kivity
2012-06-04 18:28 ` Johannes Bauer
2012-06-04 18:32 ` Johannes Bauer
2012-06-05 13:59 ` David Ahern
2012-06-06 18:19 ` Johannes Bauer
2012-06-06 15:53 ` Avi Kivity
2012-06-06 18:07 ` Johannes Bauer
2012-06-07 7:12 ` Avi Kivity
2012-06-07 10:03 ` Johannes Bauer
2012-06-07 10:54 ` Avi Kivity
2012-06-07 14:52 ` Avi Kivity
2012-06-07 15:39 ` Johannes Bauer
2012-06-07 17:25 ` Avi Kivity
2012-06-07 19:14 ` Johannes Bauer
2012-06-10 15:19 ` Avi Kivity
2012-06-12 10:23 ` Johannes Bauer
2012-06-12 10:45 ` Avi Kivity
2012-06-07 19:46 ` Johannes Bauer
2012-06-07 19:54 ` Johannes Bauer
2012-06-03 13:04 ` Johannes Bauer
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=4FCB69FE.80303@redhat.com \
--to=avi@redhat.com \
--cc=dfnsonfsduifb@gmx.de \
--cc=gleb@redhat.com \
--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