vmwrite_error while installing or booting XP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This error occurs when I try to format the disk during the XP install
as well as when I attempt to boot into XP.  When I disable
virtualization with -no-kvm everything works fine, albeit slow.

Linux kernels tried:
gentoo-2.6.31-r10
gentoo-2.6.32.r7

kvm-mod versions tried:
2.6.32.7
2.6.33.3
GIT repo (as of 5/1/2010)

qemu-kvm version:
0.12.3

processor info (quad core):
model name	: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
stepping	: 5
cpu MHz		: 1197.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology
nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3
cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi
flexpriority ept vpid
bogomips	: 5330.56
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

Command example:
$ kvm -hda windows-xp.img -boot c
kvm: unhandled exit 17946000
kvm_run returned -22

>From DMESG:
[  124.473587] vmwrite error: reg 4016 value 80000062 (err -2147483550)
[  124.473592] Pid: 4940, comm: qemu-system-x86 Tainted: P
2.6.32-gentoo-r7 #1
[  124.473595] Call Trace:
[  124.473621]  [<ffffffffa0020a82>] ? apic_update_ppr+0x1c/0x4f [kvm]
[  124.473627]  [<ffffffffa0baf981>] vmwrite_error+0x27/0x29 [kvm_intel]
[  124.473632]  [<ffffffffa0baf99c>] vmcs_writel+0x19/0x1b [kvm_intel]
[  124.473638]  [<ffffffffa0bb03b8>] vmx_inject_irq+0x119/0x122 [kvm_intel]
[  124.473656]  [<ffffffffa0010e46>] kvm_arch_vcpu_ioctl_run+0x663/0xb04 [kvm]
[  124.473671]  [<ffffffffa00020b8>] kvm_vcpu_ioctl+0xe5/0x4f0 [kvm]
[  124.473677]  [<ffffffff8103a27b>] ? set_next_entity+0x43/0x96
[  124.473682]  [<ffffffff810f0b70>] vfs_ioctl+0x2a/0x78
[  124.473686]  [<ffffffff810f10a5>] do_vfs_ioctl+0x46c/0x4ad
[  124.473690]  [<ffffffff810f113b>] sys_ioctl+0x55/0x77
[  124.473694]  [<ffffffff810e51c8>] ? sys_read+0x60/0x70
[  124.473698]  [<ffffffff8100bb2b>] system_call_fastpath+0x16/0x1b

[  124.473702] vmwrite error: reg 401c value 0 (err 0)
[  124.473705] Pid: 4940, comm: qemu-system-x86 Tainted: P
2.6.32-gentoo-r7 #1
[  124.473708] Call Trace:
[  124.473726]  [<ffffffffa0020a82>] ? apic_update_ppr+0x1c/0x4f [kvm]
[  124.473732]  [<ffffffffa0baf981>] vmwrite_error+0x27/0x29 [kvm_intel]
[  124.473737]  [<ffffffffa0baf99c>] vmcs_writel+0x19/0x1b [kvm_intel]
[  124.473742]  [<ffffffffa0baf9bb>] update_cr8_intercept+0x1d/0x1f [kvm_intel]
[  124.473759]  [<ffffffffa000cefa>] update_cr8_intercept+0x60/0x65 [kvm]
[  124.473777]  [<ffffffffa0010e99>] kvm_arch_vcpu_ioctl_run+0x6b6/0xb04 [kvm]
[  124.473791]  [<ffffffffa00020b8>] kvm_vcpu_ioctl+0xe5/0x4f0 [kvm]
[  124.473796]  [<ffffffff8103a27b>] ? set_next_entity+0x43/0x96
[  124.473800]  [<ffffffff810f0b70>] vfs_ioctl+0x2a/0x78
[  124.473803]  [<ffffffff810f10a5>] do_vfs_ioctl+0x46c/0x4ad
[  124.473807]  [<ffffffff810f113b>] sys_ioctl+0x55/0x77
[  124.473811]  [<ffffffff810e51c8>] ? sys_read+0x60/0x70
[  124.473815]  [<ffffffff8100bb2b>] system_call_fastpath+0x16/0x1b

