When running the command with -l 7 it returns the following output:

ptp4l[10705.423]: config item (null).assume_two_step is 0
ptp4l[10705.423]: config item (null).check_fup_sync is 0
ptp4l[10705.423]: config item (null).tx_timestamp_timeout is 1
ptp4l[10705.423]: config item (null).clock_servo is 0
ptp4l[10705.423]: config item (null).time_stamping is 1
ptp4l[10705.423]: config item (null).clock_servo is 0
ptp4l[10705.423]: config item (null).clockClass is 248
ptp4l[10705.423]: config item (null).clockAccuracy is 254
ptp4l[10705.423]: config item (null).offsetScaledLogVariance is 65535
ptp4l[10705.423]: config item (null).productDescription is ';;'
ptp4l[10705.423]: config item (null).revisionData is ';;'
ptp4l[10705.423]: config item (null).userDescription is ''
ptp4l[10705.423]: config item (null).manufacturerIdentity is '00:00:00'
ptp4l[10705.423]: config item (null).domainNumber is 0
ptp4l[10705.423]: config item (null).slaveOnly is 1
ptp4l[10705.423]: config item (null).twoStepFlag is 1
ptp4l[10705.423]: config item (null).priority1 is 128
ptp4l[10705.424]: config item (null).priority2 is 128
ptp4l[10705.424]: config item (null).gmCapable is 1
ptp4l[10705.424]: config item (null).gmCapable is 1
ptp4l[10705.424]: interface index 2 is up
ptp4l[10705.424]: config item (null).free_running is 0
ptp4l[10705.424]: selected /dev/ptp0 as PTP clock
ptp4l[10705.424]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[10705.424]: section item /var/run/ptp4l.announceReceiptTimeout now 0
ptp4l[10705.425]: section item /var/run/ptp4l.delay_mechanism now 0
ptp4l[10705.425]: section item /var/run/ptp4l.network_transport now 0
ptp4l[10705.425]: section item /var/run/ptp4l.delay_filter_length now 1
ptp4l[10705.425]: config item (null).free_running is 0
ptp4l[10705.425]: config item (null).freq_est_interval is 1
ptp4l[10705.425]: config item (null).gmCapable is 1
ptp4l[10705.425]: config item (null).kernel_leap is 1
ptp4l[10705.425]: config item (null).utc_offset is 37
ptp4l[10705.425]: config item (null).timeSource is 160
ptp4l[10705.425]: config item (null).pi_proportional_const is 0.000000
ptp4l[10705.425]: config item (null).pi_integral_const is 0.000000
ptp4l[10705.425]: config item (null).pi_proportional_scale is 0.000000
ptp4l[10705.425]: config item (null).pi_proportional_exponent is -0.300000
ptp4l[10705.425]: config item (null).pi_proportional_norm_max is 0.700000
ptp4l[10705.425]: config item (null).pi_integral_scale is 0.000000
ptp4l[10705.425]: config item (null).pi_integral_exponent is 0.400000
ptp4l[10705.425]: config item (null).pi_integral_norm_max is 0.300000
ptp4l[10705.425]: config item (null).step_threshold is 0.000000
ptp4l[10705.425]: config item (null).first_step_threshold is 0.000020
ptp4l[10705.425]: config item (null).max_frequency is 900000000
ptp4l[10705.425]: config item (null).delay_filter_length is 10
ptp4l[10705.425]: config item (null).delay_filter is 1
ptp4l[10705.425]: config item (null).tsproc_mode is 0
ptp4l[10705.425]: config item (null).summary_interval is 0
ptp4l[10705.425]: config item (null).sanity_freq_limit is 200000000
ptp4l[10705.425]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[10705.426]: config item /var/run/ptp4l.boundary_clock_jbod is 0
ptp4l[10705.426]: config item /var/run/ptp4l.network_transport is 0
ptp4l[10705.426]: config item /var/run/ptp4l.delayAsymmetry is 0
ptp4l[10705.426]: config item /var/run/ptp4l.follow_up_info is 0
ptp4l[10705.426]: config item /var/run/ptp4l.freq_est_interval is 1
ptp4l[10705.426]: config item /var/run/ptp4l.hybrid_e2e is 0
ptp4l[10705.426]: config item /var/run/ptp4l.path_trace_enabled is 0
ptp4l[10705.426]: config item /var/run/ptp4l.ingressLatency is 0
ptp4l[10705.426]: config item /var/run/ptp4l.egressLatency is 0
ptp4l[10705.426]: config item /var/run/ptp4l.delay_mechanism is 0
ptp4l[10705.426]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
ptp4l[10705.426]: config item /var/run/ptp4l.fault_reset_interval is 4
ptp4l[10705.426]: config item /var/run/ptp4l.delay_filter_length is 1
ptp4l[10705.426]: config item /var/run/ptp4l.delay_filter is 1
ptp4l[10705.426]: config item /var/run/ptp4l.tsproc_mode is 0
ptp4l[10705.426]: config item eno1.boundary_clock_jbod is 0
ptp4l[10705.426]: config item eno1.network_transport is 1
ptp4l[10705.426]: config item eno1.delayAsymmetry is 0
ptp4l[10705.426]: config item eno1.follow_up_info is 0
ptp4l[10705.426]: config item eno1.freq_est_interval is 1
ptp4l[10705.426]: config item eno1.hybrid_e2e is 0
ptp4l[10705.426]: config item eno1.path_trace_enabled is 0
ptp4l[10705.426]: config item eno1.ingressLatency is 0
ptp4l[10705.426]: config item eno1.egressLatency is 0
ptp4l[10705.426]: config item eno1.delay_mechanism is 1
ptp4l[10705.426]: config item eno1.fault_badpeernet_interval is 16
ptp4l[10705.426]: config item eno1.fault_reset_interval is 4
ptp4l[10705.426]: config item eno1.delay_filter_length is 10
ptp4l[10705.426]: config item eno1.delay_filter is 1
ptp4l[10705.427]: config item eno1.tsproc_mode is 0
ptp4l[10705.427]: config item eno1.logMinDelayReqInterval is 0
ptp4l[10705.427]: config item eno1.logAnnounceInterval is 1
ptp4l[10705.427]: config item eno1.announceReceiptTimeout is 3
ptp4l[10705.427]: config item eno1.syncReceiptTimeout is 0
ptp4l[10705.427]: config item eno1.transportSpecific is 0
ptp4l[10705.427]: config item eno1.logSyncInterval is 0
ptp4l[10705.427]: config item eno1.logMinPdelayReqInterval is 0
ptp4l[10705.427]: config item eno1.neighborPropDelayThresh is 20000000
ptp4l[10705.427]: config item eno1.min_neighbor_prop_delay is -20000000
ptp4l[10705.427]: config item eno1.udp_ttl is 1
ptp4l[10705.428]: config item (null).dscp_event is 0
ptp4l[10705.429]: config item (null).dscp_general is 0
ptp4l[10705.429]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[10705.429]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
ptp4l[10705.429]: config item /var/run/ptp4l.logAnnounceInterval is 1
ptp4l[10705.429]: config item /var/run/ptp4l.announceReceiptTimeout is 0
ptp4l[10705.429]: config item /var/run/ptp4l.syncReceiptTimeout is 0
ptp4l[10705.429]: config item /var/run/ptp4l.transportSpecific is 0
ptp4l[10705.429]: config item /var/run/ptp4l.logSyncInterval is 0
ptp4l[10705.429]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
ptp4l[10705.429]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000
ptp4l[10705.429]: config item /var/run/ptp4l.min_neighbor_prop_delay is 
-20000000
ptp4l[10705.429]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[10705.430]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[10705.430]: port 1: received link status notification
ptp4l[10705.430]: interface index 2 is up

