Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: ARC=yes doesn't solve my random date problem
       [not found] <34F3F6A6.4DA64CF3@cogency.co.uk>
@ 1998-02-25  5:14 ` Jay.Estabrook
  0 siblings, 0 replies; 3+ messages in thread
From: Jay.Estabrook @ 1998-02-25  5:14 UTC (permalink / raw)


>>> David Alan Gilbert said:
> Jonathan L Dubois wrote:
> > 
> > I have an LX164 running stock redhat 5.0 + updates.
> > 
> > When I defined ARC=false in /etc/sysconfig/clock, rebooting caused the
> > date to jump ~ 30 years into the future.
> > 
> > With ARC=yes however, the date jumps ~30 years into the past.
> 
> There are TWO problems here - and I think your fixing the wrong one!!
> 
> Problem 1) There are two different standards for the format of date
>            held in the hardware clock; thats what ARC changes.  If you
>            are exactly 20 years out then thats your problem.

If you're MILO from AlphaBIOS, then ARC=true is the appropriate setting.
Make sure that you set the correct date/time using the AlphaBIOS facility,
or set it under LINUX using "date" and then write it *in ARC format* using
"clock -w -A".

>         2) The RedHat distribution 'clock' program is broken and
>             sometimes gives a broken value - there is an updated version
>            somewhere which fixes it.

This is usually very noticeable; you get a real bogus date once in a while
while the rest of the time it's OK. Try:

	while true; do clock -r -A; done

and if you see some bogus dates, get:

    gatekeeper.dec.com:/pub/DEC/Linux-Alpha/Kernels/clock-pc164-rh50

and replace /sbin/clock with it.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* ARC=yes doesn't solve my random date problem
@ 1998-02-25  6:08 Jonathan L Dubois
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan L Dubois @ 1998-02-25  6:08 UTC (permalink / raw)


I have an LX164 running stock redhat 5.0 + updates.

When I defined ARC=false in /etc/sysconfig/clock, rebooting caused the
date to jump ~ 30 years into the future.

With ARC=yes however, the date jumps ~30 years into the past.

Jonathan DuBois
dubois@udel.edu

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ARC=yes doesn't solve my random date problem
@ 1998-02-25 10:47 David Alan Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: David Alan Gilbert @ 1998-02-25 10:47 UTC (permalink / raw)


Jonathan L Dubois wrote:
> 
> I have an LX164 running stock redhat 5.0 + updates.
> 
> When I defined ARC=false in /etc/sysconfig/clock, rebooting caused the
> date to jump ~ 30 years into the future.
> 
> With ARC=yes however, the date jumps ~30 years into the past.

There are TWO problems here - and I think your fixing the wrong one!!

Problem 1) There are two different standards for the format of date
           held in the hardware clock; thats what ARC changes.  If you
           are exactly 20 years out then thats your problem.

        2) The RedHat distribution 'clock' program is broken and
            sometimes gives a broken value - there is an updated version
           somewhere which fixes it.

Dave

-- 
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work:    dg @ cogency.co.uk        -    0161-428-9444              -
- Home:    gro.gilbert @ treblig.org -                               -
----------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-02-25 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-25 10:47 ARC=yes doesn't solve my random date problem David Alan Gilbert
  -- strict thread matches above, loose matches on Subject: below --
1998-02-25  6:08 Jonathan L Dubois
     [not found] <34F3F6A6.4DA64CF3@cogency.co.uk>
1998-02-25  5:14 ` Jay.Estabrook

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