Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is my hardware clock running amok?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
petgu
n00b
n00b


Joined: 09 Jul 2003
Posts: 11
Location: Linköping, Sweden

PostPosted: Thu Feb 17, 2005 5:27 pm    Post subject: Is my hardware clock running amok? Reply with quote

Hello,
I have a fresh Gentoo server running in another city. Today it had frozen and people on location had to reboot it for me.

When I logged in and ran last I found something strange:
Code:

root     pts/0        XX Thu Feb 17 18:06   still logged in   
reboot   system boot  2.6.9-gentoo-r13 Thu Feb 17 18:56          (00:-41)
..
root     pts/0        XX Wed Jan  5 19:50 - 20:04  (00:13)   
reboot   system boot  2.6.9-gentoo-r13 Wed Jan  5 20:49          (03:08)   
root     vc/1                          Thu Jan  6 20:27 - down  (-1+00:-43)
reboot   system boot  2.6.9-gentoo-r13 Thu Jan  6 21:22         (-1+-1:-38)
root     pts/0                         Thu Jan  6 18:47 - 18:47  (00:00)   
..


Notice the negative times (-41 seconds). It seems the clock is running too fast. At every reboot ntp-client sets it right.

What do you think, can something else cause this strange behaviour?

I doubt this has anything to do with the system freeze though.

(The system is running on Abit IS-10 with an P4 ~3+ GHz)


BR,
Peter
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Thu Feb 17, 2005 10:38 pm    Post subject: Reply with quote

If it only does it at boot, then I can see the clock getting off. I think that ntpd is used to make sure it stays current since it reboots seldom...?
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
southsider
Guru
Guru


Joined: 05 Jul 2004
Posts: 358

PostPosted: Fri Feb 18, 2005 1:14 am    Post subject: Reply with quote

I too have negative times in `last`! :E
Back to top
View user's profile Send private message
petgu
n00b
n00b


Joined: 09 Jul 2003
Posts: 11
Location: Linköping, Sweden

PostPosted: Fri Feb 18, 2005 10:25 am    Post subject: Reply with quote

The scary thing is that the H/W clock drifts about 1 hour per day. Is this common?

BG,
Peter
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Fri Feb 18, 2005 11:30 pm    Post subject: Reply with quote

I dunno. My 1 unit server used to just freak out on the date for no reason, but that was some hardware problem. After I emerged and configured ntp-client and ntpd to work, the problem was solved.
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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