On 3/27/2012 22:07, Dave Hart wrote:
I suspect you will see that when you've used flag3 1, ntpd has
reported time_pps_kcbind failing. I do see a potential bug in that
code, though. If you don't get any hits from the fgrep, try removing
line 1259 from ntp_refclock.c:
if (errno != EOPNOTSUPP) {
and its matching closing brace on line 1265:
}
Then recompile ntpd and see if it then reports time_pps_kcbind failure
with flag3 1.
Nothing happened with the recompiled version, it still enabled kernel
PPS with no complaints:
28 Mar 05:27:42 ntpd[353]: 0.0.0.0 c01e 0e TAI 35 leap 201207010000
expire 201212280000
28 Mar 05:27:43 ntpd[353]: PPS(0) 8011 81 mobilize assoc 13088
28 Mar 05:27:43 ntpd[353]: SHM(0) 8011 81 mobilize assoc 13089
28 Mar 05:27:43 ntpd[353]: 0.0.0.0 c01d 0d kern kernel time sync enabled
28 Mar 05:27:43 ntpd[353]: 0.0.0.0 c012 02 freq_set kernel -77.202 PPM
28 Mar 05:27:43 ntpd[353]: 0.0.0.0 c016 06 restart
28 Mar 05:27:44 ntpd[353]: DNS 0.us.pool.ntp.org -> 149.20.68.17
28 Mar 05:27:44 ntpd[353]: 149.20.68.17 8011 81 mobilize assoc 13090
28 Mar 05:27:45 ntpd[353]: SHM(0) 8024 84 reachable
28 Mar 05:27:45 ntpd[353]: SHM(0) 903a 8a sys_peer
28 Mar 05:27:45 ntpd[353]: 0.0.0.0 c415 05 clock_sync
28 Mar 05:27:46 ntpd[353]: DNS 1.us.pool.ntp.org -> 204.109.63.243
28 Mar 05:27:46 ntpd[353]: 204.109.63.243 8011 81 mobilize assoc 13091
28 Mar 05:27:46 ntpd[353]: 0.0.0.0 0419 09 leap_armed
28 Mar 05:27:46 ntpd[353]: DNS 0.north-america.pool.ntp.org ->
184.22.183.130
28 Mar 05:27:46 ntpd[353]: 184.22.183.130 8011 81 mobilize assoc 13092
28 Mar 05:27:46 ntpd[353]: DNS ntp1.gatech.edu -> 130.207.165.28
28 Mar 05:27:46 ntpd[353]: 130.207.165.28 8011 81 mobilize assoc 13093
28 Mar 05:27:46 ntpd[353]: DNS rolex.usg.edu -> 131.144.4.10
28 Mar 05:27:46 ntpd[353]: 131.144.4.10 8011 81 mobilize assoc 13094
28 Mar 05:27:46 ntpd[353]: 130.207.165.28 8024 84 reachable
28 Mar 05:27:47 ntpd[353]: 184.22.183.130 8024 84 reachable
28 Mar 05:27:48 ntpd[353]: 149.20.68.17 8024 84 reachable
28 Mar 05:27:48 ntpd[353]: 131.144.4.10 8024 84 reachable
28 Mar 05:27:49 ntpd[353]: 204.109.63.243 8024 84 reachable
28 Mar 05:28:00 ntpd[353]: 130.207.165.28 903a 8a sys_peer
28 Mar 05:28:00 ntpd[353]: PPS(0) 8024 84 reachable
28 Mar 05:32:13 ntpd[353]: 0.0.0.0 061d 0d kern PPS enabled
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions