Red Hat Bugzilla – Bug 1293664
Request for pm-suspend-hybrid backport from RHEL 7 to RHEL 6.8
Last modified: 2015-12-22 11:03:50 EST
Description of problem:
RHEL 6.8 BZ 910715 against the kernel complains that pm-suspend-hybrid does not work in RHEL 6.
In response to that BZ the kernel support via sysfs /sys/power/disk and /sys/power/state has been added.
However, even with the kernel support in place, the pm-suspend-hybrid command does not notice or utilize this support without a patch to the pm-functions shell script.
The relevant pm-utils patch from rhel-7.x is pm-utils-1.4.1-add-in-kernel-suspend-to-both.patch
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Using a test kernel with support for suspend hybrid.
[root@uefi09 ~]# uname -a
Linux uefi09.desklab.eng.bos.redhat.com 2.6.32-593.el6.bz0910715.lss01.x86_64 #1 SMP Mon Dec 21 13:15:36 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@uefi09 ~]# cat /sys/power/disk
[platform] test testproc shutdown reboot suspend
Attempt to invoke pm-suspend-hybrid does nothing except return an error
[root@uefi09 ~]# pm-suspend-hybrid
[root@uefi09 ~]# echo $?
echo "suspend" > /sys/power/disk
echo "disk" > /sys/power/state
Didn't notice that there was already a prior BZ for exactly this problem.
*** This bug has been marked as a duplicate of bug 870895 ***