I recently upgraded my kernel from 3.16.4 (Debian jessie) to 4.9.0 (Debian stretch).Everything was fine, until I tried to Hibernate (suspend to disk).When I use Hibernate option in LXDE, it appears to hibernate. I can hear the disk spindle ticking and writing data. But the problems appears when resuming from hibernation. The kernel successfully restores the image from swap, but then freezes and reboots, with all that work lost. I could not find answer anywhere on internet. The people are just solving some mistakes around not setting /etc/initramfs-tools/conf.d/resume or have set kernel paramters, or have wrong entry in /etc/fstab. I have these correct. Correct UUID in /etc/initramfs-tools/conf.d/resume, correct fstab and not set resume kernel paramter.I moved the swap partition outside of the extended partition to primary. The UUID was saved and applied to the new swap.The system reaches Restoring image 100% and then Suspending consoles, and then it powers off and boots normally, with all work lost.Tried clean install, but without luck.Happens only on i386 (32-bit x86), amd64 (64-bit x86) does not suffer.Disk partition table layout:NAME   FSTYPE LABEL    UUID                                 MOUNTPOINTsda                                                         sda1 ext4   HDD      4669ca48-ff10-4211-aad9-1dd69fe10a42 /sda2 swap   HDD-SWAP cb27c418-3c56-4ba1-870d-044bd9680ba9 [SWAP]sr0The sda2 was logical(resides-inside-extended) before the upgrade.Fstab:UUID=4669ca48-ff10-4211-aad9-1dd69fe10a42 / ext4 errors=remount-ro 0 1UUID=cb27c418-3c56-4ba1-870d-044bd9680ba9 none swap sw 0 0/etc/initramfs-tools/conf.d/resumeRESUME=UUID=cb27c418-3c56-4ba1-870d-044bd9680ba9Kernel cmdlineBOOT_IMAGE=/boot/vmlinuz-4.9.0-3-686-pae root=UUID=4669ca48-ff10-4211-aad9-1dd69fe10a42 ro quietSystem information:Computer: Compaq CQ60Swap Size: 3.5GiBProcessor: AMD Athlon IIGPU: Nvidia Geforce 8200M GMemory: 2G DDR2 667MHzDesktop Environment: LXDEDebian Version: 9 (stretch)Kernel version: 4.9.0Graphics Driver: nvidia legacy 304xxxEDIT:Couldn't be nvidia graphics the problem?
Hibernation resume fail on linux kernel 4.9.0, Debian 9
debian;linux kernel;fstab;initramfs;hibernate