Re: 4.16-rc3 fails to resume on MacBookPro10,1 -

From: Rafael J. Wysocki
Date: Sat Mar 03 2018 - 05:00:37 EST


On Sat, Mar 3, 2018 at 10:24 AM, Pavel Machek <pavel@xxxxxx> wrote:
> Hi!
>
> On Sat 2018-03-03 17:27:36, Andrew Worsley wrote:
>> On 3 March 2018 at 16:41, Andrew Worsley <amworsley@xxxxxxxxx> wrote:
>> > Basically hangs on resuming after decompressing. The last statement
>> > displayed is "resume: Image successfully loaded"
>> > - I attach a photo as I can't get access to it
>> ....
>> > Bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844788
>> >
>> > I couldn't get anything from the function keys with this latest kernel.
>> ...
>>
>> By plugging in a USB keyboard I can get sysrq stuff to work - but
>> stupidly the kernel disables all the useful ones so I will have to
>> compile a new kernel with it set to 1 so I can get some traces.
>> Really annoyed by this default setting, presumably from debian?
>> Wished there was a boot command line option to configure the allowed
> options.
>
> So hibernation is broken on x86-64?
>
> Ideas for debugging:
>
> 1) get that sysrq to work, backtrace where it is hung would be very
> useful.
>
> 2) try v4.15.

That one works for me FWIW.

> 3) try without KPTI enabled. Probably noone knows how it interacts
> with that...
>
> (And 4), we should really start doing some periodic testing of hibernation).

I do that, but the period is not particularly short ...