[ntp:hackers] Modern FreeBSD NTP Stratum 1 server?

Terje Mathisen terje at tmsw.no
Thu Dec 17 05:44:44 UTC 2015


François Meyer wrote:
> Hi Terje,
>
> I have 2 of them running freebsd :

Thanks, both of these seems to be using the ATOM driver, right?

Did you compile a custom kernel or just kldload?

Can you send me the relevant config files? (kldload or 'options 
PPS_SYNC', ./configure options, rc.conf, soft links in /dev, ntp.conf...)

Thanks,
Terje
>
> FreeBSD 10.1-RELEASE (PPS) #0: Thu Jan 29 09:23:25 UTC 2015
>
>      remote           refid      st t when poll reach   delay offset  
> jitter
> ============================================================================== 
>
> oPPS(0)          .PPS.            0 l   52   64  377    0.000 0.000   
> 0.002
>  Cs5071A(0)      .5071.           0 l  20d   64    0    0.000 14.308   
> 0.000
> *saturne.obs-bes .PPS.            1 s   46   64  377    0.282 0.083   
> 0.040
>  ntp-p1.obspm.fr .XFAC.          16 s    - 1024    0    0.000 0.000   
> 0.000
>
> That one also implements a tailored Cs5071A driver reading TOD and 
> leap info directly out of the 5071A serial line ; as you can see
> it is currently (physically) disconnected from the Cs but was doing 
> well with an offset averaging around 0 and a jitter around 20 ms if I 
> remember well (polls to the Cs serial line are buffered and sync-ed 
> with the PPS before being sent to ensure consistency).
>
> The other one :
>
> FreeBSD 10.1-C3 (PPS) #0: Thu Jan  8 13:25:54 UTC 2015
>
> remote           refid      st t when poll reach   delay   offset jitter
> ============================================================================== 
>
> oPPS(0)          .PPS.            0 l   23   64  377    0.000 0.017   
> 0.002
> *ntp-p1.obspm.fr .MRS.            1 s   23   64  377   11.243 -0.043   
> 0.255
>
> I run freebsd only on those machines so I am far from a freebsd 
> specialist but I may be able to answer/check some of the questions you 
> might have.
>
>
> Oe Wed, 16 Dece2015, Terje Mathsen wrote:
>
>> I have been trying, unsuccessfully, for a couple of days now to 
>> replace my old S1 server (ntp1.tmsw.no) which was entered in the pool 
>> with an IPv6 address only:
>>
>> The new server was based on PC-BSD 10.1, then I downloaded all the 
>> ports and all the kernel source code in order to build a custom kernel.
>>
>> (I first tried to simply use kldload to load the PPS modulu which 
>> seemed to work but when configuring ntpd (latest ntp-dev code) it 
>> didn't seem like pps was located so the ntpd binary was built without 
>> PPS support.)
>>
>> Anyway, after the custom kernel was installed I did get one YES for 
>> pps during configure, but that didn't seem to be enough, because when 
>> I load ntpd I get messages in /var/log/messages stating that the 
>> ppsapi is unusable. :-(
>>
>> So my question to the list is: Does anyone have recent experience in 
>> making ntpd + pps work on FreeBSD?
>>
>> Terje
>> PS. The reason I'm doing this is because the old server crashed, so I 
>> can't simply copy all the conf files from that one. :-(
>>
>> -- 
>> - <Terje at tmsw.no>
>> "almost all programming can be viewed as an exercise in caching"
>>
>> _______________________________________________
>> hackers mailing list
>> hackers at lists.ntp.org
>> http://lists.ntp.org/listinfo/hackers
>>
>


-- 
- <Terje at tmsw.no>
"almost all programming can be viewed as an exercise in caching"



More information about the hackers mailing list