[pkg-ntp-maintainers] Bug#790973: ntp: does not do PPS sync

Folkert van Heusden folkert at vanheusden.com
Fri Jul 3 12:43:02 UTC 2015


Package: ntp
Version: 1:4.2.6.p5+dfsg-7
Severity: normal

Dear Maintainer,

Ntpd is not using PPS.

As you can see in the attached cfg, I configured a nmea time source with pps support (flag3 set to 1).

root at neo:/home/folkert# lsof -n | grep ntp | grep dev
ntpd      18641               root    0u      CHR                1,3          0t0       1028 /dev/null
ntpd      18641               root    1u      CHR                1,3          0t0       1028 /dev/null
ntpd      18641               root    2u      CHR                1,3          0t0       1028 /dev/null
ntpd      18641               root    5u      CHR               4,65          0t0       1114 /dev/ttyS1

root at neo:/home/folkert# ls -l /dev/pps*
crw------- 1 root root 251, 0 May 18 23:46 /dev/pps0
lrwxrwxrwx 1 root root      9 May 18 23:47 /dev/pps1 -> /dev/pps0

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
x127.127.20.1    .GPS.            0 l    7   16  377    0.000  -687.34   7.630

This is a somewhat serious defficiency.


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-trunk-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ntp depends on:
ii  adduser      3.113+nmu3
ii  dpkg         1.17.25
ii  libc6        2.19-18
ii  libcap2      1:2.24-8
ii  libedit2     3.1-20150325-1
ii  libopts25    1:5.18.4-3
ii  libssl1.0.0  1.0.1k-3
ii  lsb-base     4.1+Debian13+nmu1
ii  netbase      5.3

Versions of packages ntp recommends:
ii  perl  5.20.2-3

Versions of packages ntp suggests:
ii  ntp-doc  1:4.2.6.p5+dfsg-7

-- Configuration Files:
/etc/ntp.conf changed:
driftfile /var/lib/ntp/ntp.drift
server 127.127.20.1 minpoll 4 prefer
fudge  127.127.20.1 flag3 1 flag2 0
disable monitor
peer hetlicht
peer detijd
peer clara
peer nanosg20
peer china
server ntp.xs4all.nl iburst
server ntp.nmi.nl iburst prefer
server chime1.surfnet.nl iburst
server ntp0.nl.uu.net iburst
restrict -4 default kod notrap nomodify
restrict -6 default kod notrap nomodify
restrict 127.0.0.1
restrict ::1
broadcast 224.0.1.1
broadcast 192.168.39.255
broadcast 192.168.64.255
broadcast 192.168.178.255


-- no debconf information



More information about the pkg-ntp-maintainers mailing list