[  124.473819] vmwrite error: reg 681e value 806f69ba (err -2140182086)
[  124.473822] Pid: 4940, comm: qemu-system-x86 Tainted: P
2.6.32-gentoo-r7 #1
[  124.473824] Call Trace:
[  124.473829]  [<ffffffffa0baf981>] vmwrite_error+0x27/0x29 [kvm_intel]
[  124.473834]  [<ffffffffa0baf99c>] vmcs_writel+0x19/0x1b [kvm_intel]
[  124.473840]  [<ffffffffa0bb1386>] vmx_vcpu_run+0x9f/0x4dd [kvm_intel]
[  124.473844]  [<ffffffff8100f203>] ? show_trace_log_lvl+0x4c/0x58
[  124.473863]  [<ffffffffa0020a82>] ? apic_update_ppr+0x1c/0x4f [kvm]
[  124.473867]  [<ffffffff8100f21f>] ? show_trace+0x10/0x12
[  124.473872]  [<ffffffff81566295>] ? dump_stack+0x72/0x7b
[  124.473891]  [<ffffffffa0020a82>] ? apic_update_ppr+0x1c/0x4f [kvm]
[  124.473896]  [<ffffffffa0baf981>] ? vmwrite_error+0x27/0x29 [kvm_intel]
[  124.473901]  [<ffffffffa0baf99c>] ? vmcs_writel+0x19/0x1b [kvm_intel]
[  124.473919]  [<ffffffffa0010f53>] kvm_arch_vcpu_ioctl_run+0x770/0xb04 [kvm]
[  124.473933]  [<ffffffffa00020b8>] kvm_vcpu_ioctl+0xe5/0x4f0 [kvm]
[  124.473938]  [<ffffffff8103a27b>] ? set_next_entity+0x43/0x96
[  124.473941]  [<ffffffff810f0b70>] vfs_ioctl+0x2a/0x78
[  124.473945]  [<ffffffff810f10a5>] do_vfs_ioctl+0x46c/0x4ad
[  124.473949]  [<ffffffff810f113b>] sys_ioctl+0x55/0x77
[  124.473953]  [<ffffffff810e51c8>] ? sys_read+0x60/0x70
[  124.473957]  [<ffffffff8100bb2b>] system_call_fastpath+0x16/0x1b

[  124.473960] vmwrite error: reg 6c00 value 8005003b (err -2147155909)
[  124.473963] Pid: 4940, comm: qemu-system-x86 Tainted: P
2.6.32-gentoo-r7 #1
[  124.473965] Call Trace:
[  124.473971]  [<ffffffffa0baf981>] vmwrite_error+0x27/0x29 [kvm_intel]
[  124.473976]  [<ffffffffa0baf99c>] vmcs_writel+0x19/0x1b [kvm_intel]
[  124.473981]  [<ffffffffa0bb13aa>] vmx_vcpu_run+0xc3/0x4dd [kvm_intel]
[  124.473985]  [<ffffffff8100f203>] ? show_trace_log_lvl+0x4c/0x58
[  124.474004]  [<ffffffffa0020a82>] ? apic_update_ppr+0x1c/0x4f [kvm]
[  124.474008]  [<ffffffff8100f21f>] ? show_trace+0x10/0x12
[  124.474012]  [<ffffffff81566295>] ? dump_stack+0x72/0x7b
[  124.474030]  [<ffffffffa0020a82>] ? apic_update_ppr+0x1c/0x4f [kvm]
[  124.474036]  [<ffffffffa0baf981>] ? vmwrite_error+0x27/0x29 [kvm_intel]
[  124.474041]  [<ffffffffa0baf99c>] ? vmcs_writel+0x19/0x1b [kvm_intel]
[  124.474059]  [<ffffffffa0010f53>] kvm_arch_vcpu_ioctl_run+0x770/0xb04 [kvm]
[  124.474073]  [<ffffffffa00020b8>] kvm_vcpu_ioctl+0xe5/0x4f0 [kvm]
[  124.474077]  [<ffffffff8103a27b>] ? set_next_entity+0x43/0x96
[  124.474081]  [<ffffffff810f0b70>] vfs_ioctl+0x2a/0x78
[  124.474085]  [<ffffffff810f10a5>] do_vfs_ioctl+0x46c/0x4ad
[  124.474088]  [<ffffffff810f113b>] sys_ioctl+0x55/0x77
[  124.474092]  [<ffffffff810e51c8>] ? sys_read+0x60/0x70
[  124.474096]  [<ffffffff8100bb2b>] system_call_fastpath+0x16/0x1b
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux