On Fri, 2017-04-21 at 11:02 +0200, Martin Steigerwald wrote: [...] > Currently I don´t have uswsusp installed, but pm-utils is > still there. I am not sure whether systemd uses it or does it all by itself > tough.
I think 'systemctl hibernate' invokes in-kernel swsusp by default. I don't know what pm-utils does. [...] > I never managed to get around actually looking whats going on here, but I now > found that I do not have any resume setting in > > shambhala:/etc/initramfs-tools> grep -ir "RESUME" . > shambhala:/etc/initramfs-tools#1> So initramfs-tools will automatically select a swap partition and put its UUID in the initramfs... > Instead I have it here: > > shambhala:/etc/default> grep -i resume grub > GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda2 init=/bin/systemd" ...but the command line parameter overrides that configuration, anyway. > shambhala:~> swapon -s > Dateiname Typ Größe Benutzt > Priorität > /dev/sda2 partition 4000180 0 -1 > > shambhala:~> lsblk /dev/sda2 > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda2 8:2 0 3,8G 0 part [SWAP] > shambhala:~> LANG=C swapon -s > Filename Type Size Used > Priority > /dev/sda2 partition 4000180 0 -1 > > > Okay, I will upgrade to the new initramfs-tools and look whether it fixes the > issue. I think that the changes in 0.128 - to wait for the resume device to appear - may fix this problem. The changes I've posted here shouldn't make any difference for your configuration. > If not, I may try setting RESUME var to first "auto" and if not working > still then the device in question to see whether that helps. I welcome any > other ideas and I am willing to report back what I find. RESUME=auto isn't supported in a released version. Ben. -- Ben Hutchings I'm not a reverse psychological virus. Please don't copy me into your sig.
signature.asc
Description: This is a digitally signed message part