Linux 2.0 & DST: RTC needs update!

Ulrich Windl (ulrich.windl@rz.uni-regensburg.de)
Mon, 30 Mar 1998 09:11:11 +0100


If your RTC (real time clock) runs local time (as opposed to UTC),
there is a problem now that DST is active (at least here in Europe):

The RTC still runs one hour behind (see cat /proc/rtc), even if your
system time is correct. After a reboot your time will be one hour
behind.

Even if your clock is synchronized with xntpd (NTP), your hour is
exactly one hour off, because the kernel code does not update the
hour of the RTC. (see
/usr/src/linux/arch/i386/kernel/time.c:set_rtc_mmss).

Running "clock -w" helps.

I hope that was not too old news for you. (I'm not subscribed)

Regards,
Ulrich

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu