Ability to hibernate lost after update of kernel version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi!
I have Ubuntu 18.04 installed (due to Petalinux requirement) where Hibernation so far at least worked. Recently I got an update notification, confirmed it and am now running on this version:
$ uname -a
Linux datatel-
Before the update, using kernel 5.4.0.74 a "sudo hibernate" worked fine. Now it does not, instead returns a black screen for a sec and then this notice:
hibernate:Warning: Tuxonice binary signature file not found.
In addition the system hangs for a couple of seconds.
Looking for help on that I saw several posts proposing to adapt /sys/power/state, adding "disk" and "standby" to it. I have tried that in any possible way I could think of, using vi directly on the file (as su), writing it with an "echo... > /sys/power/state" command, making up a file in my home and then copying to that location using "sudo cp ~/<file> /sys/power/state". Neither of this works. I always get a permission error. I have even tried to "chmod" all the directories to "777" and that was successful looking at "ls -la" but won't help either.
Maybe I should mention that my Ubuntu installation resides on a USB-Stick.
I posted this on Ask Ubuntu and was asked to file a bug report. So here you are.
Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-77-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.24
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 2 09:16:59 2021
InstallationDate: Installed on 2021-05-11 (51 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDistupgra
Log time: 2021-05-17 11:54:33.809310
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Log time: 2021-05-17 11:55:10.776569
-------
7th July:
Sorry to say that I have meanwhile (after a restoration of my root partition to kernel version 5.4.0-74) figured out that the above error
"hibernate:Warning: Tuxonice binary signature file not found."
does not come from the kernel update (to -77) but seemingly from my repartioning.
What I did:
I have a 256GB SanDisk USB stick where I installed Ubuntu 18.04.04 .
Partitioning was:
/dev/sda1 fat32 /efi 1,4G
/dev/sda2 fat32 /mnt/UDISK 55,6G
/dev/sda3 ext4 / 140G
/dev/sda4 swap 35,9G
I made a backup of sda3 with dd deleted sda2 und sda3 with gparted and increased the size of sda2 to the max then, partitioning:
/dev/sda1 fat32 /efi 1,4G
/dev/sda2 ext4 / 195,6G
/dev/sda4 swap 35,9G
I restored (former) sda3 to now sda2 tried to reboot, got a boot problem because /etc/fstab still contained the old sda2 entry, removed that and the system booted apparently normal.
Then I made a "sudo resize2fs /dev/sda2" to get the full size of the partition for the file system and it seemed to work fine.
BUT: Now hibernation does not work any more and produces the above error - before the Software Updater came forward.
affects: | ubuntu → ubuntu-release-upgrader (Ubuntu) |
description: | updated |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Changing ubuntu- release- upgrader -> linux
(install was bionic, it's still bionic so no release-upgrade has occurred; I believe bot-crichton was wrong)