Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 677314 - system_reset cause KVM internal error. Suberror: 2
system_reset cause KVM internal error. Suberror: 2
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel (Show other bugs)
6.1
x86_64 Linux
unspecified Severity medium
: rc
: ---
Assigned To: Gleb Natapov
Virtualization Bugs
:
Depends On:
Blocks: 580954
  Show dependency treegraph
 
Reported: 2011-02-14 05:39 EST by Mike Cao
Modified: 2013-12-08 19:53 EST (History)
6 users (show)

See Also:
Fixed In Version: kernel-2.6.32-128.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 08:43:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screendump (15.85 KB, image/png)
2011-02-21 00:12 EST, Mike Cao
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 07:58:07 EDT

  None (edit)
Description Mike Cao 2011-02-14 05:39:01 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:
Comment 2 Gleb Natapov 2011-02-18 04:51:56 EST
Reproduce only 2 times from how may retries? Which host CPU is that (I see this is Intel, but what /proc/cpuinfo says exactly)?
Comment 3 Mike Cao 2011-02-18 04:55:31 EST
(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
Comment 4 Mike Cao 2011-02-21 00:09:41 EST
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)
Comment 5 Mike Cao 2011-02-21 00:12:25 EST
Created attachment 479819 [details]
screendump

at this moment ,do (qemu)system_reset
Comment 6 Aristeu Rozanski 2011-03-30 10:33:47 EDT
Patch(es) available on kernel-2.6.32-128.el6
Comment 10 Mike Cao 2011-04-14 08:40:41 EDT
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.
Comment 11 errata-xmlrpc 2011-05-19 08:43:13 EDT
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

Note You need to log in before you can comment on or make changes to this bug.