Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: RTC-Clock misfunction on AS 400
       [not found] <20000320024749.A12342@lug-owl.de>
@ 2000-03-20  3:34 ` Michal Jaegermann
  0 siblings, 0 replies; only message in thread
From: Michal Jaegermann @ 2000-03-20  3:34 UTC (permalink / raw)
  To: jbglaw; +Cc: axp-list

Jan-Benedict Glaw wrote:
> 
> 
> I think this may be a pure userspace problem... *If* you use the rtc driver
> and hwclock, all will be fine. hwclock mis-detects in not-up-to-date versio=
> ns
> the epoche when accessing the RTC chip on older machines via inb()/outb().

The current versions of 'hwclock' have this interesting property that
with -A flags on UX they will set you back by twenty years.  OTOH
Red Hat startup scripts, at least from 6.0 and 6.1 distributions try
to second-guess you and upon detection of a milo (UX has to boot with
milo) add this -A.  The net effect is that does not matter what you
put in /etc/sysconfig/clock your time will wrong until you will edit
startup scripts (you cannot delay that to local stuff as a number of
time stamps will be already wrong).

> This should be fixed in the most recent versions.

This will be not fixed as the hwclock author insists that this is
exactly like it should be.  If you added -A flag where your clock is not
really ARC clock (technically this is correct as UX is using AlphaBIOS
and not ARC and a clock behaviour is different so this is not ARC clock)
then this means that you really **wanted** some funny offset.  Why back
by 20 years - beats me but this is as good any other one. :-)

I mentioned that on this list a few months ago.

  Michal


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-20  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20000320024749.A12342@lug-owl.de>
2000-03-20  3:34 ` RTC-Clock misfunction on AS 400 Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox