Bug 657188

Summary: guest cannot suspend to s4
Product: Red Hat Enterprise Linux 5 Reporter: Chao Yang <chayang>
Component: kernelAssignee: Andrea Arcangeli <aarcange>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: ehabkost, gcosta, gleb, juzhang, michen, mkenneth, rhod, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-28 12:54:07 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:
Bug Depends On:    
Bug Blocks: 580948    
Attachments:
Description Flags
bash error message
none
kernel console output
none
guest device message
none
error messages guest claims when do suspend to disk none

Description Chao Yang 2010-11-25 06:44:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):
--Host
# rpm -qa|grep kvm
kmod-kvm-83-215.el5
kmod-kvm-debug-83-215.el5
kvm-qemu-img-83-215.el5
kvm-tools-83-215.el5
etherboot-zroms-kvm-5.4.4-13.el5
kvm-debuginfo-83-215.el5
kvm-83-215.el5

# uname -r
2.6.18-232.el5

--Guest

# uname -r
2.6.32-71.el6.x86_64



How reproducible:


Steps to Reproduce:
1. boot guest with
# /usr/libexec/qemu-kvm -no-hpet -rtc-td-hack -usbdevice tablet -startdate now -name rhel6.0-64 -smp 2 -m 4G -boot c  -drive file=/root/zhangjunyi/rhel6.0_64.qcow2,media=disk,if=ide,cache=none,format=qcow2,werror=stop,boot=on -vnc :18 -cpu qemu64 -M rhel5.6.0 -notify all -balloon none -monitor stdio -net none
2. connect to guest use vnc
3. suspend to disk
# echo disk > /sys/power/state
  
Actual results:

guest cannot suspend to s4
Expected results:

guest suspend to s4 correctly
Additional info:
1. Both hit the issue with -pcidevice and without -pcidevice
2. guest error message: write error: device or resouce busy
3. attached screenshot and kernel output

Comment 1 Chao Yang 2010-11-25 06:46:14 UTC
Created attachment 462831 [details]
bash error message

Comment 2 Chao Yang 2010-11-25 06:47:13 UTC
Created attachment 462832 [details]
kernel console output

Comment 3 Chao Yang 2010-11-25 06:47:47 UTC
Created attachment 462833 [details]
guest device message

Comment 4 Gleb Natapov 2010-12-01 13:11:32 UTC
guest problem with khugepaged.

Comment 10 Chao Yang 2011-02-25 09:18:55 UTC
Created attachment 480960 [details]
error messages guest claims when do suspend to disk

Comment 11 Ronen Hod 2011-08-28 12:54:07 UTC
Closing for RHEL5.8. Suspend to S4 is not crucial.