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 1293664 - Request for pm-suspend-hybrid backport from RHEL 7 to RHEL 6.8
Summary: Request for pm-suspend-hybrid backport from RHEL 7 to RHEL 6.8
Keywords:
Status: CLOSED DUPLICATE of bug 870895
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pm-utils
Version: 6.8
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 15:46 UTC by Lenny Szubowicz
Modified: 2015-12-22 16:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-22 16:03:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lenny Szubowicz 2015-12-22 15:46:12 UTC
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):

pm-utils-1.2.5-11


How reproducible:


Steps to Reproduce:
1. pm-suspend-hybrid


Actual results:

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 $?
1

Expected results:

echo "suspend" > /sys/power/disk
echo "disk" > /sys/power/state

Comment 2 Lenny Szubowicz 2015-12-22 16:03:50 UTC
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 ***


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