lkml.org 
[lkml]   [1999]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] * RTC problem ???
Rafael Reilova writes:
> Lastly, the problem we are trying to solve seems to be mostly a non-issue,
> at least at boot, since hwclock can set the system clock properly before
> anything important happens. The more interesting problem is the one
> Richard brought up with APM. I think it goes like this:
>
> 1) DST changeover is about to happen
>
> 2) the machine goes into APM, before doing so the kernel in apm.c
> computes a timezone offset to be used when coming out of APM.
>
> 3) timezone changeover occurs due to DST going on or off.
>
> 4) machine comes out of APM, read CMOS and applies wrong offset, sytem
> time is now warped.

No, this isn't what is happening. The problem is that some machines
slow down the RTC measurment to the point where the measurement may be
inaccurate by several seconds. Once the lid is closed, it's too late
to do an accurate RTC measurement.

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.111 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site