Re: [regression] 6.8.1: fails to hibernate with pm_runtime_force_suspend+0x0/0x120 returns -16
From: Martin Steigerwald
Date: Sat Mar 16 2024 - 12:12:33 EST
Martin Steigerwald - 16.03.24, 17:02:44 CET:
> ThinkPad T14 AMD Gen 1 fails to hibernate with self-compiled 6.8.1.
> Hibernation works correctly with self-compiled 6.7.9.
Apparently 6.8.1 does not even reboot correctly anymore. runit on Devuan.
It says it is doing the system reboot but then nothing happens.
As for hibernation the kernel cancels the attempt and returns back to
user space desktop session.
> Trying to use "no_console_suspend" to debug next. Will not do bisect
> between major kernel releases on a production machine.
Output with "no_console_suspend":
[ 82.593360] r8169 0000:05:00.0 en1: Link is Down
[ 83.196401] PM: hibernation: hibernation entry
[ 83.671489] Filesystems sync: 0.121 seconds
[ 83.671977] Freezing user space processes
[ 83.674855] Freezing user space processes completed (elapsed 0.002 seconds)
[ 83.674879] OOM killer disabled.
[ 83.675111] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[ 83.675114] PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff]
[ 83.675117] PM: hibernation: Marking nosave pages: [mem 0x09c00000-0x09d00fff]
[ 83.675122] PM: hibernation: Marking nosave pages: [mem 0x09f00000-0x09f0ffff]
[ 83.675123] PM: hibernation: Marking nosave pages: [mem 0xa2357000-0xa2357fff]
[ 83.675125] PM: hibernation: Marking nosave pages: [mem 0xa2364000-0xa2365fff]
[ 83.675126] PM: hibernation: Marking nosave pages: [mem 0xa2373000-0xa2374fff]
[ 83.675128] PM: hibernation: Marking nosave pages: [mem 0xa2385000-0xa2385fff]
[ 83.675129] PM: hibernation: Marking nosave pages: [mem 0xb9532000-0xb95c2fff]
[ 83.675132] PM: hibernation: Marking nosave pages: [mem 0xbd9de000-0xcc3fdfff]
[ 83.675620] PM: hibernation: Marking nosave pages: [mem 0xce000000-0xffffffff]
[ 83.676393] PM: hibernation: Basic memory bitmaps created
[ 83.681188] PM: hibernation: Preallocating image memory
[ 85.599072] PM: hibernation: Allocated 2043901 pages for snapshot
[ 85.599105] PM: hibernation: Allocated 8175604 kbytes in 1.91 seconds (4280.42 MB/s)
[ 85.599125] Freezing remaining freezable tasks
[ 85.600726] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 85.611679] port 0000:02:00.1:0.0: PM: dpm_run_callback(): pm_runtime_force_suspend+0x0/0x120 returns -16
[ 85.611709] port 0000:02:00.1:0.0: PM: failed to freeze: error -16
[ 86.303477] PM: hibernation: Basic memory bitmaps freed
[ 86.304003] OOM killer enabled.
[ 86.304582] Restarting tasks ... done.
[ 86.307452] thermal thermal_zone0: failed to read out thermal zone (-61)
[ 86.307507] PM: hibernation: hibernation exit
[ 86.331566] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[ 86.932558] r8169 0000:02:00.0 en0: rtl_ep_ocp_read_cond == 0 (loop: 30, delay: 10000).
[ 87.004862] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
[ 87.038125] r8169 0000:02:00.0 en0: Link is Down
[ 87.043559] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
[ 87.067568] Generic FE-GE Realtek PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC)
[ 87.204101] r8169 0000:05:00.0 en1: Link is Down
[ 90.639039] r8169 0000:05:00.0 en1: Link is Up - 1Gbps/Full - flow control rx/tx
Downgrading to 6.7.
Thanks.
--
Martin