Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to debug freezing system after resume from hibernation?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nagmat84
Guru
Guru


Joined: 27 Mar 2007
Posts: 308

PostPosted: Sun Apr 27, 2025 10:16 am    Post subject: How to debug freezing system after resume from hibernation? Reply with quote

The Lenovo Thinkpad X1 Carbon 12th Gen freezes completely after resume from hibernation. I can only forcefully power it off by pressing the power button for 10secs.

The laptop goes into hibernation successfully, when it starts again, I can see how the image is read from the swap partition. (I see the progress counter.) Then the KDE lock screen appears and output to the laptop panel, but then the entire system freezes. When I reboot the system normally and read the Journal Log from the last boot, the latest entries are from going into hibernation and the kernel messages from coming out of hibernation, but then the log stops. There are no helpful message in the log which might indicate what is going wrong. I guess the system is not able to write any log.
Back to top
View user's profile Send private message
druggo
Guru
Guru


Joined: 24 Sep 2003
Posts: 330
Location: Hangzhou

PostPosted: Mon Apr 28, 2025 6:45 am    Post subject: Reply with quote

if you have another linux, you can try netconsole https://www.kernel.org/doc/html/latest/networking/netconsole.html
_________________
AMD FX-8300 / Loongson-2f (lemote-yeeloong)
Back to top
View user's profile Send private message
nagmat84
Guru
Guru


Joined: 27 Mar 2007
Posts: 308

PostPosted: Mon Apr 28, 2025 11:13 am    Post subject: Reply with quote

I will give it a try when I get access to the Laptop again (will be in four weeks). I read the documentation, but some aspects remained unclear to me.
  1. Name of the Ethernet interface: Do I need to use the traditional Ethernet interface names (i.e. eth0, eth1, ...) or the modern, predictable Ethernet interfaces names (e.g. like enp0s10)? As far as I understand it, the predictable names are created by udev and udev renames the interfaces when it starts. I assume the timing is relevant here, i.e. whether netconsole starts before or after udev. What happens, if netconsole is started before udev, uses the old interface names and then udev renames them?
  2. Interference/cooperation with user space network configuration: What happens when user space network configuration (NetworkManager, Systemd netword, ...) kicks in and the interface has already been configured by netconsole? Will user space network configuration fail, overwrite the netconsole config or peacefully co-exist? Theoretically, it is possible to have more than one IP configuration assigned to an Ethernet interface.
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2245

PostPosted: Mon Apr 28, 2025 12:43 pm    Post subject: Reply with quote

There's also the kernel documentation for Debugging hibernation and suspend.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum