* kvm: Unknown error 524, Fail to handle apic access vmexit
@ 2008-07-15 12:42 Martin Michlmayr
2008-07-15 15:19 ` Dor Laor
0 siblings, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2008-07-15 12:42 UTC (permalink / raw)
To: kvm
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
I installed a Windows XP SP2 guest on a Debian x86_64 host The
installation itself went fine but kvm aborts when when XP starts
during "Windows XP Setup". XP mentions something with intelppm.sys
(see the attached screenshot) and kvm says:
kvm_run: Unknown error 524
kvm_run returned -524
In dmesg, I see:
[ 8891.352876] Fail to handle apic access vmexit! Offset is 0xf0
This happens with kvm 70, and kernel 2.6.25 and 2.6.26-rc9.
Someone else reported a similar problem before but there was no
response:
http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg12111.html
--
Martin Michlmayr
http://www.cyrius.com/
[-- Attachment #2: win-xp.png --]
[-- Type: image/png, Size: 13374 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kvm: Unknown error 524, Fail to handle apic access vmexit
2008-07-15 12:42 kvm: Unknown error 524, Fail to handle apic access vmexit Martin Michlmayr
@ 2008-07-15 15:19 ` Dor Laor
2008-07-16 3:26 ` Yang, Sheng
0 siblings, 1 reply; 6+ messages in thread
From: Dor Laor @ 2008-07-15 15:19 UTC (permalink / raw)
To: Martin Michlmayr; +Cc: kvm
Martin Michlmayr wrote:
> I installed a Windows XP SP2 guest on a Debian x86_64 host The
> installation itself went fine but kvm aborts when when XP starts
> during "Windows XP Setup". XP mentions something with intelppm.sys
> (see the attached screenshot) and kvm says:
>
> kvm_run: Unknown error 524
> kvm_run returned -524
>
>
It's a FlexPriority bug, while it should be solved, you can disable it
by using kvm-intel module parameter.
> In dmesg, I see:
>
> [ 8891.352876] Fail to handle apic access vmexit! Offset is 0xf0
>
> This happens with kvm 70, and kernel 2.6.25 and 2.6.26-rc9.
>
> Someone else reported a similar problem before but there was no
> response:
> http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg12111.html
>
>
>
> ------------------------------------------------------------------------
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kvm: Unknown error 524, Fail to handle apic access vmexit
2008-07-15 15:19 ` Dor Laor
@ 2008-07-16 3:26 ` Yang, Sheng
2008-07-16 12:38 ` Martin Michlmayr
2008-07-16 13:42 ` Dor Laor
0 siblings, 2 replies; 6+ messages in thread
From: Yang, Sheng @ 2008-07-16 3:26 UTC (permalink / raw)
To: kvm; +Cc: Dor Laor, Martin Michlmayr
On Tuesday 15 July 2008 23:19:07 Dor Laor wrote:
> Martin Michlmayr wrote:
> > I installed a Windows XP SP2 guest on a Debian x86_64 host The
> > installation itself went fine but kvm aborts when when XP starts
> > during "Windows XP Setup". XP mentions something with
> > intelppm.sys (see the attached screenshot) and kvm says:
> >
> > kvm_run: Unknown error 524
> > kvm_run returned -524
>
> It's a FlexPriority bug, while it should be solved, you can disable
> it by using kvm-intel module parameter.
>
Dor, are you sure it's a FlexPriority bug?
If you look at where is the complain, you would find there is a result
of emulate_instruction().
And you will find a clearly "emulation failed (mmio) rip 7cb3d000 ff
ff 8d 85" in the bug tracker Martin metioned above the "Fail to
handle apic access vmexit! Offset is 0xf0"(Spurious Interrupt Vector
Register).
I don't think "ff ff 8d 85" is a vaild opcode for that case.
Maybe it's a regression? The last report is long ago...
Hi Martin, can you show more dmesg here? And if it can be reproduce
stable?
Thanks.
--
regards
Yang, Sheng
> > In dmesg, I see:
> >
> > [ 8891.352876] Fail to handle apic access vmexit! Offset is 0xf0
> >
> > This happens with kvm 70, and kernel 2.6.25 and 2.6.26-rc9.
> >
> > Someone else reported a similar problem before but there was no
> > response:
> > http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg12
> >111.html
> >
> >
> >
> > -----------------------------------------------------------------
> >-------
>
> --
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kvm: Unknown error 524, Fail to handle apic access vmexit
2008-07-16 3:26 ` Yang, Sheng
@ 2008-07-16 12:38 ` Martin Michlmayr
2008-08-06 20:14 ` Martin Michlmayr
2008-07-16 13:42 ` Dor Laor
1 sibling, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2008-07-16 12:38 UTC (permalink / raw)
To: Yang, Sheng; +Cc: kvm, Dor Laor
* Yang, Sheng <sheng.yang@intel.com> [2008-07-16 11:26]:
> Hi Martin, can you show more dmesg here?
It doesn't contain any other messages from kvm. If you still want it,
let me know.
> And if it can be reproduce stable?
I can reproduce this 100%.
Anyway, I just tried 2.6.26 with FlexPriority disabled and now kvm no
longer exits (and there's no "Fail to handle apic access vmexit"
message) but Windows still displays the same blue screen (and
reboots).
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kvm: Unknown error 524, Fail to handle apic access vmexit
2008-07-16 3:26 ` Yang, Sheng
2008-07-16 12:38 ` Martin Michlmayr
@ 2008-07-16 13:42 ` Dor Laor
1 sibling, 0 replies; 6+ messages in thread
From: Dor Laor @ 2008-07-16 13:42 UTC (permalink / raw)
To: Yang, Sheng; +Cc: kvm, Martin Michlmayr
Yang, Sheng wrote:
> On Tuesday 15 July 2008 23:19:07 Dor Laor wrote:
>
>> Martin Michlmayr wrote:
>>
>>> I installed a Windows XP SP2 guest on a Debian x86_64 host The
>>> installation itself went fine but kvm aborts when when XP starts
>>> during "Windows XP Setup". XP mentions something with
>>> intelppm.sys (see the attached screenshot) and kvm says:
>>>
>>> kvm_run: Unknown error 524
>>> kvm_run returned -524
>>>
>> It's a FlexPriority bug, while it should be solved, you can disable
>> it by using kvm-intel module parameter.
>>
>>
>
> Dor, are you sure it's a FlexPriority bug?
>
>
Well, I'm not sure it's the FlexPriority's fault, it's just when it is
disabled it does not happen and I saw the apic
access. It can be miss emulation too.
It happened to me on ~ kvm-69
> If you look at where is the complain, you would find there is a result
> of emulate_instruction().
>
> And you will find a clearly "emulation failed (mmio) rip 7cb3d000 ff
> ff 8d 85" in the bug tracker Martin metioned above the "Fail to
> handle apic access vmexit! Offset is 0xf0"(Spurious Interrupt Vector
> Register).
>
> I don't think "ff ff 8d 85" is a vaild opcode for that case.
>
> Maybe it's a regression? The last report is long ago...
>
> Hi Martin, can you show more dmesg here? And if it can be reproduce
> stable?
>
> Thanks.
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kvm: Unknown error 524, Fail to handle apic access vmexit
2008-07-16 12:38 ` Martin Michlmayr
@ 2008-08-06 20:14 ` Martin Michlmayr
0 siblings, 0 replies; 6+ messages in thread
From: Martin Michlmayr @ 2008-08-06 20:14 UTC (permalink / raw)
To: Yang, Sheng; +Cc: kvm, Dor Laor
* Martin Michlmayr <tbm@cyrius.com> [2008-07-16 15:38]:
> > And if it can be reproduce stable?
> I can reproduce this 100%.
Alex Williams suggested offline to use -cpu pentium3 and indeed with
this option the bug doesn't show up. Does that give you any clue?
--
Martin Michlmayr
http://www.cyrius.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-08-06 20:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 12:42 kvm: Unknown error 524, Fail to handle apic access vmexit Martin Michlmayr
2008-07-15 15:19 ` Dor Laor
2008-07-16 3:26 ` Yang, Sheng
2008-07-16 12:38 ` Martin Michlmayr
2008-08-06 20:14 ` Martin Michlmayr
2008-07-16 13:42 ` Dor Laor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox