Bug 657188 - guest cannot suspend to s4
Summary: guest cannot suspend to s4
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.6
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Andrea Arcangeli
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: Rhel5KvmTier2
TreeView+ depends on / blocked
 
Reported: 2010-11-25 06:44 UTC by Chao Yang
Modified: 2011-08-28 12:54 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-28 12:54:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
bash error message (15.45 KB, image/png)
2010-11-25 06:46 UTC, Chao Yang
no flags Details
kernel console output (2.19 KB, text/plain)
2010-11-25 06:47 UTC, Chao Yang
no flags Details
guest device message (137.98 KB, text/plain)
2010-11-25 06:47 UTC, Chao Yang
no flags Details
error messages guest claims when do suspend to disk (21.09 KB, text/plain)
2011-02-25 09:18 UTC, Chao Yang
no flags Details

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.


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