Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-08-06 Thread Martin Michlmayr
* Martin Michlmayr [EMAIL PROTECTED] [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/
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-07-16 Thread Martin Michlmayr
* Yang, Sheng [EMAIL PROTECTED] [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/
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-07-16 Thread Dor Laor

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.

  


--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-07-15 Thread Dor Laor

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/[EMAIL PROTECTED]/msg12111.html

  







--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-07-15 Thread Yang, Sheng
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/[EMAIL PROTECTED]/msg12
 111.html
 
 
 
  -
 ---

 --
 To unsubscribe from this list: send the line unsubscribe kvm in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html