6

ntpd and time jumping problem

view full story
linux-howto

http://forums.opensuse.org – Hello All! time will be synchronized but will be corrected through time reset: Code: uwl@dingo:~> tail -6 /var/log/ntp  5 Dec 21:14:43 ntpd[2453]: synchronized to 192.168.88.3, stratum 2  5 Dec 21:14:43 ntpd[2453]: time reset +0.432337 s  5 Dec 21:14:43 ntpd[2453]: kernel time sync status change 0001  5 Dec 21:26:04 ntpd[2453]: synchronized to 192.168.88.3, stratum 2  5 Dec 21:46:31 ntpd[2453]: time reset +0.284307 s  5 Dec 21:47:34 ntpd[2453]: synchronized to 192.168.88.3, stratum 2 uwl@dingo:~> cat /var/lib/ntp/drift/ntp.drift -235.075 As you can see ntp.drift is not very high. Not -500 or so, but the time will be reseted permanently. The /etc/adjtime contains only 0.0 0 0.0 ... I'm using ReiserFS for /home, but I umounted it and it wasn't help. I believe, it may be a hardware problem. I booted this PC with opensolaris live CD and configured xntpd there. The clock stays synchronized, will not be reseted and after 2 hours the ntp.drift contains something like 10.678. What could be done to correct this time jumping behavior on Linux? Something about this PC and installation: Code: uwl@dingo:~> cat /proc/cpuinfo | grep name model name        : Intel(R) Pentium(R) 4 CPU 2.60GHz uwl@dingo:~> cat /etc/SuSE-release openSUSE 11.2 (i586) VERSION = 11.2 uwl@dingo:~> uname -a Linux dingo 2.6.31.5-0.1-default #1 SMP 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux uwl@dingo:~> rpm -q ntp ntp-4.2.4p7-6.3.i586 uwl@dingo:~> sudo cat /etc/ntp.conf | egrep -v '(^#|^$)' server roo iburst driftfile /var/lib/ntp/drift/ntp.drift # path for drift file logfile  /var/log/ntp                # alternate log file statsdir /var/log/ntpstat/                # directory for statistics files statistics loopstats peerstats clockstats filegen peerstats  file peerstats  type day enable filegen loopstats  file loopstats  type day enable filegen clockstats file clockstats type day enable keys /etc/ntp.keys              # path for keys file trustedkey 1                    # define trusted keys requestkey 1                    # key (7) for accessing server variables Very many thanks in advance! wbrgds v0bza (Distributions)