[ntp:questions] TXCO derived PPS and Atom PPS Clock Discipline driver

Viktar Palstsiuk viktar.palstsiuk at promwad.com
Mon Oct 18 13:05:13 UTC 2010


Hello

I use TXCO derived PPS. I set date and time manually.
Is it correct to use Atom PPS Clock Discipline driver with ntp.conf like this:

server 127.127.22.0 minpoll 4 maxpoll 4 prefer
fudge 127.127.22.0 flag3 1

I have configured PPS chain and it seems that I have good assets on /dev/pps0

# ppstest /dev/pps0
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1287406718.189472788, sequence: 3851 - clear
1287403729.439116894, sequence: 863
source 0 - assert 1287406719.189446532, sequence: 3852 - clear
1287403729.439116894, sequence: 863
source 0 - assert 1287406720.189392247, sequence: 3853 - clear
1287403729.439116894, sequence: 863
source 0 - assert 1287406721.189332647, sequence: 3854 - clear
1287403729.439116894, sequence: 863
source 0 - assert 1287406722.189309290, sequence: 3855 - clear
1287403729.439116894, sequence: 863
source 0 - assert 1287406723.189266281, sequence: 3856 - clear
1287403729.439116894, sequence: 863

But still can not get good PPS(0) status in ntpq -p


     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 PPS(0)          .PPS.            0 l    -   16    0    0.000    0.000   0.000

#ntpd -D1
ntpd 4.2.6p2 at 1.2194 Mon Oct 18 11:53:03 UTC 2010 (1)
addto_syslog: proto: precision = 9.342 usec
Finished Parsing!!
addto_syslog: ntp_io: estimated max descriptors: 1024, initial socket
boundary: 16
addto_syslog: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
addto_syslog: Listen and drop on 1 v6wildcard :: UDP 123
addto_syslog: Listen normally on 2 lo 127.0.0.1 UDP 123
restrict: op 1 addr 127.0.0.1 mask 255.255.255.255 mflags 00003000
flags 00000001
addto_syslog: Listen normally on 3 eth0 192.168.10.236 UDP 123
restrict: op 1 addr 192.168.10.236 mask 255.255.255.255 mflags
00003000 flags 00000001
addto_syslog: Listen normally on 4 lo ::1 UDP 123
restrict: op 1 addr ::1 mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
mflags 00003000 flags 00000001
addto_syslog: Listen normally on 5 eth0 fe80::625:feff:feed:18 UDP 123
restrict: op 1 addr fe80::625:feff:feed:18 mask
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mflags 00003000 flags 00000001
peer_clear: at 0 next 1 associd 25836 refid INIT
event at 0 PPS(0) 8011 81 mobilize assoc 25836
newpeer: 127.0.0.1->127.127.22.0 mode 3 vers 4 poll 4 4 flags 0x29 0x1
ttl 0 key 00000000
event at 0 0.0.0.0 c016 06 restart
event at 0 0.0.0.0 c012 02 freq_set ntpd 0.000 PPM
event at 0 0.0.0.0 c011 01 freq_not_set
refclock_transmit: at 1 127.127.22.0
refclock_transmit: at 17 127.127.22.0
refclock_transmit: at 33 127.127.22.0


-- 
Viktar Palstsiuk



More information about the questions mailing list