Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 643844

Summary: [kvm] guest machine pauses with unknown reason: kvm: unhandled exit 80000021
Product: Red Hat Enterprise Linux 6 Reporter: Haim <hateya>
Component: qemu-kvmAssignee: Jes Sorensen <Jes.Sorensen>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: bazulay, gleb, hateya, jkurik, kwolf, mgoldboi, mkenneth, plyons, tburke, virt-maint, yeylon, ykaul
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-09 10:02:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim 2010-10-18 09:49:58 UTC
Description of problem:

guest machine pauses with no actual STOP reason, and when digging a bit and connecting to monitor socket, trying to continue it via QMP, it pauses immediately, thus, checking stdout reviles the following: 


hreads=1 -name chaos-pool-08 -uuid 97393260-23e3-4094-a5f3-6a758d52a0b6 -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/chaos-pool-08.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=2010-9-14T17:21:59 -boot c -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/6d849ebf-755f-4552-ad09-9a090cda105d/8c2b9f05-2839-41f3-93ce-aa839a61fa08/images/85f09f8f-9a90-4dc4-b3bc-aa30943782d8/13fe7936-420d-4082-8206-9d24d98714e3,if=none,id=drive-virtio-disk0,boot=on,format=qcow2,serial=c4-b3bc-aa30943782d8,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:59,bus=pci.0,addr=0x3 -chardev socket,id=channel0,path=/var/run/vdsm/vmchannels/chaos-pool-08.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=0,chardev=channel0,name=com.redhat.rhevm.vdsm -usb -device usb-tablet,id=input0 -vnc 0:5,password -k en-us -vga cirrus 
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.0.0 -cpu Conroe -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name chaos-pool-08 -uuid 97393260-23e3-4094-a5f3-6a758d52a0b6 -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/chaos-pool-08.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=2010-9-17T12:18:21 -boot c -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/6d849ebf-755f-4552-ad09-9a090cda105d/8c2b9f05-2839-41f3-93ce-aa839a61fa08/images/85f09f8f-9a90-4dc4-b3bc-aa30943782d8/13fe7936-420d-4082-8206-9d24d98714e3,if=none,id=drive-virtio-disk0,boot=on,format=qcow2,serial=c4-b3bc-aa30943782d8,cache=none,werror=stop,rerror=stop -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:16:01:59,bus=pci.0,addr=0x3 -chardev socket,id=channel0,path=/var/run/vdsm/vmchannels/chaos-pool-08.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=0,chardev=channel0,name=com.redhat.rhevm.vdsm -usb -device usb-tablet,id=input0 -vnc 0:1,password -k en-us -vga cirrus 
kvm: unhandled exit 80000021
kvm_run returned -22
kvm: unhandled exit 80000021
kvm_run returned -22
kvm: unhandled exit 80000021
kvm_run returned -22
kvm: unhandled exit 80000021
kvm_run returned -22
kvm: unhandled exit 80000021
kvm_run returned -22
kvm: unhandled exit 80000021
kvm_run returned -22
kvm: unhandled exit 5
kvm_run returned -22
kvm: unhandled exit 80000021
kvm_run returned -22
(END) 

notes:

1) issue was investigated by both Kwolf and myself.
2) issue is reproducible, and happens consistently (start 5 vms, 1 goes to 
   pause) using different hosts and different guest processes. 
3) host runs over RHEL6, and guest machine is RHEL5. 
4) libvirt STOP

10:29:01.548: debug : qemuMonitorJSONIOProcessEvent:99 : handle STOP handler=0x478750 data=(nil)
10:29:01.548: debug : qemuMonitorEmitStop:808 : mon=0x7fd16400a3f0
10:29:01.549: debug : virDomainFree:2215 : domain=0x7fd170010120
10:29:01.549: debug : qemuHandleDomainStop:1322 : Transitioned guest chaos-pool-08 to paused state due to unknown event
10:29:01.549: debug : qemuMonitorJSONIOProcess:188 : Total used 81 bytes out of 81 available in buffer
10:29:01.549: debug : remoteRelayDomainEventLifecycle:118 : Relaying domain lifecycle event 4 0
10:29:01.549: debug : virDomainFree:2215 : domain=0x7fd17c001990
10:29:01.550: debug : remoteRelayDomainEventLifecycle:118 : Relaying domain lifecycle event 3 0


information: 

2.6.32-71.el6.x86_64
libvirt-0.8.1-27.el6.x86_64
vdsm-4.9-18.2.x86_64
device-mapper-multipath-0.4.9-30.el6.x86_64
lvm2-2.02.72-8.el6.x86_64
qemu-kvm-0.12.1.2-2.113.el6.x86_64
iptables-1.4.7-3.el6.x86_64

Comment 3 Gleb Natapov 2010-10-20 10:35:08 UTC
Install debuginfo qemu-kvm rpm, reproduce, show to me.

Comment 4 Gleb Natapov 2010-10-20 10:45:01 UTC
Also when you are saying "issue is reproducible using different hosts". Can you list cpu types on those hosts (cat /proc/cpuinfo)?

Comment 5 Haim 2010-10-20 14:19:32 UTC
(In reply to comment #3)
> Install debuginfo qemu-kvm rpm, reproduce, show to me.

provided.

Comment 6 Gleb Natapov 2010-10-21 09:24:14 UTC
nmi_watchdog tries to inject NMI while NMI is blocked by STI.

Comment 7 Gleb Natapov 2010-11-09 10:02:23 UTC

*** This bug has been marked as a duplicate of bug 616296 ***