Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 03:12:13 +0200
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org
Cc:        Dan Rue <drue@therub.org>
Subject:   Re: ntpd problem freebsd 5.3
Message-ID:  <200409250312.31974.4711@chello.at>
In-Reply-To: <20040924202041.GM40647@therub.org>
References:  <20040924202041.GM40647@therub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 24 September 2004 22:20, Dan Rue wrote:
> Heyo,
>
> I have a dual xeon machine on 5.3 beta 5 - and I am getting these ntpd
> messages in /var/log/messages non stop since I went up to 5.3:
>
> Sep 23 17:13:41 panther ntpd[467]: kernel time sync enabled 2001
> Sep 23 21:29:44 panther ntpd[467]: kernel time sync enabled 6001
> Sep 23 21:46:48 panther ntpd[467]: kernel time sync enabled 2001
> Sep 24 01:11:39 panther ntpd[467]: kernel time sync enabled 6001
> Sep 24 01:45:47 panther ntpd[467]: kernel time sync enabled 2001
> Sep 24 02:19:59 panther ntpd[467]: kernel time sync enabled 6001
>
> I googled without luck.
>
> Here's my (masked) ntpd.conf and rc.conf goodies:
>
> drue@panther:~$ cat /etc/rc.conf | grep ntpd
> ntpd_enable="YES"              # Run ntpd Network Time Protocol (or NO).
> drue@panther:~$ cat /etc/ntp.conf
>
> # VISI
> server 209.98.0.1
> server 209.98.98.1
>
> # U of Minnesota
> server 128.101.101.101
>
> peer   ***.***.***.***
>
> drue@panther:~$
>
> FWIW, the time is correct on the machine - I did an ntpd -g to
> synchronize it the first time.
>
> Oh, and the other thing is that I have ntp set up the exact same way on
> a dozen other machines without problems (same or similar ntpd.conf).
>
> Any ideas what those log messages even mean?

Status 2001 means that phase-locked-loop operation has been enabled, 6001 
means frequency-locked-loop has been enabled. As I understand it, ntpd 
switches to FLL mode, if it dedects large phase or frequency errors (there is 
a much better description in src/contrib/ntp/ntpd/ntp_loopfilter.c) 
The Status codes are listed in timex.h. 

There is also an easier way than searching timex.h :)
 
> ntpdc -c kerninfo | grep status
status:               6001  pll nano mode=fll
> ntpdc -c kerninfo matrix020 | grep status
status:               2001  pll nano
 
Cheers,
ch
      
- -- 
Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBVMX/09WjGjvKU74RAnLJAJwIkFCW5ZrNQVyQgD5XDO3CxInXPACfcIHh
J7loalf6HlsU7k2dQVYt4Wg=
=b2nW
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409250312.31974.4711>