Thanks. This helps debugging. The relevant log line:

/usr/lib/dracut/modules.d/74resume/module-setup.sh@25(check): return 255

This means you hit this code path:

        if grep -rqsE '(^| )resume=' /proc/cmdline /etc/kernel/cmdline 
/usr/lib/kernel/cmdline; then
            # hibernation support requested on kernel command line
            return 0
        else
            # resume= not set on kernel command line
            if [[ -f /sys/power/resume ]]; then
                if [[ "$(< /sys/power/resume)" == "0:0" ]]; then
                    # hibernation supported by the kernel, but not enabled
                    return 255

Can you test following with a fresh system:

1. Make sure system is supported the power state
user@localhost:~$ cat /sys/power/state
freeze mem disk

2. Configured swap partition and populated the resume kernel boot
parameter resume=/dev/<swap partition> and update the grub

3. Reboot the system

4. Regenerate the initrd with debug log and no dracut config changes.

Does that include the resume module? If not, please provide the debug
log for that case as well.

After the reboot you should hit the "hibernation support requested on
kernel command line" case or /sys/power/resume should contain something
else than "0:0".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158694

Title:
  dracut required resume module  to perform S4  hibernation gracefully.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2158694/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to