View previous topic :: View next topic |
Author |
Message |
icefaerie n00b
Joined: 02 Oct 2004 Posts: 50
|
Posted: Sat Aug 06, 2005 2:00 am Post subject: System clock issues--running extremely fast |
|
|
My system clock appears to be running at double speed.
To counter the problem, I installed rdate, but even running that once a minute isn't enough, plus it won't work when I don't have internet access. Timestamps from IMs show one statement at 58 seconds, the next at 33 of the same minute after rdate runs.
Also, date and hwclock return very different things.
Code: | sirius liz # date
Fri Aug 5 21:49:32 EDT 2005
sirius liz # hwclock
Fri Aug 5 17:57:45 2005 -1.089189 seconds |
I was thinking they should be 4 hours apart, since the HW clock is UTC and I'm in the EDT timezone, as you can see, but then shouldn't the hardware clock be 4 hours ahead?
So then I looked around the forums, tried deleting /etc/adjtime
Code: | sirius liz # rm /etc/adjtime
sirius liz # /usr/bin/rdate -s ntp-1.ece.cmu.edu
sirius liz # date
Fri Aug 5 21:56:26 EDT 2005
sirius liz # date
Fri Aug 5 21:56:59 EDT 2005
sirius liz # date
Fri Aug 5 21:56:44 EDT 2005
sirius liz # date
Fri Aug 5 21:56:51 EDT 2005
sirius liz # hwclock
Fri Aug 5 22:05:17 2005 -0.689484 seconds |
Clearly, there's some sort of problem here...
Other relevant information: Compaq presario r4000 laptop, ATI pci bus.
Thanks for any suggestions...
EDIT
I did a little test. I timed this with a stopwatch and did these commands exactly 5 minutes apart.
Code: | sirius liz # date; hwclock
Fri Aug 5 22:23:52 EDT 2005
Fri Aug 5 22:23:11 2005 -1.418064 seconds
sirius liz # date; hwclock
Fri Aug 5 22:33:49 EDT 2005
Fri Aug 5 22:28:11 2005 -1.298375 seconds |
So the hardware clock isn't drifting, just the software clock. |
|
Back to top |
|
|
makomk n00b
Joined: 15 Jul 2005 Posts: 46 Location: Not all there
|
Posted: Sat Aug 06, 2005 11:52 am Post subject: |
|
|
Well, if it's the system clock that's running fast and not the hardware clock, /etc/adjtime won't have anything to do with it. Try having a look at this thread and see if any of the solutions work for you. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|