32-bit qemu on current x86-64 kernel segfauls very early
With Linus' git tree from today I can't boot qemu when using kvm. It seems to do fine, just glacially slow without -enable-kvm. The command simplest command line that fails is:
/opt/qemu/bin/qemu-system-x86_64 -enable-kvm
I tried to get a backtrace from gdb, but it looks like:
(gdb) bt
#0 0x0806c491 in ?? () #1 0x0806cc38 in ?? () #2 0x0811be10 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Quoted 5 lines · Christoph Hellwig
With Linus' git tree from today I can't boot qemu when using kvm. It seems to do fine, just glacially slow without -enable-kvm. The command simplest command line that fails is:
/opt/qemu/bin/qemu-system-x86_64 -enable-kvm
This issue was caused by commit 9581d442b9058d3699b4be568b6e5eae38a41493
"KVM: Fix fs/gs reload oops with invalid ldt"
Quoted 11 lines · Christoph Hellwig
Quoted 5 lines · Christoph Hellwig
With Linus' git tree from today I can't boot qemu when using kvm. It seems to do fine, just glacially slow without -enable-kvm. The command simplest command line that fails is:
/opt/qemu/bin/qemu-system-x86_64-enable-kvmThis issue was caused by commit
9581d442b9058d3699b4be568b6e5eae38a41493"KVM: Fix fs/gs reload oops with invalid ldt"
Interesting, I guess we corrupt %fs on x86_64.
Intel or AMD?
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
Quoted 6 lines · Avi Kivity
Quoted 2 lines
"KVM: Fix fs/gs reload oops with invalid ldt"
Interesting, I guess we corrupt %fs on
x86_64.Intel or AMD?
Intel:
processor : 0vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz
stepping : 6
cpu MHz : 2133.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yesfpu_exception : yes
cpuid level : 10
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 nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
bogomips : 5588.00
clflush size : 64cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
Quoted 9 lines · Christoph Hellwig
Quoted 6 lines · Avi Kivity
Quoted 2 lines
"KVM: Fix fs/gs reload oops with invalid ldt"
Interesting, I guess we corrupt %fs on
x86_64.Intel or AMD?
Intel:
Thanks, reproduced and have a fix. Will send it out later.
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
Quoted 10 lines · Christoph Hellwig
Quoted 5 lines · Christoph Hellwig
With Linus' git tree from today I can't boot qemu when using kvm. It seems to do fine, just glacially slow without -enable-kvm. The command simplest command line that fails is:
/opt/qemu/bin/qemu-system-x86_64 -enable-kvmThis issue was caused by commit
9581d442b9058d3699b4be568b6e5eae38a41493"KVM: Fix fs/gs reload oops with invalid ldt"
I saw this issue too and I can confirm reverting this patch helps. Will test the proper fix when it appears.
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html