Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System clock issues--running extremely fast
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
icefaerie
n00b
n00b


Joined: 02 Oct 2004
Posts: 50

PostPosted: Sat Aug 06, 2005 2:00 am    Post subject: System clock issues--running extremely fast Reply with quote

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
View user's profile Send private message
makomk
n00b
n00b


Joined: 15 Jul 2005
Posts: 46
Location: Not all there

PostPosted: Sat Aug 06, 2005 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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