Hello,
I attempted to install Windows XP(sp2) as a guest and it crashes with a blank
window, with QEMU/KVM[Stopped] in the title, and a general protection fault
in the logs. The install starts fine with -no-kvm. Below is the output
from /proc/version, /proc/cpuinfo and dmesg. I am using kvm-48.
qemu cmd:
/usr/local/kvm/bin/qemu-system-x86_64 test.img -cdrom Microsoft\ Windows\ XP\
Professional\ \(SP2\).iso -boot d
kernel version:
Linux version 2.6.23-gentoo ([EMAIL PROTECTED]) (gcc version 4.1.2 (Gentoo
4.1.2)) #1
SMP PREEMPT Sun Oct 28 13:40:52 EDT 2007
dmesg output:
general protection fault: 0000 [#1]
PREEMPT SMP
Modules linked in: kvm_intel kvm ipx p8022 psnap llc p8023 arc4 ecb blkcipher
cryptomgr crypto_algapi ieee80211_crypt_wep snd_hda_intel snd_pcm snd_timer
snd snd_page_alloc yenta_socket rsrc_nonstatic pcmcia_core ipw3945 fglrx(P)
dm_bbr dm_snapshot e1000 xfs jfs dm_mirror scsi_wait_scan
CPU: 0
EIP: 0060:[<f9170562>] Tainted: P VLI
EFLAGS: 00210206 (2.6.23-gentoo #1)
EIP is at vmx_save_host_state+0x132/0x190 [kvm_intel]
eax: 00000009 ebx: 00000000 ecx: c0000080 edx: 007444d2
esi: f5872000 edi: 00000008 ebp: 007444d2 esp: f55e7d34
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process qemu-system-x86 (pid: 10064, ti=f55e6000 task=f5871a40
task.ti=f55e6000)
Stack: 5820726f 0000000a f5872000 00000000 f56d6000 f5872000 f982e6e8 b251e067
00000001 10002800 00000000 f982ee70 f67bc840 00000000 f982f9b7 dfb423b8
c018aa96 00000000 d662d853 dfb423c0 000f41a8 f55e7dc4 f5809234 f5871a40
Call Trace:
[<f982e6e8>] kvm_vcpu_ioctl_run+0xa8/0x4c0 [kvm]
[<f982ee70>] kvm_vcpu_ioctl+0x0/0xba0 [kvm]
[<f982f9b7>] kvm_vcpu_ioctl+0xb47/0xba0 [kvm]
[<c018aa96>] __d_lookup+0xb6/0x150
[<c04505f0>] do_page_fault+0x0/0x6b0
[<c044eeaa>] error_code+0x72/0x78
[<c0122c65>] kunmap_atomic+0x35/0x70
[<c0155eb3>] file_read_actor+0xf3/0x100
[<c0156865>] do_generic_mapping_read+0x3c5/0x490
[<c0122c65>] kunmap_atomic+0x35/0x70
[<c015abd3>] get_page_from_freelist+0x2c3/0x3c0
[<c0160a97>] __inc_zone_state+0x17/0x70
[<c015d39b>] activate_page+0xab/0xc0
[<c044ecae>] _spin_unlock_irq+0xe/0x30
[<c015d60d>] mark_page_accessed+0x2d/0x40
[<c0158685>] filemap_fault+0x215/0x4b0
[<c0160a97>] __inc_zone_state+0x17/0x70
[<c01620a3>] __do_fault+0x173/0x380
[<c0164340>] handle_mm_fault+0x190/0x700
[<c0450d68>] __atomic_notifier_call_chain+0x48/0x70
[<f982ee70>] kvm_vcpu_ioctl+0x0/0xba0 [kvm]
[<c0184c1b>] do_ioctl+0x2b/0x90
[<c0184cdc>] vfs_ioctl+0x5c/0x290
[<c0184f4d>] sys_ioctl+0x3d/0x70
[<c010537e>] sysenter_past_esp+0x5f/0x85
=======================
Code: 31 d9 31 f8 09 c1 74 2b 8b 0c 24 b8 01 00 00 00 31 db 89 86 74 0d 00 00
89 ea 89 f8 09 da 81 e1 01 08 00 00 09 c8 b9 80 00 00 c0 <0f> 30 ff 86 80 08
00 00 8b 5c 24 08 8b 74 24 0c 8b 7c 24 10 8b
EIP: [<f9170562>] vmx_save_host_state+0x132/0x190 [kvm_intel] SS:ESP
0068:f55e7d34
note: qemu-system-x86[10064] exited with preempt_count 1
general protection fault: 0000 [#2]
PREEMPT SMP
Modules linked in: kvm_intel kvm ipx p8022 psnap llc p8023 arc4 ecb blkcipher
cryptomgr crypto_algapi ieee80211_crypt_wep snd_hda_intel snd_pcm snd_timer
snd snd_page_alloc yenta_socket rsrc_nonstatic pcmcia_core ipw3945 fglrx(P)
dm_bbr dm_snapshot e1000 xfs jfs dm_mirror scsi_wait_scan
CPU: 0
EIP: 0060:[<f916e018>] Tainted: P D VLI
EFLAGS: 00210046 (2.6.23-gentoo #1)
EIP is at load_msrs+0x18/0x30 [kvm_intel]
eax: 5820726f ebx: f74beff8 ecx: 6c696620 edx: 0000000a
esi: 00000000 edi: 00000001 ebp: f5872000 esp: f55e7c2c
ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Process qemu-system-x86 (pid: 10064, ti=f55e6000 task=f5871a40
task.ti=f55e6000)
Stack: 00000001 00000001 00000000 f91707ba 00ff003c c2816000 f5872004 00000000
00000010 f5870540 f982c54c f983acf9 00000000 f5871a40 f983a9e2 00000010
f5871a40 f5870540 f55e7c88 00000000 f55e6000 00000001 f55e6000 c044c6b0
Call Trace:
[<f91707ba>] vmx_vcpu_put+0xfa/0x130 [kvm_intel]
[<f982c54c>] kvm_sched_out+0xc/0x10 [kvm]
[<f983acf9>] preempt_notifier_trigger+0x79/0x90 [kvm]
[<f983a9e2>] pn_int1_handler+0x12/0x30 [kvm]
[<c044c6b0>] schedule+0x0/0x700
[<c012f3c6>] do_exit+0x576/0x7b0
[<c0106acd>] die+0x26d/0x280
[<c044f630>] do_general_protection+0x0/0x2b0
[<c044eeaa>] error_code+0x72/0x78
[<f983007b>] kvm_emulate_pio_string+0x22b/0x320 [kvm]
[<f9170562>] vmx_save_host_state+0x132/0x190 [kvm_intel]
[<f982e6e8>] kvm_vcpu_ioctl_run+0xa8/0x4c0 [kvm]
[<f982ee70>] kvm_vcpu_ioctl+0x0/0xba0 [kvm]
[<f982f9b7>] kvm_vcpu_ioctl+0xb47/0xba0 [kvm]
[<c018aa96>] __d_lookup+0xb6/0x150
[<c04505f0>] do_page_fault+0x0/0x6b0
[<c044eeaa>] error_code+0x72/0x78
[<c0122c65>] kunmap_atomic+0x35/0x70
[<c0155eb3>] file_read_actor+0xf3/0x100
[<c0156865>] do_generic_mapping_read+0x3c5/0x490
[<c0122c65>] kunmap_atomic+0x35/0x70
[<c015abd3>] get_page_from_freelist+0x2c3/0x3c0
[<c0160a97>] __inc_zone_state+0x17/0x70
[<c015d39b>] activate_page+0xab/0xc0
[<c044ecae>] _spin_unlock_irq+0xe/0x30
[<c015d60d>] mark_page_accessed+0x2d/0x40
[<c0158685>] filemap_fault+0x215/0x4b0
[<c0160a97>] __inc_zone_state+0x17/0x70
[<c01620a3>] __do_fault+0x173/0x380
[<c0164340>] handle_mm_fault+0x190/0x700
[<c0450d68>] __atomic_notifier_call_chain+0x48/0x70
[<f982ee70>] kvm_vcpu_ioctl+0x0/0xba0 [kvm]
[<c0184c1b>] do_ioctl+0x2b/0x90
[<c0184cdc>] vfs_ioctl+0x5c/0x290
[<c0184f4d>] sys_ioctl+0x3d/0x70
[<c010537e>] sysenter_past_esp+0x5f/0x85
=======================
Code: <0f> 30 46 83 c3 10 39 f7 75 ee 5b 5e 5f c3 8d 76 00 8d bc 27 00 00
EIP: [<f916e018>] load_msrs+0x18/0x30 [kvm_intel] SS:ESP 0068:f55e7c2c
Fixing recursive fault but reboot is needed!
[EMAIL PROTECTED] ~ $ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2600 @ 2.16GHz
stepping : 8
cpu MHz : 2167.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc
arch_perfmon bts pni monitor vmx est tm2 xtpr
bogomips : 4326.24
clflush size : 64
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 14
model name : Genuine Intel(R) CPU T2600 @ 2.16GHz
stepping : 8
cpu MHz : 2167.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc
arch_perfmon bts pni monitor vmx est tm2 xtpr
bogomips : 4322.53
clflush size : 64
Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel