[ntp:questions] NTP & PPS, part 2 ;)

Rob nomail at example.com
Thu Dec 11 21:46:13 UTC 2014

A C <agcarver+ntp at acarver.net> wrote:
> On 2014-12-11 12:33, Rob wrote:
>> A C <agcarver+ntp at acarver.net> wrote:
>>> On 2014-12-11 11:03, Paul wrote:
>>>> On Thu, Dec 11, 2014 at 11:14 AM, Sander Smeenk <ssmeenk at freshdot.net>
>>>> wrote:
>>>>> But i'm quite sure driver 22 is compiled in the binary i'm running.
>>>> Almost certainly not.  Debian derived distos using upstream ntp don't have
>>>> PPS support.  However it's fairly trivial to compile and if you use the
>>>> reference package you'll get the latest release and it will install with
>>>> the distro version.  The only glitch is timepps.h since they choose not to
>>>> include it in the reference source release.  It's in the pps-tools
>>>> repository at GitHub.
>>> Debian wheezy's packaged ntpd does include PPS support.  I am currently
>>> running ntpd from that stable repository and running the ATOM refclock
>>> (22).  The pps-tools package is also available in the repository for
>>> direct installation.
>> That must be new.  There was no PPS support in the Wheezy binaries a
>> couple of months ago.  A bug about this was filed, but nothing happened.
> I've only been running PPS disciplined ntpd on Debian since June so I
> didn't pay attention to the lack of PPS prior to that point however the
> latest binary says it was compiled in August.  The only other system I
> used with PPS was NetBSD and there I was compiling the kernel and ntpd.
> Linux netclock2 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u1 i686 GNU/Linux
> $ ntpq -c rv
> associd=0 status=0115 leap_none, sync_pps, 1 event, clock_sync,
> version="ntpd 4.2.6p5 at 1.2349-o Sat Aug  9 08:39:56 UTC 2014 (1)",
> processor="i686", system="Linux/3.2.0-4-686-pae", leap=00, stratum=1,
> precision=-20, rootdelay=0.000, rootdisp=0.445, refid=PPS,
> reftime=d8348730.416a1068  Thu, Dec 11 2014 13:12:16.255,
> clock=d834873e.a2ba6271  Thu, Dec 11 2014 13:12:30.635, peer=61736, tc=4,
> mintc=3, offset=0.001, frequency=-124.653, sys_jitter=0.002,
> clk_jitter=0.002, clk_wander=0.001

Interesting.  Mine says:
version="ntpd 4.2.6p5 at 1.2349-o Sat May 12 09:07:18 UTC 2012 (1)",

Same version, different compilation date, no PPS.  And it does not get
updated by apt-get update/upgrade.

You are sure you did not compile it yourself?  Compiling the source
package on a system where pps-tools is installed fixes the problem
automagically.  It is only a build problem.

More information about the questions mailing list