:: [DNG] Cannot hibernate any more sin…
Top Page
Delete this message
Reply to this message
Author: Alessandro Vesely
Date:  
To: dng
Subject: [DNG] Cannot hibernate any more since last system upgrade
Hi all,

I used to run /sbin/pm-hibernate and it has been working fine since 2020.  After the latest upgrade, however, when I resume, after reading back all saved memory and after the "Suspending console(s) (use no_console_suspend to debug)" message, instead of turning to the screen-lock display, it stay there and doesn't seem to react.  Switching to and from virtual console, ctrl-alt-f7, results in a damaged screen where only the upper left corner is correct while the rest replicates whatever was on the previous pixel.

Also, it used to thaw hitting any key.  Now I must hit the power button.

The log shows:
...
2025-06-09T15:47:57.503014+02:00 pcale avahi-daemon[2584]: Registering new address record for 172.25.197.120 on eth0.IPv4.
2025-06-09T15:47:58.071694+02:00 pcale dhclient[17977]: bound to 172.25.197.120 -- renewal in 37592 seconds.
2025-06-09T15:47:58.123888+02:00 pcale /etc/pm/sleep.d/20_dhcp-lease: run thaw hibernate, rtc=0
2025-06-09T15:47:59.024989+02:00 pcale /home/ale/bin/run-pm-hibernate: /sbin/pm-hibernate returned 0
2025-06-09T15:49:43.244897+02:00 pcale /home/ale/bin/run-pm-hibernate: slock returned 0
2025-06-09T15:50:00.034948+02:00 pcale kernel: [12650.230373] [drm] pstate TEST_DEBUG_DATA: 0x3EFF000F
2025-06-09T15:50:00.034961+02:00 pcale kernel: [12650.231494] [drm] pstate TEST_DEBUG_DATA: 0x3EFF000F
2025-06-09T15:50:00.034962+02:00 pcale kernel: [12650.231942] [drm] pstate TEST_DEBUG_DATA: 0x3EFF000F
...

Here 20_dhcp-lease is a short script to release the IP address before sleeping, and log; run-pm-hibernate is a suid utility to call pm-hibernate (and slock) from the openbox menu.

The pstate message repeats until I reboot.  What does it mean?

I have this default, in case it has anything to do with pstate:
ale@pcale:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
acpi-cpufreq

ale@pcale:~$ uname -a
Linux pcale 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux


Also, earlier in the log I had a drm warning.  Dunno if it's relevant.  I paste it below.

TIA for any hint
Best
Ale


