2015-04-18 03:15:34

by Nikolaus Rath

[permalink] [raw]
Subject: Re: Help with debugging intermittent crash on resume from hibernation

On 03/19/2015 08:57 PM, Mike Galbraith wrote:
> (+CC)
>
> On Thu, 2015-03-19 at 20:21 -0700, Nikolaus Rath wrote:
>> On Mar 13 2015, Nikolaus Rath <[email protected]> wrote:
>>> Hello,
>>>
>>> In about one out of 10 resumes from hibernation, my system resets after
>>> the hibernation image has been loaded. I am hibernating using
>>>
>>> # echo platform > /sys/power/disk
>>> # echo disk > /sys/power/state
>>>
>>> When testing hibernation using
>>>
>>> # echo core > /sys/power/pm_test
>>> # echo platform > /sys/power/disk
>>> # echo disk > /sys/power/state
>>>
>>> I was not able to produce the same failure.
>>>
>>> I then tried attaching a serial console and booted with
>>> console=ttyS0,115200n8 no_console_suspend. For the failed attempt, the
>>> last messages before the reset are:
>> [...]
>>
>> I reproduced the same problem with 4.0.0-rc3. Is there anything I can do
>> to get more debugging information?

I also found that blacklisting the nouveau module seems to dramatically
reduce the occurence of this problem (it only happened once since I
blacklisted the module which is probably about ~30 resumes ago).

Is there anything I can do to help debug this issue?


Best,
-Nikolaus

--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

»Time flies like an arrow, fruit flies like a Banana.«


2015-04-18 04:02:05

by Mike Galbraith

[permalink] [raw]
Subject: Re: Help with debugging intermittent crash on resume from hibernation

On Fri, 2015-04-17 at 20:15 -0700, Nikolaus Rath wrote:
>
> Is there anything I can do to help debug this issue?

You could try to bisect it, but judging from the problem description,
that could be more like a career than a troubleshooting session.

-Mike

2015-04-18 05:18:14

by Nikolaus Rath

[permalink] [raw]
Subject: Re: Help with debugging intermittent crash on resume from hibernation

On Apr 17 2015, Mike Galbraith <[email protected]> wrote:
> On Fri, 2015-04-17 at 20:15 -0700, Nikolaus Rath wrote:
>>
>> Is there anything I can do to help debug this issue?
>
> You could try to bisect it, but judging from the problem description,
> that could be more like a career than a troubleshooting session.

Furthermore, I have yet to find a kernel version that does *not* exhibit
the problem (I went back to 3.14).

Best,
-Nikolaus

--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

»Time flies like an arrow, fruit flies like a Banana.«

2015-04-18 05:08:30

by Mike Galbraith

[permalink] [raw]
Subject: Re: Help with debugging intermittent crash on resume from hibernation

On Fri, 2015-04-17 at 21:13 -0700, Nikolaus Rath wrote:
> On Apr 17 2015, Mike Galbraith <[email protected]> wrote:
> > On Fri, 2015-04-17 at 20:15 -0700, Nikolaus Rath wrote:
> > >
> > > Is there anything I can do to help debug this issue?
> >
> > You could try to bisect it, but judging from the problem
> > description,
> > that could be more like a career than a troubleshooting session.
>
> Furthermore, I have yet to find a kernel version that does *not*
> exhibit
> the problem (I went back to 3.14).

My solution would be don't do that then. Hibernation doesn't save
much time anyway, so is worth zero annoyance.

I would like to be able to suspend, but went from GeForce 8600 GT in
old box that suspended great, resumed not at all to GeForce GTX 980 in
new box which suspends great and resumes not at all, and is supported
by nothing that makes eyecandy, so I have roughly a zillion unused
transistors. The thing occupies nearly the same volume of space as my
laptop... but lappy doesn't have sexy big green leds to remind me that
it's a Satellite lest I forget :)

-Mike