* Warning for UX owners - date
@ 2000-01-05 6:49 Michal Jaegermann
2000-01-05 7:21 ` Chris Kloiber
2000-01-06 18:42 ` Richard Henderson
0 siblings, 2 replies; 5+ messages in thread
From: Michal Jaegermann @ 2000-01-05 6:49 UTC (permalink / raw)
To: axp-list
This concerns only UX owners. No other Alpha platform is affected.
If you are using the latest 6.1 Red Hat distribution then when startup
scripts detect that you are booting with milo they will add,
automatically, regardless of settings in /etc/sysconfig/clock, a flag
'-A' which forces ARC interpretation of a hardware supplied time.
That would be not so bad if for not the fact that 6.1 is using
/sbin/hwclock from 'util-linux' package and on UX an effect of this flag
with this program is to back off date by 20 years. If you will give
'-S' instead, or if you will skip both '-A' and '-S', your date will be
fine. So, if you do today a new installation on UX, or an upgrade to
6.1, you will end up in a year 1980.
Moreover, the maintainer of 'util-linux', Andries.Brouwer@cwi.nl,
vehemently insists, for reasons which are hard for me to comprehend,
that this is THE correct behaviour so things are likely to stay that
way. If you want to explain basic facts of life to Andries - be my
guest. I tried and failed; but maybe, if more people will express an
opinion similar to mine that breaking an established and expected
behaviour of /sbin/clock is just a bug, he will be more receptive.
The simplest fix for the moment is to edit /etc/rc.d/rc.sysconfig and
comment out a statement which adds this uncalled for '-A'. I filed bug
reports with Red Hat, together with patches to fix 'hwclock' and we will
see. But I will be not surprised if other distributions would be
affected in the same way.
Once again, if your machine is not UX then things are cool.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Warning for UX owners - date
2000-01-05 6:49 Warning for UX owners - date Michal Jaegermann
@ 2000-01-05 7:21 ` Chris Kloiber
2000-01-05 15:35 ` Michal Jaegermann
2000-01-06 18:42 ` Richard Henderson
1 sibling, 1 reply; 5+ messages in thread
From: Chris Kloiber @ 2000-01-05 7:21 UTC (permalink / raw)
To: axp-list
Michal Jaegermann wrote:
>
> This concerns only UX owners. No other Alpha platform is affected.
>
> If you are using the latest 6.1 Red Hat distribution then when startup
> scripts detect that you are booting with milo they will add,
> automatically, regardless of settings in /etc/sysconfig/clock, a flag
> '-A' which forces ARC interpretation of a hardware supplied time.
>
> That would be not so bad if for not the fact that 6.1 is using
> /sbin/hwclock from 'util-linux' package and on UX an effect of this flag
> with this program is to back off date by 20 years. If you will give
> '-S' instead, or if you will skip both '-A' and '-S', your date will be
> fine. So, if you do today a new installation on UX, or an upgrade to
> 6.1, you will end up in a year 1980.
>
> Moreover, the maintainer of 'util-linux', Andries.Brouwer@cwi.nl,
> vehemently insists, for reasons which are hard for me to comprehend,
> that this is THE correct behaviour so things are likely to stay that
> way. If you want to explain basic facts of life to Andries - be my
> guest. I tried and failed; but maybe, if more people will express an
> opinion similar to mine that breaking an established and expected
> behaviour of /sbin/clock is just a bug, he will be more receptive.
>
> The simplest fix for the moment is to edit /etc/rc.d/rc.sysconfig and
> comment out a statement which adds this uncalled for '-A'. I filed bug
> reports with Red Hat, together with patches to fix 'hwclock' and we will
> see. But I will be not surprised if other distributions would be
> affected in the same way.
>
> Once again, if your machine is not UX then things are cool.
>
> Michal
I have a 164Sx. My clock always reads 20 years fast. I'd be happy if
they could slow it down a might...
Chris Kloiber
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Warning for UX owners - date
2000-01-05 7:21 ` Chris Kloiber
@ 2000-01-05 15:35 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 2000-01-05 15:35 UTC (permalink / raw)
To: axp-list
Chris Kloiber wrote:
>
> Michal Jaegermann wrote:
> > That would be not so bad if for not the fact that 6.1 is using
> > /sbin/hwclock from 'util-linux' package and on UX an effect of this flag
> > with this program is to back off date by 20 years.
>
> I have a 164Sx. My clock always reads 20 years fast. I'd be happy if
> they could slow it down a might...
You mean that you looked into a manual, you checked that your
/etc/sysconfig/clock has correct values in it, you know that your
/etc/rc.d/rc.sysconfig is not doing anything unspeakable with a clock
(or you did equivalent things if what you are using happens not to be
laid out like a Red Hat distribution), and your date is still funny with
a hardware clock set to something sane? Which version of '/sbin/clock'
is that? Is it really always 20 years ahead does not matter if you are
using, or not, '-A' flag?
Besides what is your point? Do you suggest that if some Alphas have
a date 20 years ahead and some 20 years behind that on average
this is like it should be? :-)
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Warning for UX owners - date
2000-01-05 6:49 Warning for UX owners - date Michal Jaegermann
2000-01-05 7:21 ` Chris Kloiber
@ 2000-01-06 18:42 ` Richard Henderson
2000-01-06 18:56 ` Michal Jaegermann
1 sibling, 1 reply; 5+ messages in thread
From: Richard Henderson @ 2000-01-06 18:42 UTC (permalink / raw)
To: axp-list; +Cc: gafton
On Tue, Jan 04, 2000 at 11:49:27PM -0700, Michal Jaegermann wrote:
> If you are using the latest 6.1 Red Hat distribution then when startup
> scripts detect that you are booting with milo they will add,
> automatically, regardless of settings in /etc/sysconfig/clock, a flag
> '-A' which forces ARC interpretation of a hardware supplied time.
_This_ is the real bug. Just because the boot path included ARC
doesn't mean the clock is set that way.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Warning for UX owners - date
2000-01-06 18:42 ` Richard Henderson
@ 2000-01-06 18:56 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 2000-01-06 18:56 UTC (permalink / raw)
To: axp-list
Richard Henderson wrote:
>
> On Tue, Jan 04, 2000 at 11:49:27PM -0700, Michal Jaegermann wrote:
> > If you are using the latest 6.1 Red Hat distribution then when startup
> > scripts detect that you are booting with milo they will add,
> > automatically, regardless of settings in /etc/sysconfig/clock, a flag
> > '-A' which forces ARC interpretation of a hardware supplied time.
>
> _This_ is the real bug. Just because the boot path included ARC
> doesn't mean the clock is set that way.
I strongly dislike this automatic and silent override of my
configuration either. Red Hat tries to be "user friendly" here and
results, as usual in such situations, are mixed. At least they
could have drop this now badly misleading 'ARC=false' from
/etc/sysconfig/clock.
OTOH older versions of /sbin/clock in use did not substract 20 years
from a hardware date on UX in a presence of '-A' so we have a somewhat
surprising change of behaviour here. Also a prospect of explaining over
and over again "you boot via ARCBIOS but your hardware clock is not
really ARC" does not look very exciting.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-01-06 18:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-05 6:49 Warning for UX owners - date Michal Jaegermann
2000-01-05 7:21 ` Chris Kloiber
2000-01-05 15:35 ` Michal Jaegermann
2000-01-06 18:42 ` Richard Henderson
2000-01-06 18:56 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox