* Stupid clock problem fixed
@ 1999-01-19 5:00 Ed Richley
1999-01-20 5:00 ` Ed Richley
0 siblings, 1 reply; 3+ messages in thread
From: Ed Richley @ 1999-01-19 5:00 UTC (permalink / raw)
There seems to be a number of distinctly different
clock problems with these 164 systems running Linux.
My latest one had to do with upgrading to RedHat5.2,
and noticing that, although my hardware clock was
correct at power-up, it was off by 3 weeks after booting
Linux. Both the system clock and hardware clock would
agree, and both would point to next month.
Evidently my /etc/adjtime had gotten corrupted. At least,
I know that when I reset it to "0.0 0 0.0" and did a
/sbin/clock -Aa, after setting both clocks to the correct
time, things got a lot better.
Now I only need to fiddle with the first number to try to
get the accuracy to match my $10 wristwatch.
At least it keeps good time. Under 5.0, I would lose system
time depending on how much CPU time I was using...huge
simulations would slow down the system clock. Doesn't seem
to be a problem anymore.
Ed
--
------------------------------------------------------------
Ed Richley richley@onion-switch.com
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Stupid clock problem fixed
1999-01-19 5:00 Stupid clock problem fixed Ed Richley
@ 1999-01-20 5:00 ` Ed Richley
1999-01-20 5:00 ` Helmut Katzgraber
0 siblings, 1 reply; 3+ messages in thread
From: Ed Richley @ 1999-01-20 5:00 UTC (permalink / raw)
Well, I spoke too soon.
When I do /sbin/clock -Aa with the correct time and
a /etc/adjtime set to "0.0 0 0.0", I get a close
to correct result. The adjtime gets re-written with
some big number in the middle, and it reboots with
the correct day and time.
Then when I go to make the adjustment, by changing the
first number to -40.0 (seconds per day, the needed
correction), /sbin/clock -Aa puts me into February of this
year. Similarly, setting it to -1.0 puts me 12 hours
into the future. Something is very wrong with the way
"clock" is doing the adjustment.
Anybody else had this problem? Is this the same thing I keep
reading about that is fixed in the newer kernels?
Thanks.
Ed
--
------------------------------------------------------------
Ed Richley richley@onion-switch.com
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-01-20 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-19 5:00 Stupid clock problem fixed Ed Richley
1999-01-20 5:00 ` Ed Richley
1999-01-20 5:00 ` Helmut Katzgraber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox