[Top] [All Lists]

Re: DS5000/25

Subject: Re: DS5000/25
From: Harald Koerfgen <>
Date: Fri, 23 Apr 1999 19:00:24 +0200 (MEST)
In-reply-to: <199904230740.IAA31031@molnir>
Organization: none
Reply-to: "Harald Koerfgen" <>
Fellow DECstaion hackers,

On 23-Apr-99 Matt Foster wrote:
> Does anyone know how to reset the system clock on 
> the DS5000?  Every time I boot I loose about 400 days.
> netdate won't compile, xntpd at least managed to build
> ntpdate, but ntpdate won't sync against molnir.  (I think
> it thinks molnir is stratum 16).  Just resetting the hardware
> clock from the boot prom would do, I can work getting ntp working
> but 400 odd days is a bit much ........

Only God knows why, but the DECstation engineers decided to use that
wonderful Dallas clock chip as a TOY (Time Of Year clock) :-(.

The year register in the clock chip may only contain 70 71 or 72,
otherwise the PROM will report a self test error and reset this register.

As a consequence of that, you'll have to change the offset which is added
to the year register every two years. Well, it seems as if the time is

People, please change the line

        year += 1925;


        year += 1927;

in arch/mips/dec/time.c.

Hope this helps.

<Prev in Thread] Current Thread [Next in Thread>