Red Hat Bugzilla – Bug 677314
system_reset cause KVM internal error. Suberror: 2
Last modified: 2013-12-08 19:53:18 EST
Description of problem: Version-Release number of selected component (if applicable): How reproducible: only 2 time Steps to Reproduce: 1.start VM CLI:/usr/libexec/qemu-kvm -M rhel6.0.0 -enable-kvm -m 4G -smp 4 -name rhel5U6 -uuid ddcbfb49-3411-1701-3c36-6bdbc00bedb9 -rtc base=utc,clock=host,driftfix=slew -boot c -drive file=/home/test.raw,if=none,id=drive-ide0-0-0,boot=on,format=raw,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0,id=drive-ide0-0-0 -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:50:a4:c2:c1 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc :2 -device virtio-balloon-pci,id=ballooning -device virtio-serial-pci,id=virtio-serial0,max_ports=31,bus=pci.0 -chardev socket,path=/tmp/vport0,server,nowait,id=channel0 -device virtserialport,chardev=channel0,id=port0 -monitor stdio 2.during guest booting ,(qemu)system_reset Actual results: (qemu) system_reset (qemu) KVM internal error. Suberror: 2 extra data[0]: 8000041c extra data[1]: 80000b0d rax 0000000000000000 rbx 00000000fe80dffe rcx 000000000000ff5d rdx 0000000000000040 rsi 0000000085a6000e rdi 00000000857b0000 rsp 0000000000006ed6 rbp 00000000fec0000e r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000 r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000 rip 000000000000ffd3 rflags 00010247 cs f000 (000f0000/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 0040 (00000400/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 0040 (feffd000/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 fce40/37 idt 0/3ff cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0 (qemu) (qemu) info status VM status: paused Expected results: Additional info:
Reproduce only 2 times from how may retries? Which host CPU is that (I see this is Intel, but what /proc/cpuinfo says exactly)?
(In reply to comment #2) > Reproduce only 2 times from how may retries? Which host CPU is that (I see this > is Intel, but what /proc/cpuinfo says exactly)? more than 10 times .I only reproduced 2 times ,then can not reproduced it processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz stepping : 4 cpu MHz : 1600.000 cache size : 8192 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid bogomips : 5319.08 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual
Reproduced on # uname -r 2.6.32-117.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.147.el6.x86_64 Every time I trigger it is that execute do (qemu)system_reset after "Red Hat nash version 5.1.19.6 starting (referring to screendump)
Created attachment 479819 [details] screendump at this moment ,do (qemu)system_reset
Patch(es) available on kernel-2.6.32-128.el6
Verified on kernel-2.6.32-128.el6 steps: 1.start RHEL5u6 guest. CLI: usr/libexec/qemu-kvm -M rhel6.0.0 -enable-kvm -m 4G -smp 4 -name rhel5U6 -uuid ddcbfb49-3411-1701-3c36-6bdbc00bedb9 -rtc base=utc,clock=host,driftfix=slew -boot c -drive file=/home/test.raw,if=none,id=drive-ide0-0-0,boot=on,format=raw,cache=none -device virtio-blk-pci,drive=drive-ide0-0-0,id=drive-ide0-0-0 -netdev tap,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:50:a4:c2:c1 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc :2 -device virtio-balloon-pci,id=ballooning -device virtio-serial-pci,id=virtio-serial0,max_ports=31,bus=pci.0 -chardev socket,path=/tmp/vport0,server,nowait,id=channel0 -device virtserialport,chardev=channel0,id=port0 -monitor unix:/tmp/tt,server,nowait 2for ((i=1;i<=1000;i++)) do echo system_reset |nc -U /tmp/tt sleep 16 done Actual Results: Tried 1000 times ,no KVM internal error Occurs. Based on above ,This issue has been fixed. Change status to VERIFIED.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html