@cmeerw - It took me a while to realise that getting hibernate to work on 18.04 required adding the kernel parameter 'resume=UUID=uuidofswappartition' (and also 'resume_offset=' if you're using a swap file) to /etc/default/grub.
(Ubuntu 16.04 and Kubuntu 16.04 will hibernate happily without the 'resume=' parameter added, so I was starting to wonder if hibernate was working on any machine after 16.04!) Tested using `sudo systemctl hibernate` on the HP Pavilion N3540 with suspend issues. The results are the same for both Ubuntu and Kubuntu 18.04. kernel 4.14.47 - Hibernate function works as it should kernel 4.15.0-24 (with patch applied) - Hibernate begins as normal but system does not shut down by itself. PowerLED stays on. Machine unresponsive. Holding down the power button to force shutdown is required. - Upon reboot, the system resumes from where it left off, as if hibernate had worked fine. --kern.log entries look the same irrespective of whether the system hangs and requires forced shutdown. PM: hibernation entry PM: Syncing filesystems ... - (timestamp gap of about a minute before next entries - shutdown then reboot) - PM: done. Freezing user space processes ... (elapsed 0.001 seconds) done. OOM killer disabled. PM: Marking nosave pages: [mem 0x00000000-0x00000fff] etc... So hibernate almost works as it should but requires a forced shutdown in the 4.15.0-24 kernel with the patch applied. (Also tested a machine that doesn't experience suspend issues and hibernate works as it should with standard up-to-date Ubuntu 18.04 with kernel 4.15.0-23) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1774950 Title: Suspend fails in Ubuntu and Kubuntu 18.04 but works fine in Ubuntu and Kubuntu 17.10 (and on Kubuntu 18.04 using kernel 4.14.47) Status in linux package in Ubuntu: Confirmed Bug description: I have installed Kubuntu 18.04 on 3 different machines (my friend's and my own) with no suspend problems but my HP Pavilion 11 x360 does not suspend. It suspends fine with Ubuntu 17.10, Kubuntu 17.10, Devuan Jesse, Devuan ASCII and Windows 10 but fails with Ubuntu 18.04 and Kubuntu 18.04. I have also tried suspend using a live USB of 18.04 on this machine and it fails in the same way, so does not appear to be caused by any additional programs that I had installed. By installing an older kernel (4.14) on Kubuntu 18.04 the suspend function works as expected. Running Kubuntu 18.04 with kernels 4.15, 4.16, 4.17 results in the suspend failure that freezes the machine and requires a hard reset. Correct behaviour is - Screen goes blank, fan goes off, power LED flashes to show machine is in suspend. Pressing power button triggers 'resume' function. What happens - Screen goes blank, fan stays on, power LED stays on. Machine stays in this state and does not respond to any keyboard interaction, mouse movement or power button presses. Ctrl + Alt + f1 (or f2, f3, f4 etc) does not get any response. The only way to use the machine is to shut down by holding down the power button. Checking the logs suggests that the machine believes it is in suspend mode sleep [deep] when it isn't. Having to hard reset to get any response means that the kernel logs say no more than sleep [deep] pm-suspend also results in the same problems with kernels 4.15 and 4.16, but works fine with 4.14. It is curious that a machine that suspends fine on an earlier 4.14 kernel no longer works with 4.15 and above, whilst 3 other machines (including one with pretty similar hardware) do not exhibit this problem. There are only a handful of questions about it on the forums but at least 3 other people have the same problem: https://askubuntu.com/questions/1029405/ubuntu-18-04-crashes-on- resuming-from-suspend https://askubuntu.com/questions/1041369/after-upgrading- from-17-10-ubuntu-18-04-wont-sleep-suspend I am attempting to round up anyone else with the same issue and point them to this bug report. My laptop is HP Pavilion x360 11-n013na Matalaks is Acer Aspire ES1-511 collisionTwo has XPS 9560 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1774950/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp