You are not logged in.

#1 2025-06-23 07:18:21

xhpohanka
Member
Registered: 2014-10-21
Posts: 26

System hang after resume from hibernation on ThinkPad T14 Gen5

Hello,

I have Lenovo T14 AMD Gen 5
btrfs, whole system encrypted, I use cinnamon as DE
swapfile on subvolume, 32G

I have already posted about similar issue (https://bbs.archlinux.org/viewtopic.php?id=305759) and it seemed to be solved, but unfortunately it is happening again and even worse.

According to Seth recommendation I have specified resume parameters explicitly on cmdline and it helped for some time, but now I'm again in state when resume from hibernation works about 3 times from 4 attempts.

- if it is failing system hangs completely
- during boot which should lead to resume I just enter password to decrypt my drive and I see it proceeds to resume but...
- system hangs completely, sometimes screensaver from last session is displayed, sometimes the screen is just blank, led of capslock is sometimes blinking
- surprisingly there is no log other in journal, journalctl -b -1 shows 'hibernation entry' as the last item, next log is from fresh build (I'm forced to hard reset)

$ cat /proc/cmdline 
initrd=\initramfs-linux.img rd.luks.name=XXX=root rd.luks.options=timeout=30s,discard,password-echo=no,tries=3 root=/dev/mapper/root zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs acpi.ec_no_wakeup=1 resume=UUID=XXX resume_offset=3155200
$ journalctl -b -1
...
Jun 22 22:17:34 jules-ntb2 systemd-logind[1867]: Power key pressed short.
Jun 22 22:17:34 jules-ntb2 systemd-logind[1867]: The system will suspend and later hibernate now!
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.5959] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.5960] device (enp1s0f0): state change: unavailable -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.6026] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.6028] manager: NetworkManager state is now ASLEEP
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.6029] device (wlan0): state change: activated -> deactivating (reason 'sleeping', managed-type: 'full')
Jun 22 22:17:34 jules-ntb2 systemd[1]: Starting Network Manager Script Dispatcher Service...
Jun 22 22:17:34 jules-ntb2 systemd[1]: Started Network Manager Script Dispatcher Service.
Jun 22 22:17:34 jules-ntb2 kernel: wlan0: deauthenticating from 5c:02:14:b0:18:cb by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: nl80211: send_event_marker failed: Source based routing not supported
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-DISCONNECTED bssid=5c:02:14:b0:18:cb reason=3 locally_generated=1
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.7424] device (wlan0): supplicant interface state: completed -> disconnected
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.7425] device (wlan0): state change: deactivating -> disconnected (reason 'sleeping', managed-type: 'full')
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Withdrawing address record for fe80::8e3b:4aff:fe5e:ecd0 on wlan0.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::8e3b:4aff:fe5e:ecd0.
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.7430] dhcp4 (wlan0): canceled DHCP transaction
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Interface wlan0.IPv6 no longer relevant for mDNS.
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.7430] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: wlan0: PMKSA-CACHE-REMOVED 5c:02:14:b0:18:cb 0
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.7430] dhcp4 (wlan0): state changed no lease
Jun 22 22:17:34 jules-ntb2 systemd[2272]: Started dbus-:1.1-org.cinnamon.ScreenSaver@7.service.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Interface wlan0.IPv4 no longer relevant for mDNS.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.88.0.223.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Withdrawing address record for 10.88.0.223 on wlan0.
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.7841] device (wlan0): set-hw-addr: set MAC address to EA:66:AF:AC:CD:BB (scanning)
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Joining mDNS multicast group on interface wlan0.IPv4 with address 10.88.0.223.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: New relevant interface wlan0.IPv4 for mDNS.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Registering new address record for 10.88.0.223 on wlan0.IPv4.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Withdrawing address record for 10.88.0.223 on wlan0.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.88.0.223.
Jun 22 22:17:34 jules-ntb2 avahi-daemon[58451]: Interface wlan0.IPv4 no longer relevant for mDNS.
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=CZ
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=CZ
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.8709] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.8709] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.8710] device (wlan0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
Jun 22 22:17:34 jules-ntb2 cinnamon-screensaver[64511]: CsNotificationWatcher: Could not add match rule to bus - GDBus.Error:org.freedesktop.DBus.Error.MatchRuleInvalid: Invalid match rule
Jun 22 22:17:34 jules-ntb2 cinnamon-screensaver[64511]: Loading AccountsService
Jun 22 22:17:34 jules-ntb2 cinnamon-screensaver[64511]: Fractional scaling active: False
Jun 22 22:17:34 jules-ntb2 NetworkManager[1864]: <info>  [1750623454.9690] device (wlan0): set-hw-addr: reset MAC address to 8C:3B:4A:5E:EC:D0 (unmanage)
Jun 22 22:17:34 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=BR
Jun 22 22:17:34 jules-ntb2 cinnamon-screensaver[64511]: Trying to connect to logind...
Jun 22 22:17:34 jules-ntb2 cinnamon-screensaver[64511]: Starting screensaver...
Jun 22 22:17:35 jules-ntb2 cinnamon-screensaver[64511]: Cinnamon Screensaver support not found in current theme - adding some...
Jun 22 22:17:35 jules-ntb2 wpa_supplicant[1924]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 22 22:17:35 jules-ntb2 wpa_supplicant[1924]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 22 22:17:35 jules-ntb2 wpa_supplicant[1924]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
Jun 22 22:17:35 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 22 22:17:35 jules-ntb2 wpa_supplicant[1924]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Jun 22 22:17:35 jules-ntb2 wpa_supplicant[1924]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Jun 22 22:17:35 jules-ntb2 systemd[1]: Reached target Sleep.
Jun 22 22:17:35 jules-ntb2 systemd[1]: Starting System Suspend then Hibernate...
Jun 22 22:17:35 jules-ntb2 systemd[1]: user@1000.service: Unit now frozen-by-parent.
Jun 22 22:17:35 jules-ntb2 systemd[1]: session-2.scope: Unit now frozen-by-parent.
Jun 22 22:17:35 jules-ntb2 systemd[1]: user.slice: Unit now frozen.
Jun 22 22:17:35 jules-ntb2 systemd[1]: user-1000.slice: Unit now frozen-by-parent.
Jun 22 22:17:35 jules-ntb2 systemd-sleep[64536]: Successfully froze unit 'user.slice'.
Jun 22 22:17:35 jules-ntb2 systemd-sleep[64540]: /usr/lib/systemd/system-sleep/displaylink.sh: line 7: /tmp/PmMessagesPort_out: No such file or directory
Jun 22 22:17:35 jules-ntb2 systemd-sleep[64536]: Performing sleep operation 'suspend'...
Jun 22 22:17:35 jules-ntb2 kernel: PM: suspend entry (s2idle)
Jun 22 22:17:35 jules-ntb2 kernel: Filesystems sync: 0.035 seconds
Jun 22 22:17:36 jules-ntb2 bluetoothd[1865]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Jun 22 22:17:36 jules-ntb2 bluetoothd[1865]: profiles/input/device.c:control_connect_cb() connect to DC:2C:26:41:59:D7: Connection reset by peer (104)
Jun 23 00:17:36 jules-ntb2 kernel: Freezing user space processes
Jun 23 00:17:36 jules-ntb2 kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Jun 23 00:17:36 jules-ntb2 kernel: OOM killer disabled.
Jun 23 00:17:36 jules-ntb2 kernel: Freezing remaining freezable tasks
Jun 23 00:17:36 jules-ntb2 kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Jun 23 00:17:36 jules-ntb2 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jun 23 00:17:36 jules-ntb2 kernel: ACPI: EC: interrupt blocked
Jun 23 00:17:36 jules-ntb2 kernel: ACPI: EC: interrupt unblocked
Jun 23 00:17:36 jules-ntb2 kernel: mhi mhi0: Requested to power ON
Jun 23 00:17:36 jules-ntb2 kernel: mhi mhi0: Power on setup success
Jun 23 00:17:36 jules-ntb2 kernel: mhi mhi0: Wait for device to enter SBL or Mission mode
Jun 23 00:17:36 jules-ntb2 kernel: amdxdna 0000:c5:00.1: [drm] firmware resuming...
Jun 23 00:17:36 jules-ntb2 kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000900000).
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: SMU is resuming...
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: SMU is resumed successfully!
Jun 23 00:17:36 jules-ntb2 kernel: nvme nvme0: 16/0/0 default/read/poll queues
Jun 23 00:17:36 jules-ntb2 kernel: ath11k_pci 0000:02:00.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211
Jun 23 00:17:36 jules-ntb2 kernel: ath11k_pci 0000:02:00.0: fw_version 0x11088c35 fw_build_timestamp 2024-04-17 08:34 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41
Jun 23 00:17:36 jules-ntb2 kernel: amdxdna 0000:c5:00.1: [drm] hardware context resuming...
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Jun 23 00:17:36 jules-ntb2 kernel: amdgpu 0000:c4:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
Jun 23 00:17:36 jules-ntb2 kernel: [drm] ring gfx_32782.1.1 was added
Jun 23 00:17:36 jules-ntb2 kernel: [drm] ring compute_32782.2.2 was added
Jun 23 00:17:36 jules-ntb2 kernel: [drm] ring sdma_32782.3.3 was added
Jun 23 00:17:36 jules-ntb2 kernel: [drm] ring gfx_32782.1.1 ib test pass
Jun 23 00:17:36 jules-ntb2 kernel: [drm] ring compute_32782.2.2 ib test pass
Jun 23 00:17:36 jules-ntb2 kernel: [drm] ring sdma_32782.3.3 ib test pass
Jun 23 00:17:36 jules-ntb2 kernel: OOM killer enabled.
Jun 23 00:17:36 jules-ntb2 kernel: Restarting tasks ... done.
Jun 23 00:17:36 jules-ntb2 kernel: random: crng reseeded on system resumption
Jun 23 00:17:36 jules-ntb2 systemd[1]: Starting Update the plocate database...
Jun 23 00:17:36 jules-ntb2 systemd-sleep[64536]: System returned from sleep operation 'suspend-then-hibernate'.
Jun 23 00:17:36 jules-ntb2 systemd[1]: Started Verify integrity of password and group files.
Jun 23 00:17:36 jules-ntb2 bluetoothd[1865]: Controller resume with wake event 0x0
Jun 23 00:17:36 jules-ntb2 kernel: PM: suspend exit
Jun 23 00:17:36 jules-ntb2 systemd[1]: shadow.service: Deactivated successfully.
Jun 23 00:17:36 jules-ntb2 systemd-sleep[64862]: /usr/lib/systemd/system-sleep/displaylink.sh: line 7: /tmp/PmMessagesPort_out: No such file or directory
Jun 23 00:17:37 jules-ntb2 systemd-sleep[64536]: Performing sleep operation 'hibernate'...
Jun 23 00:17:37 jules-ntb2 kernel: PM: hibernation: hibernation entry

