Re: Thinkpad x60 hibernate broken on 4.13+

From: Pavel Machek
Date: Wed Dec 27 2017 - 12:59:34 EST


Hi!

> Merry Christmas all,
> Following Pavel's example I have exercised my Thinkpad x60, and noticed that
> hibernation is broken - it does hibernate, but upon wakeup it goes through
> restore image 80%, and then black screen and dead system. But the fan _is_
> running, so I guess CPU is doing something.
>
> I have only done some rudimentary tests:
> 4.12.3 and 4.12.9 are OK.
> 4.13.3 and 4.13.12 bad
> 4.14.5 and 4.14.9 bad
> 4.15-rc5 bad

> Pavel, can you duplicate the issue? All I did to trigger was "systemctl
> hibernate".

I'm sorry, debugging that is not easy for me at the moment.

> Bisecting will be slow as I build the 32-bit kernels in a VM nowadays...

You should be able to build on x86-64 with right .config...

Before bisect, I'd suggest:

a) testing suspend. That should work in 4.13 and 4.14

b) maybe testing with minimal drivers to see if it is one of the
drivers breaking it.

Oh and there's file in Documentation/ describing hibernation
debugging. You should be able to locate bad driver without bisect.

Thanks,

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature