Comment 28 for bug 1568341

Revision history for this message
Sebastiaan Breedveld (s-breedveld) wrote :

@Christopher: perhaps. My system became somewhat convoluted while trying to get hibernation to work somehow.

Clean test:
- disabled Secure Boot, just to be sure
- installed Xubuntu 18.04 alpha 2, most recent daily image
- updated and installed only uswsusp
- reboot

Boot hangs at the exact same point as with the OP. However, after a 5-10 minutes wait, the system informs me that it cannot find the resume device, and I could press [Enter] to boot normally.

It seems that uswsusp is installed without proper (forced) configuration:
1) The UUID displayed it not part of my system
2) I found this reference in /etc/uswsusp.conf
3) I disabled cryptoswap, and set resume_device to my swap partition (just to make things easy)
4) I used s2disk, and see a progress bar that the session is written to disk
5) After booting, still the long wait, and uswsusp is still looking at the wrong device (why?)
6) I manually enter my swap partition on request, and see that the system is being loaded from disk
7) Screen stays black

So I am not sure what problem I am running into. I think uswsusp is not configured, and some configuration should be forced before enabling it after installation. Also, the wait could be reduced.

The black screen problem may be related to kernel 4.13 (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743094 ), a behavior I also encountered with 16.04.3 LTS and pm-hibernate on the same system (downgrading to 4.10 helped).