* Re: [ Re: unhandled vm exit: 0x80000021 vcpu_id 0]
[not found] <5449202.1223421374856.JavaMail.root@ps1>
@ 2008-10-09 14:58 ` Sheng Yang
0 siblings, 0 replies; 3+ messages in thread
From: Sheng Yang @ 2008-10-09 14:58 UTC (permalink / raw)
To: p.quida@tiscali.it; +Cc: kvm
[-- Attachment #1: Type: text/plain, Size: 5620 bytes --]
On Wed, Oct 8, 2008 at 7:16 AM, p.quida@tiscali.it <p.quida@tiscali.it> wrote:
> Hi Yang,
> I often hibernate my Linux, so may be that the loadmodule message is
> missing in the dmesg because it is too old.
>
> I have rebooted the system and I attach a "clean" dmesg.
Yeah, now I can see the load info of kvm-76.
>
> What means "Windows always trig a apic write error before Jan's patch
> make them slience"? which Windows?
At least Windows XP like to do this, now for upstream, Jan's patch clean it.
>
> However, when I try ro run qemu/kvm using the winxp image, no error
> happens in the dmesg. I can see the error as output of the qemu/kvm
> command.
It's indeed hard to debug with so limit info... I still suggest you to
fill a bug first.
And if you have time, please try the attached patch and update info.
--
regards
Yang, Sheng
>
> Reagrds,
> Pier Luigi
>
>
> -------- Original Message --------
> Subject: Re: unhandled vm exit: 0x80000021 vcpu_id 0
> Date: Fri, 3 Oct 2008 08:57:31 +0800
> From: Sheng Yang <yasker@gmail.com>
> To: p.quida@tiscali.it <p.quida@tiscali.it>
> CC: yasker@gmail.com, kvm@vger.kernel.org
> References: <25010601.1222985780681.JavaMail.root@ps1>
>
>
>
> On Fri, Oct 03, 2008 at 12:16:20AM +0200, p.quida@tiscali.it wrote:
>>
>> Hi,
>> I understand the "particularity" (checkpoint) of this case.
>
> Hi Pier
>
> Thanks for your understanding. :)
>>
>> Any way, in the attachment the dmesg log and the output of the
> dmesg
>> command.
>
> But it's strange that I almost can't see anything correlated with kvm
> in the
> log. If you built kvm as a modules(I suppose you did it because you
> tried
> many versions), at least something like "load kvm module xxx" should
> appear(and Windows always trig a apic write error before Jan's patch
> make
> them slience).
>
> Is this the dmesg when the error was happening?
>
> --
> regards
> Yang, Sheng
>
>>
>> thanks for your helpfulness.
>>
>> Regards.
>>
>> Sheng Yang wrote:
>> > On Mon, Sep 29, 2008 at 6:18 PM, p.quida@tiscali.it <p.
> quida@tiscali.
>> it> wrote:
>> >
>> >> Hi,
>> >> I have successfully installed windows XP SP2 on kvm. After the
>> >> installation I have launched the setup of "Checkpoint -
> Pointsec"
>> for
>> >> the entire disk encryption.
>> >>
>> >
>> > Hi Pier
>> >
>> > Can you issue a bug for this? But sadly "Checkpoint" is a
> commercial
>> > software, we may not deal with it directly and immediately.
>> >
>> >
>> >> The first step of installation was run successfully, but when the
>> >> system reboots and "Pointsec" loads the initial code, the
> following
>> >> error happens:
>> >>
>>
> ======================================================================================
>> >> unhandled vm exit: 0x80000021 vcpu_id 0
>> >> rax 0000000000000007 rbx 0000000000001490 rcx 0000000000000000
> rdx
>> >> 00000000000019a0
>> >> rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000080
> rbp
>> >> 00000000000096bf
>> >> r8 0000000000000000 r9 0000000000000000 r10 0000000000000000
> r11
>> >> 0000000000000000
>> >> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000
> r15
>> >> 0000000000000000
>> >> rip 000000000000002a rflags 00023202
>> >> cs 14a2 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 9 l 0 g 0 avl
> 0)
>> >> ds 19a0 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl
> 0)
>> >> es 1a31 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl
> 0)
>> >> ss 1a29 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 1 l 0 g 0 avl
> 0)
>> >> fs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl
> 0)
>> >> gs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl
> 0)
>> >> tr 0058 (00201ffa/0000ffff p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl
> 0)
>> >> ldt 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0
> avl
>> 0)
>> >> gdt 200000/1dd8
>> >> idt 201df0/188
>> >> cr0 80000019 cr2 0 cr3 1440000 cr4 0 cr8 0 efer 0
>> >>
>> >
>> > What's this... CR0.PE clear, CR0.PG set... And segment register
> also
>> > strange. May be some real emulation wrong...
>> >
>> >
>> >> Aborted
>> >>
>>
> ======================================================================================
>> >> I am able to boot this system (image) using qemu (with kqemu
>> enabled
>> >> for user code), but not using kvm.
>> >> I have also tried with the options: -no-kvm-irqchip -no-kvm-pit -
>> no-
>> >> acpi without success. Only the -no-kvm option works.
>> >> I have tried these kvm releases: from 65 to 76; and these kernel
>> >> (vanilla) releases: from 2.6.23.1 to 2.6.26.5.
>> >>
>> >
>> > Thanks for your patient...
>> >
>> >> My computer is a Dell D630 equipped with Intel(R) Core(TM)2 Duo
> CPU
>> >> T7300 @ 2.00GHz
>> >> The HOST Linux distributions used are: Fedora 8/9 for i386, and
>> Fedora
>> >> 9 for x86_64.
>> >>
>> >
>> > Can you show dmesg as well? That's also helps.
>> >
>> >
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________________________
>>
>> Con Tiscali Adsl 8 Mega navighi SENZA LIMITI e GRATIS PER I PRIMI
> TRE MESI. In seguito paghi solo ??? 19,95 al mese. Attivala subito, l?
> offerta è valida fino al 02/10/2008! http://abbonati.tiscali.
> it/promo/adsl8mega/
>
>
>
>
>
>
>
>
> _______________________________________________________________
> Visita Tiscali Shopping e troverai tutto quello che cerchi ai prezzi migliori
> http://shopping.tiscali.it/
>
--
regards,
Yang, Sheng
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: show_code.patch --]
[-- Type: text/x-diff; name=show_code.patch, Size: 474 bytes --]
Index: kvm-76/libkvm/libkvm.c
===================================================================
--- kvm-76.orig/libkvm/libkvm.c 2008-10-09 22:53:19.000000000 +0800
+++ kvm-76/libkvm/libkvm.c 2008-10-09 22:53:53.000000000 +0800
@@ -843,6 +843,7 @@
fprintf(stderr, "unhandled vm exit: 0x%x vcpu_id %d\n",
(unsigned)run->hw.hardware_exit_reason, vcpu);
kvm_show_regs(kvm, vcpu);
+ kvm_show_code(kvm, vcpu);
abort();
break;
case KVM_EXIT_FAIL_ENTRY:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ Re: unhandled vm exit: 0x80000021 vcpu_id 0]
@ 2008-10-10 13:45 p.quida
2008-10-13 2:56 ` Sheng Yang
0 siblings, 1 reply; 3+ messages in thread
From: p.quida @ 2008-10-10 13:45 UTC (permalink / raw)
To: yasker; +Cc: kvm
[-- Attachment #1: Type: text/plain, Size: 6525 bytes --]
>----Messaggio originale----
>Da: yasker@gmail.com
>Data: 09/10/2008 16.58
>A: "p.quida@tiscali.it"<p.quida@tiscali.it>
>Cc: "kvm"<kvm@vger.kernel.org>
>Ogg: Re: [ Re: unhandled vm exit: 0x80000021 vcpu_id 0]
>
>On Wed, Oct 8, 2008 at 7:16 AM, p.quida@tiscali.it <p.quida@tiscali.
it> wrote:
>> Hi Yang,
>> I often hibernate my Linux, so may be that the loadmodule message
is
>> missing in the dmesg because it is too old.
>>
>> I have rebooted the system and I attach a "clean" dmesg.
>
>Yeah, now I can see the load info of kvm-76.
>
>>
>> What means "Windows always trig a apic write error before Jan's
patch
>> make them slience"? which Windows?
>
>At least Windows XP like to do this, now for upstream, Jan's patch
clean it.
>>
>> However, when I try ro run qemu/kvm using the winxp image, no error
>> happens in the dmesg. I can see the error as output of the
qemu/kvm
>> command.
>
>It's indeed hard to debug with so limit info... I still suggest you
to
>fill a bug first.
Ok, I will try to do it.
>
>And if you have time, please try the attached patch and update info
I have compiled kvm-76 with your patch. In the attachment the result
Have a nice week end, Pier Luigi.
>
>--
>regards
>Yang, Sheng
>>
>> Reagrds,
>> Pier Luigi
>>
>>
>> -------- Original Message --------
>> Subject: Re: unhandled vm exit: 0x80000021 vcpu_id 0
>> Date: Fri, 3 Oct 2008 08:57:31 +0800
>> From: Sheng Yang <yasker@gmail.com>
>> To: p.quida@tiscali.it <p.quida@tiscali.it>
>> CC: yasker@gmail.com, kvm@vger.kernel.org
>> References: <25010601.1222985780681.JavaMail.root@ps1>
>>
>>
>>
>> On Fri, Oct 03, 2008 at 12:16:20AM +0200, p.quida@tiscali.it wrote:
>>>
>>> Hi,
>>> I understand the "particularity" (checkpoint) of this case.
>>
>> Hi Pier
>>
>> Thanks for your understanding. :)
>>>
>>> Any way, in the attachment the dmesg log and the output of the
>> dmesg
>>> command.
>>
>> But it's strange that I almost can't see anything correlated with
kvm
>> in the
>> log. If you built kvm as a modules(I suppose you did it because you
>> tried
>> many versions), at least something like "load kvm module xxx"
should
>> appear(and Windows always trig a apic write error before Jan's
patch
>> make
>> them slience).
>>
>> Is this the dmesg when the error was happening?
>>
>> --
>> regards
>> Yang, Sheng
>>
>>>
>>> thanks for your helpfulness.
>>>
>>> Regards.
>>>
>>> Sheng Yang wrote:
>>> > On Mon, Sep 29, 2008 at 6:18 PM, p.quida@tiscali.it <p.
>> quida@tiscali.
>>> it> wrote:
>>> >
>>> >> Hi,
>>> >> I have successfully installed windows XP SP2 on kvm. After the
>>> >> installation I have launched the setup of "Checkpoint -
>> Pointsec"
>>> for
>>> >> the entire disk encryption.
>>> >>
>>> >
>>> > Hi Pier
>>> >
>>> > Can you issue a bug for this? But sadly "Checkpoint" is a
>> commercial
>>> > software, we may not deal with it directly and immediately.
>>> >
>>> >
>>> >> The first step of installation was run successfully, but when
the
>>> >> system reboots and "Pointsec" loads the initial code, the
>> following
>>> >> error happens:
>>> >>
>>>
>>
======================================================================================
>>> >> unhandled vm exit: 0x80000021 vcpu_id 0
>>> >> rax 0000000000000007 rbx 0000000000001490 rcx 0000000000000000
>> rdx
>>> >> 00000000000019a0
>>> >> rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000080
>> rbp
>>> >> 00000000000096bf
>>> >> r8 0000000000000000 r9 0000000000000000 r10 0000000000000000
>> r11
>>> >> 0000000000000000
>>> >> r12 0000000000000000 r13 0000000000000000 r14 0000000000000000
>> r15
>>> >> 0000000000000000
>>> >> rip 000000000000002a rflags 00023202
>>> >> cs 14a2 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 9 l 0 g 0
avl
>> 0)
>>> >> ds 19a0 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0
avl
>> 0)
>>> >> es 1a31 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0
avl
>> 0)
>>> >> ss 1a29 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 1 l 0 g 0
avl
>> 0)
>>> >> fs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0
avl
>> 0)
>>> >> gs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0
avl
>> 0)
>>> >> tr 0058 (00201ffa/0000ffff p 1 dpl 0 db 0 s 0 type b l 0 g 0
avl
>> 0)
>>> >> ldt 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0
>> avl
>>> 0)
>>> >> gdt 200000/1dd8
>>> >> idt 201df0/188
>>> >> cr0 80000019 cr2 0 cr3 1440000 cr4 0 cr8 0 efer 0
>>> >>
>>> >
>>> > What's this... CR0.PE clear, CR0.PG set... And segment register
>> also
>>> > strange. May be some real emulation wrong...
>>> >
>>> >
>>> >> Aborted
>>> >>
>>>
>>
======================================================================================
>>> >> I am able to boot this system (image) using qemu (with kqemu
>>> enabled
>>> >> for user code), but not using kvm.
>>> >> I have also tried with the options: -no-kvm-irqchip -no-kvm-pit
-
>>> no-
>>> >> acpi without success. Only the -no-kvm option works.
>>> >> I have tried these kvm releases: from 65 to 76; and these
kernel
>>> >> (vanilla) releases: from 2.6.23.1 to 2.6.26.5.
>>> >>
>>> >
>>> > Thanks for your patient...
>>> >
>>> >> My computer is a Dell D630 equipped with Intel(R) Core(TM)2 Duo
>> CPU
>>> >> T7300 @ 2.00GHz
>>> >> The HOST Linux distributions used are: Fedora 8/9 for i386, and
>>> Fedora
>>> >> 9 for x86_64.
>>> >>
>>> >
>>> > Can you show dmesg as well? That's also helps.
>>> >
>>> >
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________________________
>>>
>>> Con Tiscali Adsl 8 Mega navighi SENZA LIMITI e GRATIS PER I PRIMI
>> TRE MESI. In seguito paghi solo ??? 19,95 al mese. Attivala subito,
l?
>> offerta è valida fino al 02/10/2008! http://abbonati.tiscali.
>> it/promo/adsl8mega/
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________________________
>> Visita Tiscali Shopping e troverai tutto quello che cerchi ai
prezzi migliori
>> http://shopping.tiscali.it/
>>
>
>
>
>--
>regards,
>Yang, Sheng
>
_______________________________________________________________
Con Tiscali Adsl 8 Mega navighi SENZA LIMITI e GRATIS PER I PRIMI TRE MESI. In seguito paghi solo € 19,95 al mese. Attivala subito, l'offerta è valida fino al 16/10/2008! http://abbonati.tiscali.it/promo/adsl8mega/
[-- Attachment #2: kvm.trace --]
[-- Type: application/octet-stream, Size: 1200 bytes --]
unhandled vm exit: 0x80000021 vcpu_id 0
rax 0000000000000007 rbx 0000000000001490 rcx 0000000000000000 rdx 00000000000019a0
rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000080 rbp 00000000000096bf
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 000000000000002a rflags 00023202
cs 14a2 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 9 l 0 g 0 avl 0)
ds 19a0 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
es 1a31 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
ss 1a29 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 1 l 0 g 0 avl 0)
fs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
tr 0058 (00201ffa/0000ffff p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gdt 200000/1dd8
idt 201df0/188
cr0 80000019 cr2 0 cr3 1440000 cr4 0 cr8 0 efer 0
code: 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff --> 00 f0 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 57 ef 00 f0 53 ff 00 f0 3a 83 00 c0 4d f8 00ð f0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ Re: unhandled vm exit: 0x80000021 vcpu_id 0]
2008-10-10 13:45 [ Re: unhandled vm exit: 0x80000021 vcpu_id 0] p.quida
@ 2008-10-13 2:56 ` Sheng Yang
0 siblings, 0 replies; 3+ messages in thread
From: Sheng Yang @ 2008-10-13 2:56 UTC (permalink / raw)
To: p.quida@tiscali.it; +Cc: kvm
Hi Pier
The only thing I can tell that is, seems guest completely messed up...
It ran into some non-code segment.
> unhandled vm exit: 0x80000021 vcpu_id 0
> rax 0000000000000007 rbx 0000000000001490 rcx 0000000000000000 rdx
> 00000000000019a0 rsi 0000000000000000 rdi 0000000000000000 rsp
> 0000000000000080 rbp 00000000000096bf r8 0000000000000000 r9
> 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12
> 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15
> 0000000000000000 rip 000000000000002a rflags 00023202
> cs 14a2 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 9 l 0 g 0 avl 0)
> ds 19a0 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> es 1a31 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> ss 1a29 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 1 l 0 g 0 avl 0)
Segments maybe messed up...
> fs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> gs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> tr 0058 (00201ffa/0000ffff p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
> ldt 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
> gdt 200000/1dd8
> idt 201df0/188
> cr0 80000019 cr2 0 cr3 1440000 cr4 0 cr8 0 efer 0
CR0.PE set(sorry for wrong decode before...), CR0.PG set. Guest in
protected mode. But CR4 is wrong, at least CR4.PAE and CR4.VMXE should
be set.
> code: 00 f0 53 ff 00 f0 53 ff 00 f0 a5 fe 00 f0 87 e9 00 f0 53 ff --> 00 f0
> 53 ff 00 f0 53 ff 00 f0 53 ff 00 f0 57 ef 00 f0 53 ff 00 f0 3a 83 00 c0 4d
> f8 00 f0
Seems like meaningless code...
Well, still don't know what the "checkpoint" done caused this... At
least it seems more than a emulation bug.
Anybody else have idea?...
--
regards
Yang, Sheng
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-13 2:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 13:45 [ Re: unhandled vm exit: 0x80000021 vcpu_id 0] p.quida
2008-10-13 2:56 ` Sheng Yang
[not found] <5449202.1223421374856.JavaMail.root@ps1>
2008-10-09 14:58 ` Sheng Yang
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).