Any recommendations, plase?

BR
Jan

Last edited by xhpohanka (2025-06-23 07:18:55)

Offline

#2 2025-07-15 09:08:07

krackle
Member
Registered: 2025-07-15
Posts: 1

Re: System hang after resume from hibernation on ThinkPad T14 Gen5

I've been having the exact same problems with the exact same laptop (T14 Gen 5 AMD) and I finally decided to make an account just to reply to your post. Things were working fine around a month ago, but I suspect some kernel or firmware update is causing this system to crash.

Your logs look identical to mine. I've also tried using kdump but wasn't able to get it to collect logs after the freeze-- the system just reboots and runs fsck. I also set up explicit resume parameters before back when hibernate worked properly and have tried with and without them since.

Offline

#3 2025-07-15 09:14:16

xhpohanka
Member
Registered: 2014-10-21
Posts: 26

Re: System hang after resume from hibernation on ThinkPad T14 Gen5

I still don't know what is causing this issue, but after some time I think it is somehow related with docking station or hdmi output. I have never get into this issue using my laptop alone, but once I have external monitor or docking station with monitors connected and resuming from hibernation, than the chance of failure is pretty high...

Offline

#4 2025-11-18 22:29:40

jyap
Member
Registered: 2025-11-18
Posts: 1

Re: System hang after resume from hibernation on ThinkPad T14 Gen5

Exact same issue on a Thinkpad Gen 4 Intel, although running NixOS. At some point this broke at Linux Kernel 6.15. Worked fine with Kernel 6.14. I have been running the LTS Kernel 6.12 and testing some newer kernels when they come out but all fail in the same way. First hibernation and resume works fine. Subsequent hibernation and then resume fails with full freeze and flashing Caps Lock. Explicit resume parameters does nothing.

What I've tested and all fail:
6.15.0/1/2/3, 6.16.0-rc7/6, 6.17.1/8, 6.18.0-rc2

So right now I'm on 6.12.78.

Hit me up if you find the fix.

One possibility is to try and find what was introduced in the 6.15.0 kernel which broke this.

Offline

Board footer

Powered by FluxBB