Re: 2.6.23-rc2 swsusp, suddenly increased uptime

From: Rafael J. Wysocki
Date: Mon Aug 13 2007 - 18:26:01 EST


On Tuesday, 14 August 2007 00:12, Thomas Voegtle wrote:
> On Mon, 13 Aug 2007, Rafael J. Wysocki wrote:
>
> > On Monday, 13 August 2007 23:31, Thomas Voegtle wrote:
> > > On Mon, 13 Aug 2007, Rafael J. Wysocki wrote:
> > >
> > > > On Sunday, 12 August 2007 21:39, Thomas Voegtle wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > today I saw this (output from my suspend script):
> > > > >
> > > > > -> woke up at Sun Aug 12 11:39:17 CEST 2007
> > > > > -> uptime is
> > > > > 11:39am up 8 days 0:41, 10 users, load average: 26.12, 6.35, 2.17
> > > > >
> > > > >
> > > > > Then I did a software suspend. After waking up, I saw this:
> > > > >
> > > > >
> > > > > -> woke up at Sun Aug 12 14:41:56 CEST 2007
> > > > > -> uptime is
> > > > > 2:41pm up 44 days 9:11, 12 users, load average: 35.17, 9.17, 3.33
> > >
> > > I just want to add, I built 2.6.23-rc2 on Aug 4th and this happened on Aug
> > > 12 and I suspend once a day. And the only thing which was odd was the
> > > uptime, nothing else.
> > >
> > > I rebooted with 2.6.23-rc3 today, so the odd uptime is gone.
> > > Should I try 8 suspend cycles or something to reproduce it again?
> >
> > Well, if you can, please try to do something like this.
>
> I tried 20 suspend cycles, but this time with
> echo reboot > /sys/power/disk
>
> Nothing special happend.
>
> I could try with "echo shutdown" if this makes sense, tomorrow.
> Just let me know.

Please try "platform" (ie. the default). "shutdown" is very similar to
"reboot", so I think it'll behave correctly.

Greetings,
Rafael


--
"Premature optimization is the root of all evil." - Donald Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/