Re: RTC-Clock misfunction on AS 400

From: Nikita Schmidt (cetus@snowball.ucd.ie)
Date: Mon Mar 20 2000 - 07:35:06 EST


On Monday, 20 Mar, Ruediger Oertel wrote:
> I don't really think it's userspace,
> cat /proc/rtc
> rtc_time : 10:13:02
> rtc_date : 2052-03-20
> rtc_epoch : 1952
> [...]
> and this _is_ already wrong without using any userspace-tools but "cat".
>

It's a bug in the kernel epoch detection heuristics. See the patch
attached.

In the meantime, the kernel's idea of the epoch can be corrected with
hwclock, e.g. (in your case): hwclock --epoch 2000 --set-epoch

Nikita





This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:42 EST