LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2006, 07:14 PM   #1
eglow
LQ Newbie
 
Registered: Jul 2006
Location: Frederick, MD
Distribution: CentOS 4.3
Posts: 18

Rep: Reputation: 0
Linux System Clock Too Fast


Hello,

I have a Linux server running CentOS 4.3 32 bit with the 2.6.9-34.0.2.ELsmp kernel. It has a Supermicro PDSMi motherboard with a Celeron D 3.06GHz processor. The board uses APIC for interrupts as it can handle Pentium D (dual-core) chips so I am running the SMP kernel to handle that even though the Celeron is only 1 logical processor.

The system clock is always running fast, gaining several minutes a day that it shouldn't and I'm trying to figure out why, and how to fix it. If I run the server without NTP, the system clock will continually run fast but the hardware clock will run normal (hwclock --show).

If I run NTP (pointing at pool.ntp.org servers), both the system and hardware clock run several minutes faster than they should. For example, see below:

[root@neon ~]# date ; hwclock --show
Fri Jul 28 20:16:52 EDT 2006
Fri 28 Jul 2006 08:16:52 PM EDT -0.099188 seconds
[root@neon ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
goldengate.vpiz 204.123.2.5 2 u 576 1024 377 84.742 -362748 8053.65
mail.confluxind 130.126.24.44 3 u 577 1024 377 39.623 -362746 8074.40
broken.blackros 24.130.58.99 2 u 646 1024 377 1.841 -362188 8049.68
*LOCAL(0) LOCAL(0) 10 l 58 64 377 0.000 0.000 0.001
[root@neon ~]# /etc/init.d/ntpd stop
Shutting down ntpd: [ OK ]
[root@neon ~]# ntpdate 0.pool.ntp.org
28 Jul 20:11:43 ntpdate[2599]: step time server 69.3.12.50 offset -367.734784 sec
[root@neon ~]# date ; hwclock --show
Fri Jul 28 20:11:50 EDT 2006
Fri 28 Jul 2006 08:17:58 PM EDT -0.930095 seconds
[root@neon ~]# /etc/init.d/ntpd start
Starting ntpd: [ OK ]
[root@neon ~]#


So, the clock is five minutes faster than it should be. If I stop NTP and manually sync, it'll go back to the correct time. However, by the end of the day, it'll be off and continue to drift. One thing I noticed is the 8000+ jitter. That seems extremely excessive. Is that what is causing this? Also, why would the system clock run so fast even when NTP is not running. I'm not much of an expert on NTP, any help with this would be appreciated. Am really trying to determine if it is a hardware problem with the HW clock, though that seems okay, or something that can be fixed via the software.

Thanks for any help, I'll let all know if I find anything.
Tom
 
Old 07-29-2006, 01:44 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Looks like your ntpd is not connecting. You need a single line in ntpd.conf: servers pool.ntp.org
 
Old 08-21-2006, 08:48 AM   #3
eglow
LQ Newbie
 
Registered: Jul 2006
Location: Frederick, MD
Distribution: CentOS 4.3
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the reply. It turns out that NTP was connecting but then going into a rejected status for each of the various time sources due to the drift being to great to accomodate a sync. It appears that the RTC chip on the motherboard is bad, causing the system clock to speed excessively. I have received a new board via RMA and will set that up in the future to see if the behavior continues.

I also configured a system with the same OS, kernel and motherboard and am having no issues with NTP, so am fairly certain that this is/was a hardware related issue.

Best Regards,
Tom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Clock Running Fast PeaceTank Linux - General 4 07-07-2005 12:03 PM
System clock running too fast elahav Linux - Software 4 02-04-2005 07:47 PM
System clock is running too fast on RH 9 jimieee Linux - General 0 01-06-2004 11:24 AM
System clock is fast AND slow.... cbjhawks Linux - Hardware 1 09-10-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration