Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 22:40:09 +0200
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org
Cc:        Darrel <dlevitch@iglou.com>
Subject:   Re: NTP issues with 5.4 (SOLVED) (fwd)
Message-ID:  <200505202240.27506.4711@chello.at>
In-Reply-To: <Pine.GSO.4.61.0505191853570.24602@shell1>
References:  <Pine.GSO.4.61.0505191853570.24602@shell1>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart18011324.nuUiSCVA8n
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 20 May 2005 01:01:01, Darrel wrote:

> I installed openntpd considering that it should run with reduced
> privileges.  The Workgroup did not sync up right away and I reinstalled
> NTP4.
>
> Currently, I can sync Window XP and Windows 98.  My /var/log/messages:
>
> May 19 12:25:37 ntpd[379]: kernel time sync enabled 6001
> May 19 12:42:40 ntpd[379]: kernel time sync enabled 2001
> May 19 14:59:14 ntpd[379]: kernel time sync enabled 6001
> May 19 15:16:19 ntpd[379]: kernel time sync enabled 2001
> May 19 18:24:09 ntpd[379]: kernel time sync enabled 6001
> May 19 18:41:14 ntpd[379]: kernel time sync enabled 2001
>
> I am not sure, but this could be  normal phase-lock-loop of the
> kernel.

I think this is normal, the above status codes are in hex. Bit 0 of the 1st=
=20
byte tells about clock source (0=3DA 1=3DB), bit 1 of 1st byte stands for m=
ode=20
status (0=3DPLL 1=3DFLL), bit 2 of 1st byte represents resolution status (0=
=3Dus=20
1=3Dns) and bit 7 of the 2nd byte indicates that PLL updates are enabled.=20

status 0x2001 =3D source A, mode PLL, resolution ns, PLL updates enabled
status 0x6001 =3D source A, mode FLL, resolution ns, PLL updates enabled

The command 'ntpdc -c kerninfo | grep status' displays some of this status=
=20
information in human-readable format.

You can find a document that describes the Adaptive Hybrid Clock Discipline=
=20
Algorithm at http://www.eecis.udel.edu/~mills/database/papers/allan.pdf

Cheers,=20
ch =20

=2D-=20
Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE=20
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu

--nextPart18011324.nuUiSCVA8n
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCjks709WjGjvKU74RAijzAJ9kMa2AfFRVAptVF7UN1vGuLr+XigCeIbx5
TCZmhhD82LrkJrb6QgZh8vs=
=u7Jb
-----END PGP SIGNATURE-----

--nextPart18011324.nuUiSCVA8n--



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