Re: updating the RTC automagically

Ulrich Windl (ulrich.windl@rz.uni-regensburg.de)
Mon, 22 Nov 1999 15:55:21 +0200


On 22 Nov 99, at 15:36, Rogier Wolff wrote:

> Guest section DW wrote:
> > On Mon, Nov 22, 1999 at
> > This 11 min stuff has other evil effects, as documented:
> > ------ Documentation/rtc.txt ------
> > Also, if the kernel time is synchronized with an external source, the
> > kernel will write the time back to the CMOS clock every 11 minutes. In
> > the process of doing this, the kernel briefly turns off RTC periodic
> > interrupts, so be aware of this if you are doing serious work.
> > ------
> >
> > So, I would be happy if this 11 min stuff would be entirely removed.
>
> For my purposes, the "every 11 minutes" behaviour is great: I run NTP,
> and it gets in sync a few minutes after boot (Just a few hundred ms
> drift since last write to CMOS).

With my current working snapshot of PPSkit-0.9.0pre2, the periodic
update is tunable (turn on/off, select interval), just to find out
how the effects are. Once on this way I thought "go on marching...".

>
> I agree that for people wanting more accuracy, it needs to go. How
> about allowing someone like that to turn off the "write cmos every 11
> minutes:" behaviour?

Try the snapshot (echo 0 >/proc/sys/kernel/time/rtc_update # I think).

Ulrich

Gruß
Uli

-
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/