Re: [BUG] Strange 1-second pauses during Resume-from-RAM

Mark Lord
2007-11-16T19:07:00Z

Ingo Molnar wrote:
> * Ingo Molnar <mingo@elte.hu> wrote:
>
>>> Is there a version of these that works with 2.6.23.1 ?
>> yes, i've backported it and have uploaded the v2.6.23 version to:
>>
>> http://redhat.com/~mingo/latency-tracing-patches/latency-tracer-v2.6.23.1-combo.patch
..

> ok, i experimented around with the latency tracer, trying to capture the
> trace of a full suspend+resume cycle, and it needed the tracer fix below
> (GTOD clocksource suspend/resume would otherwise confuse the tracer and
> you'd get no trace output as a result).
>
> once that tracer bug was fixed, the best method to generate a trace was
> to do this:
>
> echo 1 > /proc/sys/kernel/stackframe_tracing
> echo 1 > /proc/sys/kernel/syscall_tracing
> ./trace-cmd bash -c "echo mem > /sys/power/state" > trace.txt
..

I've applied the tracer for 2.6.23.1 patch, plus the bugfix,
and now I just get blinking-LEDs (black screen of death) on resume.

Cheers