I am in need of some assistance determining why a ptp4l.conf file which works fine when running ptp4l as a stand alone daemon will no longer work when included in timemaster. I am still experimenting with my PTP master, so I wanted to have my workstation sync to the PTP master when it was running, but fail over to network NTP if the PTP master shuts down, which is my understanding of what using the timemaster program should allow. So first, is that a correct understanding on my part?
Assuming the answer to that question is yes, I have a working ptp4l.conf, but when starting timemaster (using systemd to control everything, this is on an up to date Fedora system, recently updated to F28 which includes ptp4l 1.9.2) the status indicates a PTP failure. Chronyd and ptp4l were disabled using systemctl, and timemaster made active using systemctl. 19:34:48 timemaster[863]: failed to parse configuration file /var/run/timemaster/ptp4l.0.conf 19:34:48 timemaster[863]: [7.155] process 885 started: /usr/sbin/chronyd -n -f /var/run/timemaster/chrony> 19:34:48 timemaster[863]: [7.164] process 891 started: /usr/sbin/ptp4l -l 5 -f /var/run/timemaster/ptp4l.> 19:34:48 timemaster[863]: [7.166] process 891 terminated (ignored) 19:34:48 chronyd[885]: chronyd version 3.3 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIG> 19:34:48 chronyd[885]: Frequency -14.007 +/- 0.031 ppm read from /var/lib/chrony/drift 19:34:48 chronyd[885]: Using right/UTC timezone to obtain leap second data 19:35:09 chubb.cc-net chronyd[885]: Selected source 69.89.207.99 19:35:09 chubb.cc-net chronyd[885]: System clock TAI offset set to 37 seconds 19:40:33 chubb.cc-net chronyd[885]: Selected source 198.60.22.240 This is the contents in timemaster/ptp4l.0.conf: $ less /var/run/timemaster/ptp4l.0.conf [global] include /etc/ptp4l.conf slaveOnly 1 domainNumber 0 uds_address /var/run/timemaster/ptp4l.0.socket message_tag [0:enp3s4f1] clock_servo ntpshm ntpshm_segment 0 This is the content of the included ptp4l.conf file (which I previously edited, and confirmed to be working acceptably when disabling timemaster and starting ptp4l): $ less /etc/ptp4l.conf [global] # Interface to use is configured in: # /etc/sysconfig/ptp4l # # Default Data Set # twoStepFlag 1 # This machine will always slave to the GPS # disciplined PTP clock (Beaglebone Black) slaveOnly 1 priority1 128 priority2 128 domainNumber 0 clockClass 248 clockAccuracy 0xFE offsetScaledLogVariance 0xFFFF free_running 0 freq_est_interval 1 # summary interval is time between printing statistics to # log, given as power of 2. The default is 0 (1 second). 7=128seconds # The units are nanoseconds and parts per billion (ppb). summary_interval 7 # These should be set per Ravenna guidelines # dscp_event # Defines the Differentiated Services Codepoint (DSCP) to be used # for PTP event messages. Must be a value # between 0 and 63. There are several media # streaming standards out there that # require specific values for this option. # For example 46 (EF PHB) in AES67 or 48 # (CS6 PHB) in RAVENNA. The default is 0. # # dscp_general # Defines the Differentiated Services Codepoint (DSCP) to be used # for PTP general messages. Must # be a value between 0 and 63. There # are several media streaming # standards out there that recommend # specific values for this option. # For example 34 (AF41 PHB) in AES67 # or 46 (EF PHB) in RAVENNA. The # default is 0. # Note that the above text is from the ptp4l.conf man # page; the AES67 presentation from Hildebrand says # PTP general messages should be dscp 0 dscp_event 48 dscp_general 0 # # Port Data Set thank you, Chris Caudle ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users