Re: 4.1-rc7, thinkpad X60: platform mode hibernation does very wrongthing

Rafael J. Wysocki
2015-06-17T12:48:04Z

On Wednesday, June 17, 2015 02:33:33 PM Pavel Machek wrote:
> Hi!
>
> > On Wednesday, June 17, 2015 08:19:37 PM linus wrote:
> > > there might be something wrong with driver, can you provide serial log with no_console_suspend? or using rtctrace
> > >
>
> Who are you?
>
> The hibernation image is stored successfully, that means drivers work ok.

Well, not entirely necessarily. We execute the ->poweroff callback for all
of them in the last step, maybe one of these hangs.

You can verify that by adding a reboot trigger after the dpm_suspend_end()
invocation in hibernation_platform_enter(). If it triggers 100% of the time,
drivers are OK.

> Serial console... might be fun to set up, but might help, right.
>
> > > Hi!
> > >
> > > On thinkpad X60, if I hibernate in platform mode, it does not power
> > > down, but I get black screen, moon icon blinking, and CPU fan running
> > > (CPU probably too).
> > >
> > > I can hold the power button down to force powerdown... if I notice
> > > what is going on before the battery is empty.
> > >
> > > Any ideas what could be wrong there?
> >
> > Not right away.
> >
> > Have you tried any previous 4.1-rc kernels?
>
> Yes, and it was broken there, too. It is possible that 4.0 is broken,
> too, I did not use hibernation for some time.
>
> 3.14 kernel works ok. I'm trying v3.19 now.

I see.

OK, it would be good to narrow down the time frame when it broke.

Thanks,
Rafael