How to debug resume from hibernation

asked 2017-08-03 14:38:24 -0500

happymaster23 gravatar image


couple weeks ago I was in situation when I need to use hibernation instead of suspend, but resume was not successful. I have Fedora installed on my laptop for about 4 years (without reinstall, only upgrading) and in past (lets say year ago) hibernation was working, but I am using hibernation rarely, so I can't tell when this failing really started (and what is root cause).

Hibernation itself is always successful. After power on, kernel correctly starts resuming, but in point when everything needed is loaded into RAM (looks like) and system is about to be unfrozen, screen goes off, every LED goes also off and network connection is not reestablished. Changing to another terminal (through Ctrl Alt F2) does not work and trying to type something is also vain effort. This behavior is not occurring regularly, but in about half of resumes. It does not matter, if using Wayland or Xorg, but it looks like (strange, I know) that if Firefox is turned on, resume will fail, if not, resume is OK.

In logs there is nothing and I don't know where to start debugging. Could you help me?

Thank you

edit retag flag offensive close merge delete


This is incredibly difficult. Powering down various hardware and resetting their state only to bring it back up later without problem have been a problem that have defeated the entire computer industry for years. You’re incredibly lucky if you have a system that actually supports hibernation.

Aeyoun gravatar imageAeyoun ( 2017-08-03 17:55:51 -0500 )edit

@Aeyoun, funnily Windows and Mac resume hibernation without fail every single time. @happymaster23, I'm afraid this is current state of Linux, hibernation is spotty at best and I assure you, you are not the only facing the problem. I faced this regularly on fresh install. Heck SteamOS disables hibernate/suspend since it's too unreliable in Linux

arya s. gravatar imagearya s. ( 2017-08-05 05:13:59 -0500 )edit