ptp OC started with slave clock as follows

[root@centos7 linuxptp]# ./ptp4l -f /etc/ptp4l_slave.conf -i eth1 -s -m
ptp4l[531140.983]: config item (null).assume_two_step is 1
ptp4l[531140.983]: config item (null).check_fup_sync is 0
ptp4l[531140.983]: config item (null).tx_timestamp_timeout is 10
ptp4l[531140.983]: config item (null).hwts_filter is 0
ptp4l[531140.983]: config item (null).clock_servo is 0
ptp4l[531140.983]: config item (null).clock_type is 32768
ptp4l[531140.983]: config item (null).clock_servo is 0
ptp4l[531140.983]: config item (null).clockClass is 248
ptp4l[531140.983]: config item (null).clockAccuracy is 254
ptp4l[531140.983]: config item (null).offsetScaledLogVariance is 65535
ptp4l[531140.983]: config item (null).productDescription is ';;'
ptp4l[531140.983]: config item (null).revisionData is ';;'
ptp4l[531140.983]: config item (null).userDescription is ';'
ptp4l[531140.983]: config item (null).manufacturerIdentity is '00:00:00'
ptp4l[531140.984]: config item (null).domainNumber is 24
ptp4l[531140.984]: config item (null).slaveOnly is 1
ptp4l[531140.984]: config item (null).gmCapable is 1
ptp4l[531140.984]: config item (null).gmCapable is 1
ptp4l[531140.984]: config item (null).G.8275.defaultDS.localPriority is 128
ptp4l[531140.984]: config item (null).maxStepsRemoved is 255
ptp4l[531140.984]: config item (null).time_stamping is 1
ptp4l[531140.984]: config item (null).twoStepFlag is 1
ptp4l[531140.984]: config item (null).twoStepFlag is 1
ptp4l[531140.984]: config item (null).time_stamping is 1
ptp4l[531140.984]: config item (null).priority1 is 128
ptp4l[531140.984]: config item (null).priority2 is 128
ptp4l[531140.984]: interface index 3 is up
ptp4l[531140.984]: config item (null).free_running is 0
ptp4l[531140.984]: selected /dev/ptp1 as PTP clock
ptp4l[531140.984]: config item (null).clockIdentity is '000000.0000.000000'
ptp4l[531140.984]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[531140.984]: section item /var/run/ptp4l.announceReceiptTimeout now 0
ptp4l[531140.984]: section item /var/run/ptp4l.delay_mechanism now 0
ptp4l[531140.984]: section item /var/run/ptp4l.network_transport now 0
ptp4l[531140.984]: section item /var/run/ptp4l.delay_filter_length now 1
ptp4l[531140.984]: config item (null).free_running is 0
ptp4l[531140.984]: config item (null).freq_est_interval is 1
ptp4l[531140.984]: config item (null).write_phase_mode is 0
ptp4l[531140.984]: config item (null).gmCapable is 1
ptp4l[531140.984]: config item (null).kernel_leap is 1
ptp4l[531140.984]: config item (null).utc_offset is 37
ptp4l[531140.984]: config item (null).timeSource is 160
ptp4l[531140.984]: config item (null).pi_proportional_const is 0.000000
ptp4l[531140.984]: config item (null).pi_integral_const is 0.000000
ptp4l[531140.984]: config item (null).pi_proportional_scale is 0.000000
ptp4l[531140.984]: config item (null).pi_proportional_exponent is -0.300000
ptp4l[531140.984]: config item (null).pi_proportional_norm_max is 0.700000
ptp4l[531140.984]: config item (null).pi_integral_scale is 0.000000
ptp4l[531140.984]: config item (null).pi_integral_exponent is 0.400000
ptp4l[531140.984]: config item (null).pi_integral_norm_max is 0.300000
ptp4l[531140.984]: config item (null).step_threshold is 0.000000
ptp4l[531140.984]: config item (null).first_step_threshold is 0.000020
ptp4l[531140.984]: config item (null).max_frequency is 900000000
ptp4l[531140.984]: config item (null).servo_offset_threshold is 0
ptp4l[531140.984]: config item (null).servo_num_offset_values is 10
ptp4l[531140.984]: config item (null).dataset_comparison is 1
ptp4l[531140.984]: config item (null).delay_filter_length is 10
ptp4l[531140.984]: config item (null).delay_filter is 1
ptp4l[531140.984]: config item (null).tsproc_mode is 0
ptp4l[531140.984]: config item (null).initial_delay is 0
ptp4l[531140.984]: config item (null).summary_interval is 0
ptp4l[531140.984]: config item (null).sanity_freq_limit is 200000000
ptp4l[531140.984]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[531140.984]: config item /var/run/ptp4l.boundary_clock_jbod is 0
ptp4l[531140.984]: config item /var/run/ptp4l.network_transport is 0
ptp4l[531140.984]: config item /var/run/ptp4l.masterOnly is 0
ptp4l[531140.984]: config item /var/run/ptp4l.BMCA is 0
ptp4l[531140.984]: config item /var/run/ptp4l.delayAsymmetry is 0
ptp4l[531140.984]: config item /var/run/ptp4l.follow_up_info is 0
ptp4l[531140.984]: config item /var/run/ptp4l.freq_est_interval is 1
ptp4l[531140.984]: config item /var/run/ptp4l.msg_interval_request is 0
ptp4l[531140.984]: config item /var/run/ptp4l.net_sync_monitor is 0
ptp4l[531140.984]: config item /var/run/ptp4l.path_trace_enabled is 0
ptp4l[531140.984]: config item /var/run/ptp4l.tc_spanning_tree is 0
ptp4l[531140.984]: config item /var/run/ptp4l.ingressLatency is 0
ptp4l[531140.984]: config item /var/run/ptp4l.egressLatency is 0
ptp4l[531140.984]: config item /var/run/ptp4l.delay_mechanism is 0
ptp4l[531140.984]: config item /var/run/ptp4l.hybrid_e2e is 0
ptp4l[531140.984]: config item /var/run/ptp4l.fault_badpeernet_interval is 16
ptp4l[531140.984]: config item /var/run/ptp4l.fault_reset_interval is 4
ptp4l[531140.984]: config item /var/run/ptp4l.delay_filter_length is 1
ptp4l[531140.984]: config item /var/run/ptp4l.delay_filter is 1
ptp4l[531140.984]: config item /var/run/ptp4l.tsproc_mode is 0
ptp4l[531140.984]: config item eth1.boundary_clock_jbod is 0
ptp4l[531140.984]: config item eth1.network_transport is 3
ptp4l[531140.984]: config item eth1.masterOnly is 0
ptp4l[531140.984]: config item eth1.BMCA is 0
ptp4l[531140.984]: config item eth1.delayAsymmetry is 0
ptp4l[531140.984]: config item eth1.follow_up_info is 0
ptp4l[531140.984]: config item eth1.freq_est_interval is 1
ptp4l[531140.984]: config item eth1.msg_interval_request is 0
ptp4l[531140.984]: config item eth1.net_sync_monitor is 0
ptp4l[531140.984]: config item eth1.path_trace_enabled is 0
ptp4l[531140.984]: config item eth1.tc_spanning_tree is 0
ptp4l[531140.984]: config item eth1.ingressLatency is 0
ptp4l[531140.984]: config item eth1.egressLatency is 0
ptp4l[531140.985]: config item eth1.delay_mechanism is 1
ptp4l[531140.985]: config item eth1.unicast_master_table is 0
ptp4l[531140.985]: config item eth1.unicast_listen is 0
ptp4l[531140.985]: config item eth1.hybrid_e2e is 0
ptp4l[531140.985]: config item eth1.fault_badpeernet_interval is 16
ptp4l[531140.985]: config item eth1.fault_reset_interval is 4
ptp4l[531140.985]: config item eth1.delay_filter_length is 10
ptp4l[531140.985]: config item eth1.delay_filter is 1
ptp4l[531140.985]: config item eth1.tsproc_mode is 0
ptp4l[531140.985]: config item eth1.logMinDelayReqInterval is -4
ptp4l[531140.985]: config item eth1.logAnnounceInterval is -3
ptp4l[531140.985]: config item eth1.inhibit_announce is 0
ptp4l[531140.985]: config item eth1.ignore_source_id is 0
ptp4l[531140.985]: config item eth1.announceReceiptTimeout is 3
ptp4l[531140.985]: config item eth1.syncReceiptTimeout is 0
ptp4l[531140.985]: config item eth1.transportSpecific is 0
ptp4l[531140.985]: config item eth1.ignore_transport_specific is 0
ptp4l[531140.985]: config item eth1.G.8275.portDS.localPriority is 128
ptp4l[531140.985]: config item eth1.logSyncInterval is -4
ptp4l[531140.985]: config item eth1.operLogSyncInterval is 0
ptp4l[531140.985]: config item eth1.logMinPdelayReqInterval is 0
ptp4l[531140.985]: config item eth1.operLogPdelayReqInterval is 0
ptp4l[531140.985]: config item eth1.neighborPropDelayThresh is 20000000
ptp4l[531140.985]: config item eth1.min_neighbor_prop_delay is -20000000
ptp4l[531140.985]: config item eth1.asCapable is 1
ptp4l[531140.985]: config item eth1.inhibit_delay_req is 0
ptp4l[531140.985]: config item eth1.ptp_dst_mac is '01:1B:19:00:00:00'
ptp4l[531140.985]: config item eth1.p2p_dst_mac is '01:1B:19:00:00:00'
ptp4l[531140.985]: config item global.socket_priority is 0
ptp4l[531140.997]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[531140.997]: config item /var/run/ptp4l.logMinDelayReqInterval is -4
ptp4l[531140.997]: config item /var/run/ptp4l.logAnnounceInterval is -3
ptp4l[531140.997]: config item /var/run/ptp4l.inhibit_announce is 0
ptp4l[531140.997]: config item /var/run/ptp4l.ignore_source_id is 0
ptp4l[531140.997]: config item /var/run/ptp4l.announceReceiptTimeout is 0
ptp4l[531140.997]: config item /var/run/ptp4l.syncReceiptTimeout is 0
ptp4l[531140.997]: config item /var/run/ptp4l.transportSpecific is 0
ptp4l[531140.997]: config item /var/run/ptp4l.ignore_transport_specific is 0
ptp4l[531140.997]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128
ptp4l[531140.997]: config item /var/run/ptp4l.logSyncInterval is -4
ptp4l[531140.997]: config item /var/run/ptp4l.operLogSyncInterval is 0
ptp4l[531140.997]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
ptp4l[531140.997]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
ptp4l[531140.997]: config item /var/run/ptp4l.neighborPropDelayThresh is 
20000000
ptp4l[531140.997]: config item /var/run/ptp4l.min_neighbor_prop_delay is 
-20000000
ptp4l[531140.997]: config item /var/run/ptp4l.asCapable is 1
ptp4l[531140.997]: config item /var/run/ptp4l.inhibit_delay_req is 0
ptp4l[531140.997]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[531140.997]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[531140.997]: port 1: received link status notification
ptp4l[531140.997]: interface index 3 is up



[root@centos7 ~]# ss -f netlink
Recv-Q Send-Q                       Local Address:Port                          
              Peer Address:Port                
0      0                                     rtnl:ptp4l/22207                   
                          *                     
0      0                                     rtnl:kernel                        
                          *                     
0      0                                     rtnl:ptp4l/22207                   
                          * 



1) Why is two instances of ptp4l netlink sockets observed ?
2) clockIdentity is '000000.0000.000000'   in ptp4l log is expected or any 
configuration is wrong



PTP slave clock sync on phc working fine.  

But not getting any output with pmc command about status of ptp4l slave. Is 
there any configuration missing ?



Regards,
Raveendra



_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to