I’ve noticed that if I try to upgrade past kernel version 6.10.14, hibernate stops working for me. I’m not sure where to start troubleshooting this. Has anyone been able to get hibernate working on a kernel version newer than this?
edit: The symptom I’m experiencing on newer kernels is on resume. When I try to resume from hibernate on a newer kernel the system freezes on startup.
Which Linux distro are you using?
Fedora
Which release version?
41
Which kernel are you using?
6.10.14-200.fc40.x86_64. Anything higher than this, hibernate stops working.
Which BIOS version are you using?
paul@fedora:~$ sudo dmidecode | grep -A3 'Vendor:\|Product:' && sudo lshw -C cpu | grep -A3 'product:\|vendor:'
Vendor: INSYDE Corp.
Version: 03.05
Release Date: 03/29/2024
Address: 0xE0000
product: AMD Ryzen 5 7640U w/ Radeon 760M Graphics
vendor: Advanced Micro Devices [AMD]
physical id: 4
bus info: cpu@0
version: 25.116.1
selinux
paul@fedora:~$ sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33
Partitioning
Parition | Mount Point | File System Type | Size |
---|---|---|---|
/dev/nvme0n1p1 | /boot/efi | fat32 | 630 MB |
/dev/nvme0n1p2 | /boot | ext4 | 1 GB |
/dev/nvme0n1p3 | swap | swap | 38 GB |
/dev/nvme0n1p4 | / | btrfs | 107 GB |
/dev/nvme0n1p5 | /home | btrfs | ~remaining |
I discovered through some trial and error that I can get hibernate working with the 6.10 series of kernels by having a swap partition. I can also leave selinux enabled this way.
I was able to install this older kernel on Fedora 41 by using koji. Guide: Installing Kernel from Koji :: Fedora Docs
Anyway, can someone help me to troubleshoot this? The 6.10.14 kernel is working for me now, but it would be nice to be able to upgrade at some point.