ntpd problem freebsd 5.3
Christian Hiris
4711 at chello.at
Fri Sep 24 18:12:35 PDT 2004
-----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 at panther:~$ cat /etc/rc.conf | grep ntpd
> ntpd_enable="YES" # Run ntpd Network Time Protocol (or NO).
> drue at 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 at 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 at 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-----
More information about the freebsd-questions
mailing list