Host: Intel CPU, Fedora7/x64.
On KVM-53, KVM crashes immediately.
On KVM-51, Mandrake 9.0 (32-bit) setups & works with single CPU.
Running with "-smp 2" makes guest stuck on init (when entering init 5).
-no-kvm-irqchip and -no-acpi didn't help.
-Alexey. 21.11.2007.
Logged In: YES
user_id=1839746
Originator: YES
crash KVM-53:
exception 13 (33)
rax 000000000000ec07 rbx 0000000000000824 rcx 0000000000000000 rdx 000000000000ec07
rsi 0000000000000288 rdi 000000000000e3e4 rsp 000000000000ff5c rbp 0000000000002674
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 0000000000005a83 rflags 00033282
cs 0824 (00008240/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs 0000 (00000000/0000ffff p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0000 (fffbd000/00002088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/0000ffff p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt 0/ffff
idt 0/ffff
cr0 60000010 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: 01 00 00 83 f8 04 0f 8f 48 01 00 00 83 f8 03 74 0f ba ea ff --> ff ff 8d 65 f4 89 d0 5b 5e 5f 5d c3 8b 7d 0c bb 03 00 00 00 c1 ff 08 0f b6 75 0c 8b 14 dd
Aborted
===================================================
Here is the dmesg output:
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
kvm: emulating exchange as write
emulation failed (mmio) rip 498 63 00 65 00
handle_exception: unexpected, vectoring info 0x80000306 intr info 0x80000b0d
pending exception: not handled yet
pending exception: not handled yet
qemu-system-x86[6151]: segfault at 00002aaaab211484 rip 00000000004f4125 rsp 00000000409ffca0 error 4
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 1 vector 0x10
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 1 vector 0x10
SIPI to vcpu 1 vector 0x10
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
qemu-system-x86[10162]: segfault at 00002aaaab2211c4 rip 00000000004f4125 rsp 00000000409ffca0 error 4
qemu-system-x86[16538]: segfault at 00002aaab7e7a000 rip 0000000000446203 rsp 00007fffd49b2060 error 6
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
apic write: bad size=1 fee00030
Ignoring de-assert INIT to vcpu 0
handle_exception: unexpected, vectoring info 0x80000306 intr info 0x80000b0d
pending exception: not handled yet
pending exception: not handled yet
qemu-system-x86[32325]: segfault at 00002aaaab20102b rip 00000000004f4125 rsp 00007fffd0049a40 error 4
qemu-system-x86[8756]: segfault at 00002aaaab201025 rip 00000000004f4125 rsp 00007fff435eaff0 error 4
qemu-system-x86[13082]: segfault at 00002aaaab201025 rip 00000000004f4125 rsp 00007fffb64cdee0 error 4
qemu-system-x86[21380]: segfault at 0000000000000018 rip 0000003a0166e3c3 rsp 00007fff9ba4bb70 error 4
qemu-kvm[8468]: segfault at 00002aaaab20aa86 rip 00000000004f4125 rsp 00007fff4250eff0 error 4
handle_exception: unexpected, vectoring info 0x80000306 intr info 0x80000b0d
pending exception: not handled yet
pending exception: not handled yet
qemu-kvm[8476]: segfault at 00002aaaab201530 rip 00000000004f4125 rsp 00007fff119043f0 error 4
kvm: emulating exchange as write
SIPI to vcpu 1 vector 0x10
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
emulation failed (mmio) rip 5a83 ff ff 8d 65
handle_exception: unexpected, vectoring info 0x80000306 intr info 0x80000b0d
pending exception: not handled yet
pending exception: not handled yet
SIPI to vcpu 1 vector 0x10
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
SIPI to vcpu 1 vector 0x10
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
SIPI to vcpu 1 vector 0x10
Ignoring de-assert INIT to vcpu 0
Ignoring de-assert INIT to vcpu 1
-Alexey
Logged In: YES
user_id=201894
Originator: NO
Anything from netconsole? Kernel logs would help a lot.
Logged In: YES
user_id=201894
Originator: NO
Please bisect and let us know what broke this.
Logged In: YES
user_id=1839746
Originator: YES
I have bisected that, and it turned out, that this guest has the same problem as SUSE Linux 9.1.
See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1835211&group_id=180599&atid=893831
-Alexey
Logged In: YES
user_id=201894
Originator: NO
Which commit did git bisect point to as the one bringing in the regression?
Logged In: YES
user_id=539971
Originator: NO
Fixed for kvm-54:
commit 316bd49570ab7b1812bdd954ccd59ad8bc9e9ddc
Author: Avi Kivity avi@qumranet.com
Date: Thu Nov 22 11:42:59 2007 +0200
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).