SUSE Support

Here When You Need Us

System Fails to Resume from Hibernation

This document (000020287) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise Server 15 SP3

Situation

Putting a system in Hibernation mode, does not execute the resume function, but performs a standard reboot, losing any grey data expected to be saved.

Resolution

Install a YaST2 patch or enable the resume functionality manually.

a) Install the YaST2 Patch:

For systems where Hibernate / S4 capabilities are required, any system running SUSE Linux Enterprise 15 SP3 GM must be updated with the yast2-4.3.62-3.5.1.x86_64.rpm patch, which can be downloaded from the SUSE Customer Center.

1.       To install the patch, copy the RPM to the Desktop of the system being patched.
2.       Open a Terminal and type zypper in yast2-4.3.62-3.5.1.x86_64.rpm
3.       Reboot the system.


b) Manually Enabling Resume Functionality

Add "resume" to the initrd with the following commands:

# echo 'add_dracutmodules+=" resume"' > /etc/dracut.conf.d/resume.conf
# chmod a-x /usr/lib/systemd/systemd-hibernate-resume
# mkinitrd
# reboot


The first line makes the resume functionality a permanent part of the initrd.

 

The second line deactivates systemd-hibernate-resume so that Dracut includes /usr/lib/dracut/modules.d/95resume/parse-resume.sh in the initrd.
parse-resume.sh does use the resume=... parameter from /etc/cmdline.d/95resume.conf and triggers the resume from userspace as desired.

Cause

A regression, due to the missing resume boot parameter

Additional Information

Alternatively disable hibernation:
# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
and reboot.

To verify if it's been masked run:
# systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target

To re-enable suspend and hibernation:
# systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020287
  • Creation Date: 15-Jun-2021
  • Modified Date:22-Jun-2021
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.