Skip to contentSkip to conversation

unhandled vm exit on kvm36 with Etch 32 guest on AMD64

DISCUSSION Joseph Wolff 3 participants 4 messages Sep 10, 2007 2 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

Hello,

I'm getting "unhandled vm exit:0xb8002" running a Debian Etch guest under kvm36 on AMD64.

The host is a 4-core dual-dual AMD, and I was able to create the Debian Etch (4.0) guest image just fine, using a standard install, from the standard Debian DVD disc1: debian-40r0-i386-DVD-1.iso

Distro is Ubuntu Gutsy, kernel is brand-new 2.6.22-11-server from the Gutsy repo. The KVM36 was installed via apt-pinning from the Debian (sid) repo (they're compatible - dependencies all met). The KVM36 is the only thing from the sid repo.

I originally upgraded to kvm36 because I was having this problem on the default Gutsy kvm28, and the Guest Status page for Etch says kvm29 works (albeit with Intel), but this is the same error I was getting with kvm28.

Here's the commandline and the subsequent regdump:

root@librehost-g64:/vm/143#  kvm -vnc :1 -k en-us -net 
nic,macaddr=de:ad:be:ef:01:43 -net tap -monitor 
telnet::23143,server,nowait,nodelay -cdrom 
/iso/debian-40r0-i386-DVD-1.iso -append vga=771 debian-40r0-i386.8G.qc2

In /etc/kvm/kvm-ifup, adding: tap0

unhandled vm exit: 0xb8002
rax 00000000c0318000 rbx 0000000000000fa0 rcx 0000000000000fa0 rdx 00000000c00b8000
rsi 00000000c00b8000 rdi 00000000c110a980 rsp 00000000c0319fb8 rbp 00000000c110a980
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000c01bc276 rflags 00000206
cs 0060 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g 0 avl 0) ds 007b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 2 l 0 g 1 avl 0) es 007b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0) ss 0068 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0) fs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) tr 0080 (c11006c0/00002073 p 1 dpl 0 db 0 s 0 type 9 l 0 g 0 avl 0) ldt 0088 (c0352020/00000027 p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt c1109000/ff
idt c030f000/7ff
cr0 80050033 cr2 0 cr3 34f000 cr4 690 cr8 0 efer 0 Aborted
root@librehost-g64:/vm/143#

Let me know,

Cheers,
joe

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 6 lines · Joseph Wolff

Hello,

I'm getting "unhandled vm exit:0xb8002" running a Debian Etch guest under kvm36 on AMD64.

This is a badly reported emulation failure.

Is there anything in dmesg like "emulation failed but !mmio_needed?"?

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): 46E4F3BE.5040807-atKUWr5tajBWk0Htik3J/[email protected]

#4 lore raw

Here's the dmesg snippet from the run:

[47823.616622] device tap0 entered promiscuous mode
[47823.616633] audit(1189441272.489:14): dev=tap0 prom=256 old_prom=0 
auid=4294967295
[47823.616638] br0: port 2(tap0) entering learning state
[47830.252510] pf_interception: emulate fail
[47830.308439] br0: port 2(tap0) entering disabled state
[47830.351370] device tap0 left promiscuous mode
[47830.351386] audit(1189441279.240:15): dev=tap0 prom=0 old_prom=256 
auid=4294967295
[47830.351390] br0: port 2(tap0) entering disabled state

So just the "pf_interception: emulate fail" is all.

joe

Quoted 13 lines · Avi Kivity
Quoted 6 lines · Joseph Wolff

Hello,

I'm getting "unhandled vm exit:0xb8002" running a Debian Etch guest under kvm36 on AMD64.

This is a badly reported emulation failure.

Is there anything in dmesg like "emulation failed but !mmio_needed?"?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#5 lore raw
In reply to a message not in the archive

Using kvm-37, I was able to install a debian guest using debian-40r0-i386-DVD-1.iso, and run it, on both AMD and Intel machine. My hosts are both running Fedora 7 with linux kernel versions 2.6.21-1 and 2.6.23-rc3.

Does your guest boot when adding '-no-kvm' to the command line ?

Uri.

Quoted 61 lines · Joseph Wolff

Hello,

I'm getting "unhandled vm exit:0xb8002" running a Debian Etch guest under kvm36 on AMD64.

The host is a 4-core dual-dual AMD, and I was able to create the Debian Etch (4.0) guest image just fine, using a standard install, from the standard Debian DVD disc1: debian-40r0-i386-DVD-1.iso

Distro is Ubuntu Gutsy, kernel is brand-new 2.6.22-11-server from the Gutsy repo. The KVM36 was installed via apt-pinning from the Debian (sid) repo (they're compatible - dependencies all met). The KVM36 is the only thing from the sid repo.

I originally upgraded to kvm36 because I was having this problem on the default Gutsy kvm28, and the Guest Status page for Etch says kvm29 works (albeit with Intel), but this is the same error I was getting with kvm28.

Here's the commandline and the subsequent regdump:

root@librehost-g64:/vm/143#  kvm -vnc :1 -k en-us -net 
nic,macaddr=de:ad:be:ef:01:43 -net tap -monitor 
telnet::23143,server,nowait,nodelay -cdrom 
/iso/debian-40r0-i386-DVD-1.iso -append vga=771 debian-40r0-i386.8G.qc2

In /etc/kvm/kvm-ifup, adding: tap0

unhandled vm exit: 0xb8002
rax 00000000c0318000 rbx 0000000000000fa0 rcx 0000000000000fa0 rdx 00000000c00b8000
rsi 00000000c00b8000 rdi 00000000c110a980 rsp 00000000c0319fb8 rbp 00000000c110a980
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000c01bc276 rflags 00000206
cs 0060 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g 0 avl 0) ds 007b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 2 l 0 g 1 avl 0) es 007b (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0) ss 0068 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 2 l 0 g 1 avl 0) fs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) tr 0080 (c11006c0/00002073 p 1 dpl 0 db 0 s 0 type 9 l 0 g 0 avl 0) ldt 0088 (c0352020/00000027 p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0) gdt c1109000/ff
idt c030f000/7ff
cr0 80050033 cr2 0 cr3 34f000 cr4 690 cr8 0 efer 0 Aborted
root@librehost-g64:/vm/143#

Let me know,

Cheers,
joe

Quoted 9 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/