Bug 678993

Summary: hibernate of suspend testing fail on RHEL6.1
Product: [Retired] Red Hat Hardware Certification Program Reporter: chen yuwen <yuchen>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: czhang, rlandry, ykun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-01 14:21:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
hibernate of suspend fail on RHEL6.1 none

Description chen yuwen 2011-02-21 08:34:49 UTC
Description of problem:
Nothing happened on OSCommand-disk subtest.

On FunctionKey-disk subtest: 
Type keys: Fn+F12, and then the screen turn darker for about 1 second and recover.

The system did not hibernate.

Version-Release number of selected component (if applicable):
Lenovo T400
RHEL6.1-20110210.1
v7-1.3-10

How reproducible:
always

Steps to Reproduce:
1. install v7 and dependencies
2. run: v7 run -t suspend
3.
  
Actual results:
FAIL

Expected results:
PASS

Additional info:

Comment 1 chen yuwen 2011-02-21 08:36:44 UTC
Created attachment 479841 [details]
hibernate of suspend fail on RHEL6.1

Comment 2 Rob Landry 2011-02-21 15:47:57 UTC
Is the T400 known to suspend using the Fn keys outside of v7 on this kernel?  The above doesn't look like a test suite issue.

Comment 3 chen yuwen 2011-02-22 10:17:08 UTC
I agree with you.
But run: echo "disk" > /sys/power/state
then the system can hibernate.

Comment 4 Rob Landry 2011-02-22 15:55:44 UTC
/sys unfortunatley doesn't demonstrate the fn key though it does prove that the system is capable of hibernating.  Does the fn keycombo work to hibernate outside of v7?

Comment 5 chen yuwen 2011-02-23 02:27:06 UTC
It doesn't work outside of v7.

Comment 6 Rob Landry 2011-02-23 02:46:45 UTC
Sounds like v7 is working properly in that case, although another system which can hibernate via fn key combo would be needed to verify the positive case.

Comment 8 chen yuwen 2011-03-04 02:58:28 UTC
I'm afraid that it's because RHEL6.1 doesn't support hibernate feature via pm-hibernate and FunctionKey.

Comment 10 chen yuwen 2011-03-07 11:20:36 UTC
On Lenovo Thinkpad T400, it doesn't work in RHEL6.0, too. 
But pm-hibernate can work in 6.0 and 6.1 on other machine.

Lenovo Thinkpad T400 doesn't support pm-hibernate and FunctionKey-disk.

Comment 11 Rob Landry 2011-04-01 14:21:45 UTC
This sounds like the T400 doesn't work and v7 properly failed it and this behavior hasn't changed between 6.0 and 6.1.  I'm going to go ahead and close this as notabug.