« Return to Thread: [Cooker] Help debuging suspend/resume issue on new kernel

Re: [Cooker] Help debuging suspend/resume issue on new kernel

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View in Thread

Luiz Fernando N. Capitulino wrote:

> Em Mon, 30 Jun 2008 00:46:34 +0100
> Colin Guthrie <cguthrie@...> escreveu:
>
> | Colin Guthrie wrote:
> | > Hi Salem,
> | >
> | > Tiago Salem Herrmann wrote:
> | >> Hi, try to unload "button" kernel module before calling suspend function.
> | >
> | > Thanks for the tip. The button module appears to be causing the issue in
> | > some capacity as removing it did indeed stop the reboot. Is this a known
> | > bug? Is there some bugzilla (here or abroad!) entry I can follow?
> |
> | Erm, ignore me. I somehow accidentally booted into an older .25 kernel
> | which suspends/resumes fine. So removing the button module had no effect
> | for me.
> |
> | I guess I'll look into that netconsole thingy.
>
>  This file:
>
> http://www.mjmwired.net/kernel/Documentation/power/basic-pm-debugging.txt
>
>  Has some tips on suspend debugging.
>
>  In case you don't get a backtrace or isn't sure which module caused it,
> the most used technique is to try to isolate the module which causes
> the problem, one way to do it is to try the following:
>
> 1. Remove half of your modules
> 2. Try to suspend
> 3. Try to resume
> 4. If resume has worked, then the problem is in the last group of
>    removed modules
>
>  You can also try to boot with init=/bin/bash and initialize the
> services by hand, trying to suspend before each initialization.

Cool Thanks :)

If I feel up to it tonight (and confident that my filesystem wont bork
like it did last week when not resuming!!!)  then I'll give it a bash
tonight.

Cheers

Col


--

+--------------------------+
|      Colin Guthrie       |
+--------------------------+
| cguthrie(at)mandriva.org |
|  http://colin.guthr.ie/  |
+--------------------------+

 « Return to Thread: [Cooker] Help debuging suspend/resume issue on new kernel