RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 677314 - system_reset cause KVM internal error. Suberror: 2
Summary: system_reset cause KVM internal error. Suberror: 2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Gleb Natapov
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580954
TreeView+ depends on / blocked
 
Reported: 2011-02-14 10:39 UTC by Mike Cao
Modified: 2018-11-14 13:08 UTC (History)
6 users (show)

Fixed In Version: kernel-2.6.32-128.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:43:13 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 11:58:07 UTC

Description Mike Cao 2011-02-14 10:39:01 UTC
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 09:51:56 UTC
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 09:55:31 UTC
(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 05:09:41 UTC
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 05:12:25 UTC
Created attachment 479819 [details]
screendump

at this moment ,do (qemu)system_reset

Comment 6 Aristeu Rozanski 2011-03-30 14:33:47 UTC
Patch(es) available on kernel-2.6.32-128.el6

Comment 10 Mike Cao 2011-04-14 12:40:41 UTC
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 12:43:13 UTC
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.