2025-06-09T15:47:50.942302+02:00 pcale kernel: [12516.715362] ------------[ cut here ]------------
2025-06-09T15:47:50.942303+02:00 pcale kernel: [12516.715363] amdgpu 0000:09:00.0: drm_WARN_ON_ONCE(!dev->mode_config.poll_enabled)
2025-06-09T15:47:50.942304+02:00 pcale kernel: [12516.715393] WARNING: CPU: 2 PID: 17736 at drivers/gpu/drm/drm_probe_helper.c:252 drm_kms_helper_poll_enable+0x116/0x130 [drm_kms_helper]
2025-06-09T15:47:50.942306+02:00 pcale kernel: [12516.715412] Modules linked in: nls_ascii nls_cp437 vfat fat xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype iptable_filter ip_tables x_tables br_netfilter bridge stp llc overlay bnep bluetooth jitterentropy_rng drbg ansi_cprng ecdh_generic ecc autofs4 cpufreq_userspace cpufreq_ondemand cpufreq_powersave cpufreq_conservative binfmt_misc nf_tables libcrc32c nfnetlink f2fs crc32_generic lz4hc_compress lz4_compress zstd_compress parport_pc ppdev lp parport intel_rapl_msr intel_rapl_common edac_mce_amd amdgpu kvm irqbypass pktcdvd ghash_clmulni_intel sha512_ssse3 sha512_generic sha256_ssse3 gpu_sched sha1_ssse3 drm_buddy drm_display_helper aesni_intel snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic crypto_simd cryptd snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi cec snd_hda_codec evdev rc_core rapl snd_hda_core drm_ttm_helper ttm eeepc_wmi snd_hwdep drm_kms_helper snd_pcm
2025-06-09T15:47:50.942371+02:00 pcale kernel: [12516.715489]  snd_timer asus_wmi battery snd platform_profile drm soundcore sparse_keymap ledtrig_audio rfkill i2c_algo_bit pcspkr wmi_bmof ccp serio_raw sp5100_tco watchdog k10temp button acpi_cpufreq ext4 crc16 mbcache jbd2 crc32c_generic hid_generic usbhid uas sr_mod sg hid usb_storage cdrom sd_mod ahci libahci nvme xhci_pci libata nvme_core xhci_hcd r8169 realtek t10_pi crc32_pclmul mdio_devres crc32c_intel psmouse scsi_mod usbcore libphy crc64_rocksoft crc64 crc_t10dif crct10dif_generic i2c_piix4 crct10dif_pclmul crct10dif_common usb_common scsi_common video wmi gpio_amdpt gpio_generic
2025-06-09T15:47:50.942372+02:00 pcale kernel: [12516.715551] CPU: 2 PID: 17736 Comm: kworker/u64:15 Tainted: G        W          6.1.0-37-amd64 #1  Debian 6.1.140-1
2025-06-09T15:47:50.942373+02:00 pcale kernel: [12516.715555] Hardware name: System manufacturer System Product Name/PRIME B450M-A, BIOS 3211 08/10/2021
2025-06-09T15:47:50.942374+02:00 pcale kernel: [12516.715557] Workqueue: events_unbound async_run_entry_fn
2025-06-09T15:47:50.942375+02:00 pcale kernel: [12516.715562] RIP: 0010:drm_kms_helper_poll_enable+0x116/0x130 [drm_kms_helper]
2025-06-09T15:47:50.942378+02:00 pcale kernel: [12516.715577] Code: 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 13 e6 97 e9 48 c7 c1 c8 57 b8 c0 48 89 da 48 c7 c7 3a 6b b8 c0 48 89 c6 e8 0a 6a 33 e9 <0f> 0b e9 39 ff ff ff e8 0e cc cc e9 66 66 2e 0f 1f 84 00 00 00 00
2025-06-09T15:47:50.942379+02:00 pcale kernel: [12516.715579] RSP: 0018:ffffa47640ce7d90 EFLAGS: 00010286
2025-06-09T15:47:50.942380+02:00 pcale kernel: [12516.715582] RAX: 0000000000000000 RBX: ffff98ba413ca880 RCX: ffff98bd6f2995e0
2025-06-09T15:47:50.942381+02:00 pcale kernel: [12516.715583] RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000001
2025-06-09T15:47:50.942381+02:00 pcale kernel: [12516.715585] RBP: ffff98ba44f80010 R08: ffffffffacd81a60 R09: ffff98be6f2d5abc
2025-06-09T15:47:50.942382+02:00 pcale kernel: [12516.715587] R10: ffffffffffffffff R11: 000000002d2d2d2d R12: ffff98ba44f80000
2025-06-09T15:47:50.942382+02:00 pcale kernel: [12516.715588] R13: 0000000000000001 R14: ffff98ba44f98500 R15: ffff98ba4141f150
2025-06-09T15:47:50.942383+02:00 pcale kernel: [12516.715590] FS:  0000000000000000(0000) GS:ffff98bd60a80000(0000) knlGS:0000000000000000
2025-06-09T15:47:50.942384+02:00 pcale kernel: [12516.715592] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2025-06-09T15:47:50.942384+02:00 pcale kernel: [12516.715594] CR2: 0000000000000000 CR3: 0000000381df8000 CR4: 00000000003506e0
2025-06-09T15:47:50.942385+02:00 pcale kernel: [12516.715596] Call Trace:
2025-06-09T15:47:50.942389+02:00 pcale kernel: [12516.715598]  <TASK>
2025-06-09T15:47:50.942390+02:00 pcale kernel: [12516.715603]  amdgpu_device_resume+0x150/0x310 [amdgpu]
2025-06-09T15:47:50.942391+02:00 pcale kernel: [12516.715801]  ? pci_pm_poweroff_noirq+0x100/0x100
2025-06-09T15:47:50.942391+02:00 pcale kernel: [12516.715806]  dpm_run_callback+0x4a/0x150
2025-06-09T15:47:50.942392+02:00 pcale kernel: [12516.715811]  __device_resume+0xa5/0x250
2025-06-09T15:47:50.942392+02:00 pcale kernel: [12516.715815]  async_resume+0x19/0x30
2025-06-09T15:47:50.942396+02:00 pcale kernel: [12516.715818]  async_run_entry_fn+0x30/0x130
2025-06-09T15:47:50.942397+02:00 pcale kernel: [12516.715822]  process_one_work+0x1c7/0x380
2025-06-09T15:47:50.942398+02:00 pcale kernel: [12516.715827]  worker_thread+0x4d/0x380
2025-06-09T15:47:50.942399+02:00 pcale kernel: [12516.715831]  ? rescuer_thread+0x3a0/0x3a0
2025-06-09T15:47:50.942399+02:00 pcale kernel: [12516.715833]  kthread+0xda/0x100
2025-06-09T15:47:50.942400+02:00 pcale kernel: [12516.715837]  ? kthread_complete_and_exit+0x20/0x20
2025-06-09T15:47:50.942401+02:00 pcale kernel: [12516.715841]  ret_from_fork+0x22/0x30
2025-06-09T15:47:50.942488+02:00 pcale kernel: [12516.715850]  </TASK>
2025-06-09T15:47:50.942490+02:00 pcale kernel: [12516.715851] ---[ end trace 0000000000000000 ]---