Skip to contentSkip to conversation

Re: [ Re: unhandled vm exit: 0x80000021 vcpu_id 0]

Re: unhandled vm exit: 0x80000021 vcpu_id 0 [email protected] 2 participants 2 messages Oct 10, 2008 – Oct 13, 2008 KVM

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines

----Messaggio originale----
Da: [email protected]
Data: 09/10/2008 16.58
A: "[email protected]"<[email protected]>
Cc: "kvm"<[email protected]>
Ogg: Re: [ Re: unhandled vm exit: 0x80000021 vcpu_id 0]

On Wed, Oct 8, 2008 at 7:16 AM, [email protected] <p.quida@tiscali.

Quoted 2 lines · it> wrote:
Quoted 2 lines

Hi Yang,
I often hibernate my Linux, so may be that the loadmodule message

is

Quoted 8 lines
Quoted 3 lines

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.

Quoted 2 lines

What means "Windows always trig a apic write error before Jan's

patch

Quoted 3 lines
Quoted 1 line

make them slience"? which Windows?

At least Windows XP like to do this, now for upstream, Jan's patch

clean it.

Quoted 3 lines
Quoted 3 lines

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

Quoted 3 lines
Quoted 1 line

command.

It's indeed hard to debug with so limit info... I still suggest you

to

Quoted 1 line

fill a bug first.

Ok, I will try to do it.

Quoted 2 lines

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.

Quoted 33 lines

--
regards
Yang, Sheng

Quoted 29 lines

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 <[email protected]>
To:     [email protected] <[email protected]>

CC: [email protected], [email protected]
References: <25010601.1222985780681.JavaMail.root@ps1>

Quoted 3 lines · On Fri, Oct 03, 2008 at 12:16:20AM +0200, [email protected] wrote:

Hi,
I understand the "particularity" (checkpoint) of this case.

Hi Pier

Thanks for your understanding. :)

Quoted 2 lines

Any way, in the attachment the dmesg log and the output of the

dmesg

Quoted 1 line

command.

But it's strange that I almost can't see anything correlated with

kvm

Quoted 4 lines
Quoted 4 lines

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

Quoted 1 line
Quoted 1 line

appear(and Windows always trig a apic write error before Jan's

patch

Quoted 27 lines
Quoted 27 lines

make
them slience).

Is this the dmesg when the error was happening?

--
regards
Yang, Sheng

Quoted 7 lines

thanks for your helpfulness.

Regards.

Quoted 1 line · Sheng Yang

On Mon, Sep 29, 2008 at 6:18 PM, [email protected] <p.

quida@tiscali.

Quoted 5 lines
Quoted 4 lines · it> wrote:
Quoted 4 lines

Hi,
I have successfully installed windows XP SP2 on kvm. After the installation I have launched the setup of "Checkpoint -

Pointsec"

Quoted 4 lines

for

Quoted 3 lines
Quoted 2 lines

the entire disk encryption.

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

Hi Pier

Can you issue a bug for this? But sadly "Checkpoint" is a

commercial

Quoted 4 lines
Quoted 4 lines

software, we may not deal with it directly and immediately.

Quoted 1 line

The first step of installation was run successfully, but when

the

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

system reboots and "Pointsec" loads the initial code, the

following

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

error happens:

======================================================================================

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

unhandled vm exit: 0x80000021 vcpu_id 0
rax 0000000000000007 rbx 0000000000001490 rcx 0000000000000000

rdx

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

00000000000019a0
rsi 0000000000000000 rdi 0000000000000000 rsp 0000000000000080

rbp

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

00000000000096bf
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000

Quoted 7 lines
Quoted 7 lines

r11

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000

r15

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

0000000000000000
rip 000000000000002a rflags 00023202
cs 14a2 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 9 l 0 g 0

avl

Quoted 2 lines
Quoted 2 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ds 19a0 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0

avl

Quoted 2 lines
Quoted 2 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

es 1a31 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0

avl

Quoted 2 lines
Quoted 2 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ss 1a29 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 1 l 0 g 0

avl

Quoted 2 lines
Quoted 2 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

fs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0

avl

Quoted 2 lines
Quoted 2 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

gs 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0

avl

Quoted 2 lines
Quoted 2 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

tr 0058 (00201ffa/0000ffff p 1 dpl 0 db 0 s 0 type b l 0 g 0

avl

Quoted 10 lines
Quoted 10 lines

0)

Quoted 1 line
Quoted 1 line
Quoted 1 line

ldt 0000 (00000000/00000000 p 0 dpl 0 db 0 s 0 type 0 l 0 g 0

avl

Quoted 7 lines

0)

Quoted 6 lines
Quoted 4 lines

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

Quoted 8 lines
Quoted 8 lines

also

Quoted 6 lines
Quoted 5 lines

strange. May be some real emulation wrong...

Quoted 2 lines

Aborted

======================================================================================

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line

I am able to boot this system (image) using qemu (with kqemu

enabled

Quoted 2 lines
Quoted 2 lines

for user code), but not using kvm.
I have also tried with the options: -no-kvm-irqchip -no-kvm-pit

-

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

no-

Quoted 2 lines
Quoted 2 lines

acpi without success. Only the -no-kvm option works. I have tried these kvm releases: from 65 to 76; and these

kernel

Quoted 23 lines
Quoted 23 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

(vanilla) releases: from 2.6.23.1 to 2.6.26.5.

Thanks for your patient...

Quoted 1 line

My computer is a Dell D630 equipped with Intel(R) Core(TM)2 Duo

CPU

Quoted 16 lines
Quoted 2 lines
Quoted 2 lines

T7300 @ 2.00GHz
The HOST Linux distributions used are: Fedora 8/9 for i386, and

Fedora

Quoted 6 lines
Quoted 2 lines

9 for x86_64.

Can you show dmesg as well? That's also helps.

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

_______________________________________________________________

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?

Quoted 10 lines
Quoted 10 lines

offerta è valida fino al 02/10/2008! http://abbonati.tiscali.
it/promo/adsl8mega/

Quoted 2 lines
Quoted 2 lines

_______________________________________________________________
Visita Tiscali Shopping e troverai tutto quello che cerchi ai

prezzi migliori

Quoted 9 lines
Quoted 2 lines

http://shopping.tiscali.it/

Signature · 2 lines
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/

#1 lore raw

Hi Pier

The only thing I can tell that is, seems guest completely messed up... It ran into some non-code segment.

Quoted 11 lines

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...

Quoted 7 lines

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.

Quoted 3 lines

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