> On 20 Apr 2018, at 15:31, Miroslav Lichvar <mlich...@redhat.com> wrote:
> 
> On Fri, Apr 20, 2018 at 03:24:50PM +0200, Jord Pool wrote:
>> 15:17:55.746473 IP 10.0.0.218.ptp-event > ptp-primary.mcast.net.ptp-event: 
>> UDP, length 44
>> 15:17:55.746504 IP 10.0.0.218.ptp-general > 
>> ptp-primary.mcast.net.ptp-general: UDP, length 44
>> 15:17:55.784460 IP 10.100.0.1.ptp-event > ptp-primary.mcast.net.ptp-event: 
>> UDP, length 44
>> 
>> When running the command $ sudo ptp4l -H -i eno1 -s -m it returns the 
>> following:
>> 
>> ptp4l[9820.775]: selected /dev/ptp0 as PTP clock
>> ptp4l[9820.776]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
>> ptp4l[9820.777]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
>> ptp4l[9828.219]: selected best master clock 3c5282.fffe.5abe30
>> ptp4l[9834.262]: selected best master clock 3c5282.fffe.5abe30
>> ptp4l[9842.064]: selected best master clock 3c5282.fffe.5abe30
>> ptp4l[9848.472]: selected best master clock 3c5282.fffe.5abe30
> 
> I think that means ptp4l is not receiving or is ignoring the PTP
> messages. Maybe it's a different PTP domain?
> 
> Running ptp4l in strace and/or with -l 7 might give us more clues.
> 
> -- 
> Miroslav Lichvar

------------------------------------------------------------------------------
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

Reply via email to