Hi there,
I've a few Laptop and PCs with Fedora 21 and CentOS 7. On all system
resume from hibernate is still working, only on on Laptop (HP Revolve
810). Here are some interesting lines from "journalctl -b":
Jul 27 08:23:43 destnadml00 kernel: Kernel command line:
BOOT_IMAGE=/vmlinuz-4.0.8-200.fc21.x86_64
root=/dev/mapper/destnadml00_vg-root_lv ro
rd.lvm.lv=destnadml00_vg/root_lv
rd.luks.uuid=luks-9927c3a0-13dd-4a34-ac0f-984
Jul 27 08:23:43 destnadml00 kernel: PM: Checking hibernation image
partition /dev/destnadml00_vg/swap_lv
Jul 27 08:24:06 destnadml00 systemd-cryptsetup[340]: Set cipher aes,
mode xts-plain64, key size 512 bits for device
/dev/disk/by-uuid/9927c3a0-13dd-4a34-ac0f-984d37cd7803.
Jul 27 08:24:08 destnadml00 dracut-initqueue[310]: Scanning devices dm-0
for LVM logical volumes destnadml00_vg/root_lv destnadml00_vg/swap_lv
destnadml00_vg/root_lv destnadml00_vg/swap_lv
Jul 27 08:24:08 destnadml00 dracut-initqueue[310]: inactive
'/dev/destnadml00_vg/root_lv' [50.00 GiB] inherit
Jul 27 08:24:08 destnadml00 dracut-initqueue[310]: inactive
'/dev/destnadml00_vg/home_lv' [178.73 GiB] inherit
Jul 27 08:24:08 destnadml00 dracut-initqueue[310]: inactive
'/dev/destnadml00_vg/swap_lv' [9.00 GiB] inherit
Jul 27 08:24:08 destnadml00 kernel: PM: Starting manual resume from disk
Jul 27 08:24:08 destnadml00 kernel: PM: Hibernation image partition
253:2 present
Jul 27 08:24:08 destnadml00 kernel: PM: Looking for hibernation image.
Jul 27 08:24:08 destnadml00 kernel: PM: Image not found (code -22)
Jul 27 08:24:08 destnadml00 kernel: PM: Hibernation image not present or
could not be loaded.
Jul 27 08:24:08 destnadml00 systemd-hibernate-resume[751]: Could not
resume from '/dev/destnadml00_vg/swap_lv' (253:2).
Why is there a "kernel: PM: Image not found (code -22)"
What I've done:
[root@destnadml00 ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=destnadml00_vg/root_lv
rd.luks.uuid=luks-9927c3a0-13dd-4a34-ac0f-984d37cd7803
rd.lvm.lv=destnadml00_vg/swap_lv rd.luks.options=discard root_trim=yes
resume=/dev/destnadml00_vg/swap_lv rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
[root@destnadml00 ~]#grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Thanks
Andreas
_______________________________________________
laptop mailing list
laptop@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/laptop