Re: 2.6.18-rc4 (and earlier): CMOS clock corruption during suspend to disk on i386

john stultz
2006-08-09T20:13:49Z

On Wed, 2006-08-09 at 22:04 +0200, Rafael J. Wysocki wrote:
> On Wednesday 09 August 2006 19:44, john stultz wrote:
> > On Wed, 2006-08-09 at 14:26 +0200, Rafael J. Wysocki wrote:
> > > It looks like the CMOS clock gets corrupted during the suspend to disk
> > > on i386. I've observed this on 2 different boxes. Moreover, one of them is
> > > AMD64-based and the x86_64 kernel doesn't have this problem on it.
> > >
> > > Also, I've done some tests that indicate the corruption doesn't occur before
> > > saving the suspend image. It rather happens when the box is powered off
> > > or rebooted (tested both cases).
> >
> > Hmmm. Could you better describe the corruption you're seeing?
>
> After I do "echo disk > /sys/power/state" and the system suspends, the
> CMOS clock settings, as visible via the BIOS setup, are more or less random.

And after resuming does time output the time/date properly, or is it
confused as well?

thanks
-john