[OM2009] Testing 2009-06-11: Misreading hardware clock
Rask Ingemann Lambertsen
rask at sygehus.dk
Mon Jun 15 00:52:47 CEST 2009
On Sun, Jun 14, 2009 at 05:09:16PM +0200, Joerg Reisenweber wrote:
>
> If setting hwclock is done with same "month off by 1" algo you use for reading
> it, you probably only will notice your months have wrong number of days (RTC
> counting to 31. for July (May?), readout algo says June 31.)
The kernel refuses to read the RTC when the date is invalid. Thus, you
will see failure to advance kernel time across suspend/resume or kernel time
starting at 1970-01-01 UTC when booting.
--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year
More information about the support
mailing list