Re: Time travel experiment?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Cox <alan@...>
Cc: <linux-kernel@...>, Thomas Gleixner <tglx@...>, Linus Torvalds <torvalds@...>
Date: Wednesday, September 10, 2008 - 12:56 pm

On Wednesday 10 September 2008, Frans Pop wrote:

Aaah, hmmm.

I'm trying to trace a problem with resume. Once in every 5-10 times resume 
fails with dead display even though most times it resumes perfectly. So I 
was trying the suggestion in Documentation/power/s2ram.txt and am doing
'echo 1 > /sys/power/pm_trace' before suspending.

Just now I find [1] which mentions that the trace info is saved in the 
RTC, which I guess could well explain the jump. If that's what behind 
this, wouldn't it make sense to mention that fact in s2ram.txt?

But I would not expect the RTC to get changed when the resume is 
successful. Or does it just get updated with every resume step without a 
reset to the pre-trace value on completion?

[1]https://lists.linux-foundation.org/pipermail/linux-pm/2006-June/008470.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Time travel experiment?, Frans Pop, (Wed Sep 10, 10:58 am)
Re: Time travel experiment?, Alan Cox, (Wed Sep 10, 10:29 am)
Re: Time travel experiment?, Geert Uytterhoeven, (Wed Sep 10, 4:47 pm)
Re: Time travel experiment?, Frans Pop, (Wed Sep 10, 11:55 am)
Re: Time travel experiment?, Frans Pop, (Wed Sep 10, 12:25 pm)
Re: Time travel experiment?, Willy Tarreau, (Wed Sep 10, 5:28 pm)
Re: Time travel experiment?, Frans Pop, (Wed Sep 10, 12:56 pm)
Re: Time travel experiment?, Linus Torvalds, (Wed Sep 10, 1:02 pm)
[patch] Document use of RTC in pm_trace, Frans Pop, (Wed Sep 10, 2:07 pm)
Re: [patch] Document use of RTC in pm_trace, Pavel Machek, (Sat Sep 13, 7:20 am)