Hi Team,

We are currently running BMCA, where we have 3 ECUs.
ECU1 - GM1
ECU2- GM2
ECU3- Slave

When ECU1 is active, ECU2 & ECU3 will be the slave for ECU1. When ECU1 is
down/lost, ECU2 has to switch from slave to GM role.

We have configured the below priority for ECUs as:

Priority1  126 (ECU1)
Priority1  127 (ECU2)
Priority1  128 (ECU3)

We are observing that When ECU1 is active ECU2 initially takes a long time
(randomly 10 sec - 2min approx) to sync with ECU1(GM) and once ECU2
successfully syncs with ECU1 then after that there is no issue. ECU2
throwing "SLAVE to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES" error and
considering itself as GM by sending announce packet , after that again
considering ECU1 as GM and going to slave mode, this fluctuation on ECU2 is
happening intially  when ECU2 is trying to sync with ECU1 and after some
time (randomly 10 sec -2min) ECU2 successfully  getting synchronozed with
ECU1.


The question is why does ECU2 take more time initially to select ECU1 as GM
?

Could you please suggest any configuration changes that could solve this
issue?

Please find the below debug enabled Logs on ECU2 & ECU1 for more details.


ECU2 logs:
=========
root@autotalks:~# ptp4l -i eth0 -f /home/root/ECU2.cfg -m -l 7
ptp4l[272154.941]: config item (null).assume_two_step is 1
ptp4l[272154.942]: config item (null).check_fup_sync is 0
ptp4l[272154.943]: config item (null).tx_timestamp_timeout is 100
ptp4l[272154.944]: config item (null).hwts_filter is 0
ptp4l[272154.945]: config item (null).clock_servo is 0
ptp4l[272154.945]: config item (null).clock_type is 32768
ptp4l[272154.946]: config item (null).clock_servo is 0
ptp4l[272154.947]: config item (null).clockClass is 248
ptp4l[272154.947]: config item (null).clockAccuracy is 254
ptp4l[272154.948]: config item (null).offsetScaledLogVariance is 65535
ptp4l[272154.949]: config item (null).productDescription is ';;'
ptp4l[272154.950]: config item (null).revisionData is ';;'
ptp4l[272154.951]: config item (null).userDescription is ''
ptp4l[272154.952]: config item (null).manufacturerIdentity is '00:00:00'
ptp4l[272154.953]: config item (null).domainNumber is 0
ptp4l[272154.953]: config item (null).slaveOnly is 0
ptp4l[272154.954]: config item (null).gmCapable is 1
ptp4l[272154.954]: config item (null).gmCapable is 1
ptp4l[272154.955]: config item (null).G.8275.defaultDS.localPriority is 128
ptp4l[272154.955]: config item (null).maxStepsRemoved is 255
ptp4l[272154.955]: config item (null).time_stamping is 1
ptp4l[272154.955]: config item (null).twoStepFlag is 1
ptp4l[272154.955]: config item (null).twoStepFlag is 1
ptp4l[272154.956]: config item (null).time_stamping is 1
ptp4l[272154.956]: config item (null).priority1 is 128
ptp4l[272154.956]: config item (null).priority2 is 248
ptp4l[272154.957]: interface index 2 is up
ptp4l[272154.958]: config item (null).free_running is 0
ptp4l[272154.958]: selected /dev/ptp0 as PTP clock
ptp4l[272154.958]: config item (null).clockIdentity is '000000.0000.000000'
ptp4l[272154.958]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[272154.959]: section item /var/run/ptp4l.announceReceiptTimeout now 0
ptp4l[272154.959]: section item /var/run/ptp4l.delay_mechanism now 0
ptp4l[272154.959]: section item /var/run/ptp4l.network_transport now 0
ptp4l[272154.959]: section item /var/run/ptp4l.delay_filter_length now 1
ptp4l[272154.960]: config item (null).free_running is 0
ptp4l[272154.960]: config item (null).freq_est_interval is 1
ptp4l[272154.960]: config item (null).write_phase_mode is 0
ptp4l[272154.960]: config item (null).gmCapable is 1
ptp4l[272154.961]: config item (null).kernel_leap is 1
ptp4l[272154.961]: config item (null).utc_offset is 0
ptp4l[272154.961]: config item (null).timeSource is 32
ptp4l[272154.961]: config item (null).pi_proportional_const is 0.000000
ptp4l[272154.962]: config item (null).pi_integral_const is 0.000000
ptp4l[272154.962]: config item (null).pi_proportional_scale is 0.000000
ptp4l[272154.962]: config item (null).pi_proportional_exponent is -0.300000
ptp4l[272154.962]: config item (null).pi_proportional_norm_max is 0.700000
ptp4l[272154.963]: config item (null).pi_integral_scale is 0.000000
ptp4l[272154.963]: config item (null).pi_integral_exponent is 0.400000
ptp4l[272154.963]: config item (null).pi_integral_norm_max is 0.300000
ptp4l[272154.963]: config item (null).step_threshold is 1.000000
ptp4l[272154.964]: config item (null).first_step_threshold is 0.000020
ptp4l[272154.964]: config item (null).max_frequency is 900000000
ptp4l[272154.964]: config item (null).servo_offset_threshold is 30
ptp4l[272154.964]: config item (null).servo_num_offset_values is 10
ptp4l[272154.965]: config item (null).dataset_comparison is 0
ptp4l[272154.965]: config item (null).tsproc_mode is 0
ptp4l[272154.965]: config item (null).delay_filter is 1
ptp4l[272154.965]: config item (null).delay_filter_length is 10
ptp4l[272154.966]: config item (null).initial_delay is 0
ptp4l[272154.966]: config item (null).summary_interval is 0
ptp4l[272154.966]: config item (null).sanity_freq_limit is 200000000
ptp4l[272154.966]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[272154.967]: config item /var/run/ptp4l.boundary_clock_jbod is 0
ptp4l[272154.967]: config item /var/run/ptp4l.network_transport is 0
ptp4l[272154.967]: config item /var/run/ptp4l.masterOnly is 0
ptp4l[272154.967]: config item /var/run/ptp4l.BMCA is 0
ptp4l[272154.967]: config item /var/run/ptp4l.delayAsymmetry is 0
ptp4l[272154.968]: config item /var/run/ptp4l.follow_up_info is 1
ptp4l[272154.968]: config item /var/run/ptp4l.freq_est_interval is 1
ptp4l[272154.968]: config item /var/run/ptp4l.msg_interval_request is 1
ptp4l[272154.968]: config item /var/run/ptp4l.net_sync_monitor is 0
ptp4l[272154.968]: config item /var/run/ptp4l.path_trace_enabled is 1
ptp4l[272154.968]: config item /var/run/ptp4l.tc_spanning_tree is 0
ptp4l[272154.968]: config item /var/run/ptp4l.ingressLatency is 1086
ptp4l[272154.968]: config item /var/run/ptp4l.egressLatency is 753
ptp4l[272154.968]: config item /var/run/ptp4l.delay_mechanism is 0
ptp4l[272154.968]: config item /var/run/ptp4l.hybrid_e2e is 0
ptp4l[272154.969]: config item /var/run/ptp4l.fault_badpeernet_interval is
16
ptp4l[272154.969]: config item /var/run/ptp4l.fault_reset_interval is 4
ptp4l[272154.969]: config item /var/run/ptp4l.tsproc_mode is 0
ptp4l[272154.969]: config item /var/run/ptp4l.delay_filter is 1
ptp4l[272154.969]: config item /var/run/ptp4l.delay_filter_length is 1
ptp4l[272154.969]: config item (null).slave_event_monitor is ''
ptp4l[272154.969]: config item eth0.boundary_clock_jbod is 0
ptp4l[272154.970]: config item eth0.network_transport is 3
ptp4l[272154.970]: config item eth0.masterOnly is 0
ptp4l[272154.970]: config item eth0.BMCA is 0
ptp4l[272154.970]: config item eth0.delayAsymmetry is 0
ptp4l[272154.970]: config item eth0.follow_up_info is 1
ptp4l[272154.971]: config item eth0.freq_est_interval is 1
ptp4l[272154.971]: config item eth0.msg_interval_request is 1
ptp4l[272154.971]: config item eth0.net_sync_monitor is 0
ptp4l[272154.971]: config item eth0.path_trace_enabled is 1
ptp4l[272154.971]: config item eth0.tc_spanning_tree is 0
ptp4l[272154.971]: config item eth0.ingressLatency is 1086
ptp4l[272154.971]: config item eth0.egressLatency is 753
ptp4l[272154.971]: config item eth0.delay_mechanism is 2
ptp4l[272154.971]: config item eth0.unicast_master_table is 0
ptp4l[272154.971]: config item eth0.unicast_listen is 0
ptp4l[272154.972]: config item eth0.hybrid_e2e is 0
ptp4l[272154.972]: config item eth0.fault_badpeernet_interval is 16
ptp4l[272154.972]: config item eth0.fault_reset_interval is 4
ptp4l[272154.972]: config item eth0.tsproc_mode is 0
ptp4l[272154.972]: config item eth0.delay_filter is 1
ptp4l[272154.972]: config item eth0.delay_filter_length is 10
ptp4l[272154.973]: config item eth0.logMinDelayReqInterval is 0
ptp4l[272154.973]: config item eth0.logAnnounceInterval is 1
ptp4l[272154.973]: config item eth0.inhibit_announce is 0
ptp4l[272154.973]: config item eth0.ignore_source_id is 0
ptp4l[272154.973]: config item eth0.announceReceiptTimeout is 3
ptp4l[272154.974]: config item eth0.syncReceiptTimeout is 3
ptp4l[272154.974]: config item eth0.transportSpecific is 1
ptp4l[272154.974]: config item eth0.ignore_transport_specific is 0
ptp4l[272154.974]: config item eth0.G.8275.portDS.localPriority is 128
ptp4l[272154.974]: config item eth0.logSyncInterval is -3
ptp4l[272154.974]: config item eth0.operLogSyncInterval is 0
ptp4l[272154.974]: config item eth0.logMinPdelayReqInterval is 0
ptp4l[272154.974]: config item eth0.operLogPdelayReqInterval is 0
ptp4l[272154.974]: config item eth0.neighborPropDelayThresh is 20000000
ptp4l[272154.975]: config item eth0.min_neighbor_prop_delay is -20000000
ptp4l[272154.975]: config item eth0.asCapable is 0
ptp4l[272154.975]: config item eth0.inhibit_delay_req is 0
ptp4l[272154.975]: config item eth0.ptp_dst_mac is '01:80:C2:00:00:0E'
ptp4l[272154.976]: config item eth0.p2p_dst_mac is '01:80:C2:00:00:0E'
ptp4l[272154.976]: config item global.socket_priority is 0
ptp4l[272155.050]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[272155.051]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
ptp4l[272155.051]: config item /var/run/ptp4l.logAnnounceInterval is 1
ptp4l[272155.051]: config item /var/run/ptp4l.inhibit_announce is 0
ptp4l[272155.051]: config item /var/run/ptp4l.ignore_source_id is 0
ptp4l[272155.052]: config item /var/run/ptp4l.announceReceiptTimeout is 0
ptp4l[272155.052]: config item /var/run/ptp4l.syncReceiptTimeout is 3
ptp4l[272155.052]: config item /var/run/ptp4l.transportSpecific is 1
ptp4l[272155.053]: config item /var/run/ptp4l.ignore_transport_specific is 0
ptp4l[272155.053]: config item /var/run/ptp4l.G.8275.portDS.localPriority
is 128
ptp4l[272155.053]: config item /var/run/ptp4l.logSyncInterval is -3
ptp4l[272155.053]: config item /var/run/ptp4l.operLogSyncInterval is 0
ptp4l[272155.054]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
ptp4l[272155.054]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
ptp4l[272155.054]: config item /var/run/ptp4l.neighborPropDelayThresh is
20000000
ptp4l[272155.055]: config item /var/run/ptp4l.min_neighbor_prop_delay is
-20000000
ptp4l[272155.055]: config item /var/run/ptp4l.asCapable is 0
ptp4l[272155.055]: config item /var/run/ptp4l.inhibit_delay_req is 0
ptp4l[272155.056]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[272155.056]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[272155.057]: port 1: ignoring message
ptp4l[272155.057]: port 1: received link status notification
ptp4l[272155.057]: interface index 2 is up
ptp4l[272155.357]: port 1: peer port id set to 3498b5.fffe.abc7c3-7
ptp4l[272156.051]: port 1: delay timeout
ptp4l[272156.057]: delay   filtered       3420   raw       3420
ptp4l[272156.376]: port 1: new foreign master 3498b5.fffe.abc7c3-7
ptp4l[272157.051]: port 1: delay timeout
ptp4l[272157.057]: delay   filtered       3414   raw       3408
ptp4l[272158.051]: port 1: delay timeout
ptp4l[272158.056]: delay   filtered       3408   raw       3404
ptp4l[272158.376]: selected best master clock 0022a0.fffe.000106
ptp4l[272158.376]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[272158.384]: PI servo: sync interval 0.125 kp 1.306 ki 0.130583
ptp4l[272159.052]: port 1: delay timeout
ptp4l[272159.066]: delay   filtered       3411   raw       3414
ptp4l[272159.390]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[272160.016]: rms 56708456162738 max 113416912325556 freq   +636 +/-
375 delay  3411 +/-   0
ptp4l[272160.052]: port 1: delay timeout
ptp4l[272160.056]: negative delay   -1470193
ptp4l[272160.056]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[272160.056]: t2 - t3 =        -51
ptp4l[272160.056]: t4 - t1 =   -2940336
ptp4l[272160.056]: rr = -0.000017632
ptp4l[272160.056]: delay   filtered       3408   raw   -1470193
ptp4l[272161.017]: rms  471 max  592 freq    +91 +/- 101 delay  3408 +/-   0
ptp4l[272161.052]: port 1: delay timeout
ptp4l[272161.056]: negative delay   -1409256
ptp4l[272161.056]: delay = (t2 - t3) * rr + (t4 - t1)
ptp4l[272161.056]: t2 - t3 =        -49
ptp4l[272161.056]: t4 - t1 =   -2818464
ptp4l[272161.056]: rr = -0.000017632
ptp4l[272161.057]: delay   filtered       3406   raw   -1409256
ptp4l[272162.020]: rms  259 max  382 freq    +12 +/-  45 delay  3406 +/-   0
ptp4l[272162.053]: port 1: delay timeout
ptp4l[272162.054]: delay   filtered       3406   raw       3406
ptp4l[272163.027]: rms   60 max  108 freq   +137 +/-  29 delay  3406 +/-   0
ptp4l[272163.053]: port 1: delay timeout
ptp4l[272163.057]: delay   filtered       3406   raw       3406
ptp4l[272164.027]: rms   49 max  104 freq   +207 +/-  68 delay  3406 +/-   0
ptp4l[272164.053]: port 1: delay timeout
ptp4l[272164.057]: delay   filtered       3406   raw       3432
ptp4l[272165.037]: rms   38 max   67 freq   +255 +/-  37 delay  3406 +/-   0
ptp4l[272165.054]: port 1: delay timeout
ptp4l[272165.057]: delay   filtered       3406   raw       3401
ptp4l[272166.037]: rms   58 max  112 freq   +271 +/-  75 delay  3406 +/-   0
ptp4l[272166.054]: port 1: delay timeout
ptp4l[272166.058]: delay   filtered       3405   raw       3397
ptp4l[272166.542]: port 1: rx sync timeout
ptp4l[272166.542]: port 1: SLAVE to MASTER on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[272166.543]: selected local clock 26cc35.fffe.82241b as best master
ptp4l[272166.543]: port 1: assuming the grand master role
ptp4l[272166.544]: port 1: master tx announce timeout
ptp4l[272167.054]: port 1: delay timeout
ptp4l[272167.058]: delay   filtered       3403   raw       3403
ptp4l[272167.543]: port 1: master sync timeout
ptp4l[272168.055]: port 1: delay timeout
ptp4l[272168.057]: delay   filtered       3404   raw       3440
ptp4l[272168.436]: selected best master clock 0022a0.fffe.000106
ptp4l[272168.437]: port 1: MASTER to UNCALIBRATED on RS_SLAVE
ptp4l[272169.048]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[272169.055]: port 1: delay timeout
ptp4l[272169.057]: delay   filtered       3402   raw       3398
ptp4l[272169.177]: PI servo: sync interval 0.125 kp 1.306 ki 0.130583
ptp4l[272169.428]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[272169.928]: rms  139 max  237 freq   +441 +/- 243 delay  3404 +/-   2
ptp4l[272170.056]: port 1: delay timeout
ptp4l[272170.057]: delay   filtered       3403   raw       3404
ptp4l[272170.927]: rms  267 max  324 freq   +240 +/- 115 delay  3403 +/-   0
ptp4l[272171.056]: port 1: delay timeout
ptp4l[272171.058]: delay   filtered       3405   raw       3422
ptp4l[272171.927]: rms  184 max  279 freq   +110 +/-  36 delay  3405 +/-   0
ptp4l[272172.056]: port 1: delay timeout
ptp4l[272172.058]: delay   filtered       3405   raw       3420
ptp4l[272172.929]: rms   73 max  123 freq   +186 +/-  77 delay  3405 +/-   0
ptp4l[272173.057]: port 1: delay timeout
ptp4l[272173.058]: delay   filtered       3412   raw       3438
ptp4l[272173.937]: rms   44 max   84 freq   +170 +/-  41 delay  3412 +/-   0
ptp4l[272174.057]: port 1: delay timeout
ptp4l[272174.060]: delay   filtered       3412   raw       3436
ptp4l[272174.938]: rms   27 max   52 freq   +192 +/-  37 delay  3412 +/-   0
ptp4l[272175.057]: port 1: delay timeout
ptp4l[272175.068]: delay   filtered       3413   raw       3406
ptp4l[272175.313]: port 1: rx sync timeout
ptp4l[272175.313]: port 1: SLAVE to MASTER on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[272175.314]: selected local clock 26cc35.fffe.82241b as best master
ptp4l[272175.314]: port 1: assuming the grand master role
ptp4l[272175.315]: port 1: master tx announce timeout
ptp4l[272176.058]: port 1: delay timeout
ptp4l[272176.067]: delay   filtered       3421   raw       3424
ptp4l[272176.314]: port 1: master sync timeout
ptp4l[272176.517]: selected best master clock 0022a0.fffe.000106
ptp4l[272176.517]: port 1: MASTER to UNCALIBRATED on RS_SLAVE
ptp4l[272176.698]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[272176.818]: PI servo: sync interval 0.125 kp 1.306 ki 0.130583
ptp4l[272177.058]: port 1: delay timeout
ptp4l[272177.067]: delay   filtered       3423   raw       3424
ptp4l[272177.448]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[272177.948]: rms  106 max  200 freq   +129 +/- 115 delay  3418 +/-   5
ptp4l[272178.058]: port 1: delay timeout
ptp4l[272178.067]: delay   filtered       3422   raw       3422
ptp4l[272178.948]: rms  151 max  196 freq   +276 +/-  38 delay  3422 +/-   0
ptp4l[272179.059]: port 1: delay timeout
ptp4l[272179.062]: delay   filtered       3423   raw       3428
ptp4l[272179.949]: rms   90 max  130 freq   +304 +/-  46 delay  3423 +/-   0
ptp4l[272180.059]: port 1: delay timeout
ptp4l[272180.068]: delay   filtered       3424   raw       3448
ptp4l[272180.952]: rms   54 max  113 freq   +281 +/-  62 delay  3424 +/-   0
ptp4l[272181.059]: port 1: delay timeout
ptp4l[272181.061]: delay   filtered       3425   raw       3426
ptp4l[272182.060]: port 1: delay timeout
ptp4l[272182.068]: delay   filtered       3426   raw       3426
ptp4l[272182.213]: port 1: rx sync timeout
ptp4l[272182.213]: port 1: SLAVE to MASTER on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[272182.214]: selected local clock 26cc35.fffe.82241b as best master
ptp4l[272182.215]: port 1: assuming the grand master role
ptp4l[272182.215]: port 1: master tx announce timeout
ptp4l[272183.060]: port 1: delay timeout
ptp4l[272183.068]: delay   filtered       3426   raw       3426
ptp4l[272183.214]: port 1: master sync timeout
ptp4l[272183.547]: selected best master clock 0022a0.fffe.000106
ptp4l[272183.547]: port 1: MASTER to UNCALIBRATED on RS_SLAVE
ptp4l[272183.710]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[272183.836]: PI servo: sync interval 0.125 kp 1.306 ki 0.130583
ptp4l[272184.060]: port 1: delay timeout
ptp4l[272184.062]: delay   filtered       3425   raw       3422
ptp4l[272184.091]: rms   27 max   55 freq   +251 +/-  38 delay  3425 +/-   0
ptp4l[272184.463]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED
ptp4l[272185.061]: port 1: delay timeout
ptp4l[272185.063]: delay   filtered       3425   raw       3412
ptp4l[272185.090]: rms   32 max   65 freq   +254 +/-  57 delay  3425 +/-   0
ptp4l[272186.061]: port 1: delay timeout
ptp4l[272186.068]: delay   filtered       3425   raw       3423
ptp4l[272186.099]: rms   61 max  114 freq   +219 +/-  84 delay  3425 +/-   0
ptp4l[272187.062]: port 1: delay timeout
ptp4l[272187.068]: delay   filtered       3426   raw       3463
ptp4l[272187.095]: port 1: rx sync timeout
ptp4l[272187.095]: port 1: SLAVE to MASTER on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[272187.095]: selected local clock 26cc35.fffe.82241b as best master
ptp4l[272187.096]: port 1: assuming the grand master role
ptp4l[272187.097]: port 1: master tx announce timeout
ptp4l[272188.062]: port 1: delay timeout
ptp4l[272188.068]: delay   filtered       3426   raw       3431
ptp4l[272188.095]: port 1: master sync timeout
ptp4l[272188.578]: selected best master clock 0022a0.fffe.000106
ptp4l[272188.578]: port 1: MASTER to UNCALIBRATED on RS_SLAVE
ptp4l[272189.062]: port 1: delay timeout
ptp4l[272189.068]: delay   filtered       3426   raw       3419
ptp4l[272189.121]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[272189.121]: master offset        -33 s3 freq    +186 path delay
 3426
ptp4l[272189.729]: master offset         -1 s3 freq    +208 path delay
 3426
ptp4l[272190.063]: port 1: delay timeout
ptp4l[272190.068]: delay   filtered       3424   raw       3417
ptp4l[272190.231]: master offset         42 s3 freq    +251 path delay
 3424
ptp4l[272190.739]: master offset         49 s3 freq    +270 path delay
 3424
ptp4l[272191.063]: port 1: delay timeout
ptp4l[272191.070]: delay   filtered       3422   raw       3415
ptp4l[272191.239]: master offset         14 s3 freq    +250 path delay
 3422
ptp4l[272191.860]: master offset         -9 s3 freq    +231 path delay
 3422
ptp4l[272192.063]: port 1: delay timeout
ptp4l[272192.069]: delay   filtered       3420   raw       3413
ptp4l[272192.369]: master offset         17 s3 freq    +254 path delay
 3420
ptp4l[272192.870]: master offset         17 s3 freq    +259 path delay
 3420
ptp4l[272193.064]: port 1: delay timeout
ptp4l[272193.070]: delay   filtered       3420   raw       3449




ECU1 logs:
==========

root@autotalks:~# ptp4l -i eth0 -f /home/root/ECU1.cfg -m -l 7
ptp4l[158072.905]: config item (null).assume_two_step is 1
ptp4l[158072.906]: config item (null).check_fup_sync is 0
ptp4l[158072.907]: config item (null).tx_timestamp_timeout is 100
ptp4l[158072.908]: config item (null).hwts_filter is 0
ptp4l[158072.908]: config item (null).clock_servo is 0
ptp4l[158072.909]: config item (null).clock_type is 32768
ptp4l[158072.909]: config item (null).clock_servo is 0
ptp4l[158072.910]: config item (null).clockClass is 248
ptp4l[158072.911]: config item (null).clockAccuracy is 254
ptp4l[158072.911]: config item (null).offsetScaledLogVariance is 65535
ptp4l[158072.912]: config item (null).productDescription is ';;'
ptp4l[158072.912]: config item (null).revisionData is ';;'
ptp4l[158072.913]: config item (null).userDescription is ''
ptp4l[158072.914]: config item (null).manufacturerIdentity is '00:00:00'
ptp4l[158072.915]: config item (null).domainNumber is 0
ptp4l[158072.915]: config item (null).slaveOnly is 0
ptp4l[158072.915]: config item (null).gmCapable is 1
ptp4l[158072.916]: config item (null).gmCapable is 1
ptp4l[158072.916]: config item (null).G.8275.defaultDS.localPriority is 128
ptp4l[158072.916]: config item (null).maxStepsRemoved is 255
ptp4l[158072.916]: config item (null).time_stamping is 1
ptp4l[158072.917]: config item (null).twoStepFlag is 1
ptp4l[158072.917]: config item (null).twoStepFlag is 1
ptp4l[158072.917]: config item (null).time_stamping is 1
ptp4l[158072.918]: config item (null).priority1 is 126
ptp4l[158072.918]: config item (null).priority2 is 248
ptp4l[158072.919]: interface index 2 is up
ptp4l[158072.919]: config item (null).free_running is 0
ptp4l[158072.920]: selected /dev/ptp0 as PTP clock
ptp4l[158072.920]: config item (null).clockIdentity is '000000.0000.000000'
ptp4l[158072.920]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[158072.921]: section item /var/run/ptp4l.announceReceiptTimeout now 0
ptp4l[158072.921]: section item /var/run/ptp4l.delay_mechanism now 0
ptp4l[158072.921]: section item /var/run/ptp4l.network_transport now 0
ptp4l[158072.921]: section item /var/run/ptp4l.delay_filter_length now 1
ptp4l[158072.922]: config item (null).free_running is 0
ptp4l[158072.922]: config item (null).freq_est_interval is 1
ptp4l[158072.922]: config item (null).write_phase_mode is 0
ptp4l[158072.922]: config item (null).gmCapable is 1
ptp4l[158072.923]: config item (null).kernel_leap is 1
ptp4l[158072.923]: config item (null).utc_offset is 0
ptp4l[158072.923]: config item (null).timeSource is 32
ptp4l[158072.923]: config item (null).pi_proportional_const is 0.000000
ptp4l[158072.924]: config item (null).pi_integral_const is 0.000000
ptp4l[158072.924]: config item (null).pi_proportional_scale is 0.000000
ptp4l[158072.924]: config item (null).pi_proportional_exponent is -0.300000
ptp4l[158072.924]: config item (null).pi_proportional_norm_max is 0.700000
ptp4l[158072.925]: config item (null).pi_integral_scale is 0.000000
ptp4l[158072.925]: config item (null).pi_integral_exponent is 0.400000
ptp4l[158072.926]: config item (null).pi_integral_norm_max is 0.300000
ptp4l[158072.926]: config item (null).step_threshold is 0.000000
ptp4l[158072.927]: config item (null).first_step_threshold is 0.000020
ptp4l[158072.927]: config item (null).max_frequency is 900000000
ptp4l[158072.928]: config item (null).servo_offset_threshold is 0
ptp4l[158072.928]: config item (null).servo_num_offset_values is 10
ptp4l[158072.928]: config item (null).dataset_comparison is 0
ptp4l[158072.929]: config item (null).tsproc_mode is 0
ptp4l[158072.929]: config item (null).delay_filter is 1
ptp4l[158072.929]: config item (null).delay_filter_length is 10
ptp4l[158072.930]: config item (null).initial_delay is 0
ptp4l[158072.930]: config item (null).summary_interval is 0
ptp4l[158072.930]: config item (null).sanity_freq_limit is 200000000
ptp4l[158072.931]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000
ptp4l[158072.931]: config item /var/run/ptp4l.boundary_clock_jbod is 0
ptp4l[158072.932]: config item /var/run/ptp4l.network_transport is 0
ptp4l[158072.932]: config item /var/run/ptp4l.masterOnly is 0
ptp4l[158072.932]: config item /var/run/ptp4l.BMCA is 0
ptp4l[158072.932]: config item /var/run/ptp4l.delayAsymmetry is 0
ptp4l[158072.933]: config item /var/run/ptp4l.follow_up_info is 1
ptp4l[158072.933]: config item /var/run/ptp4l.freq_est_interval is 1
ptp4l[158072.933]: config item /var/run/ptp4l.msg_interval_request is 0
ptp4l[158072.933]: config item /var/run/ptp4l.net_sync_monitor is 0
ptp4l[158072.934]: config item /var/run/ptp4l.path_trace_enabled is 1
ptp4l[158072.934]: config item /var/run/ptp4l.tc_spanning_tree is 0
ptp4l[158072.934]: config item /var/run/ptp4l.ingressLatency is 1086
ptp4l[158072.935]: config item /var/run/ptp4l.egressLatency is 753
ptp4l[158072.935]: config item /var/run/ptp4l.delay_mechanism is 0
ptp4l[158072.935]: config item /var/run/ptp4l.hybrid_e2e is 0
ptp4l[158072.935]: config item /var/run/ptp4l.fault_badpeernet_interval is
16
ptp4l[158072.935]: config item /var/run/ptp4l.fault_reset_interval is 4
ptp4l[158072.935]: config item /var/run/ptp4l.tsproc_mode is 0
ptp4l[158072.936]: config item /var/run/ptp4l.delay_filter is 1
ptp4l[158072.936]: config item /var/run/ptp4l.delay_filter_length is 1
ptp4l[158072.936]: config item (null).slave_event_monitor is ''
ptp4l[158072.936]: config item eth0.boundary_clock_jbod is 0
ptp4l[158072.936]: config item eth0.network_transport is 3
ptp4l[158072.936]: config item eth0.masterOnly is 0
ptp4l[158072.936]: config item eth0.BMCA is 0
ptp4l[158072.936]: config item eth0.delayAsymmetry is 0
ptp4l[158072.937]: config item eth0.follow_up_info is 1
ptp4l[158072.937]: config item eth0.freq_est_interval is 1
ptp4l[158072.937]: config item eth0.msg_interval_request is 0
ptp4l[158072.938]: config item eth0.net_sync_monitor is 0
ptp4l[158072.938]: config item eth0.path_trace_enabled is 1
ptp4l[158072.938]: config item eth0.tc_spanning_tree is 0
ptp4l[158072.938]: config item eth0.ingressLatency is 1086
ptp4l[158072.938]: config item eth0.egressLatency is 753
ptp4l[158072.939]: config item eth0.delay_mechanism is 2
ptp4l[158072.941]: config item eth0.unicast_master_table is 0
ptp4l[158072.941]: config item eth0.unicast_listen is 0
ptp4l[158072.941]: config item eth0.hybrid_e2e is 0
ptp4l[158072.941]: config item eth0.fault_badpeernet_interval is 16
ptp4l[158072.941]: config item eth0.fault_reset_interval is 4
ptp4l[158072.942]: config item eth0.tsproc_mode is 0
ptp4l[158072.942]: config item eth0.delay_filter is 1
ptp4l[158072.942]: config item eth0.delay_filter_length is 10
ptp4l[158072.942]: config item eth0.logMinDelayReqInterval is 0
ptp4l[158072.942]: config item eth0.logAnnounceInterval is 1
ptp4l[158072.942]: config item eth0.inhibit_announce is 0
ptp4l[158072.943]: config item eth0.ignore_source_id is 0
ptp4l[158072.943]: config item eth0.announceReceiptTimeout is 3
ptp4l[158072.943]: config item eth0.syncReceiptTimeout is 3
ptp4l[158072.943]: config item eth0.transportSpecific is 1
ptp4l[158072.944]: config item eth0.ignore_transport_specific is 0
ptp4l[158072.944]: config item eth0.G.8275.portDS.localPriority is 128
ptp4l[158072.944]: config item eth0.logSyncInterval is -3
ptp4l[158072.944]: config item eth0.operLogSyncInterval is 0
ptp4l[158072.944]: config item eth0.logMinPdelayReqInterval is 0
ptp4l[158072.944]: config item eth0.operLogPdelayReqInterval is 0
ptp4l[158072.944]: config item eth0.neighborPropDelayThresh is 20000000
ptp4l[158072.945]: config item eth0.min_neighbor_prop_delay is -20000000
ptp4l[158072.945]: config item eth0.asCapable is 0
ptp4l[158072.945]: config item eth0.inhibit_delay_req is 1
ptp4l[158072.946]: config item eth0.ptp_dst_mac is '01:80:C2:00:00:0E'
ptp4l[158072.946]: config item eth0.p2p_dst_mac is '01:80:C2:00:00:0E'
ptp4l[158072.946]: config item global.socket_priority is 0
ptp4l[158073.030]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[158073.031]: config item /var/run/ptp4l.logMinDelayReqInterval is 0
ptp4l[158073.031]: config item /var/run/ptp4l.logAnnounceInterval is 1
ptp4l[158073.031]: config item /var/run/ptp4l.inhibit_announce is 0
ptp4l[158073.031]: config item /var/run/ptp4l.ignore_source_id is 0
ptp4l[158073.031]: config item /var/run/ptp4l.announceReceiptTimeout is 0
ptp4l[158073.031]: config item /var/run/ptp4l.syncReceiptTimeout is 3
ptp4l[158073.031]: config item /var/run/ptp4l.transportSpecific is 1
ptp4l[158073.032]: config item /var/run/ptp4l.ignore_transport_specific is 0
ptp4l[158073.032]: config item /var/run/ptp4l.G.8275.portDS.localPriority
is 128
ptp4l[158073.032]: config item /var/run/ptp4l.logSyncInterval is -3
ptp4l[158073.032]: config item /var/run/ptp4l.operLogSyncInterval is 0
ptp4l[158073.033]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0
ptp4l[158073.033]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0
ptp4l[158073.034]: config item /var/run/ptp4l.neighborPropDelayThresh is
20000000
ptp4l[158073.035]: config item /var/run/ptp4l.min_neighbor_prop_delay is
-20000000
ptp4l[158073.035]: config item /var/run/ptp4l.asCapable is 0
ptp4l[158073.036]: config item /var/run/ptp4l.inhibit_delay_req is 1
ptp4l[158073.037]: config item (null).uds_address is '/var/run/ptp4l'
ptp4l[158073.037]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[158073.038]: port 1: received link status notification
ptp4l[158073.039]: interface index 2 is up
ptp4l[158073.659]: port 1: peer port id set to 3498b5.fffe.abc7c3-5
ptp4l[158074.707]: port 1: new foreign master 3498b5.fffe.abc7c3-5
ptp4l[158076.707]: selected best master clock 3498b5.fffe.abc7c3
ptp4l[158076.708]: port 1: assuming the grand master role
ptp4l[158076.708]: port 1: LISTENING to GRAND_MASTER on RS_GRAND_MASTER
ptp4l[158076.709]: port 1: master tx announce timeout
ptp4l[158076.833]: port 1: master sync timeout
ptp4l[158076.959]: port 1: master sync timeout
ptp4l[158077.084]: port 1: master sync timeout
ptp4l[158077.209]: port 1: master sync timeout
ptp4l[158077.335]: port 1: master sync timeout
ptp4l[158077.460]: port 1: master sync timeout
ptp4l[158077.586]: port 1: master sync timeout
ptp4l[158077.711]: port 1: master sync timeout
ptp4l[158077.836]: port 1: master sync timeout
ptp4l[158077.962]: port 1: master sync timeout
ptp4l[158078.087]: port 1: master sync timeout
ptp4l[158078.212]: port 1: master sync timeout
ptp4l[158078.338]: port 1: master sync timeout
ptp4l[158078.463]: port 1: master sync timeout
ptp4l[158078.588]: port 1: master sync timeout
ptp4l[158078.709]: port 1: master tx announce timeout
ptp4l[158078.714]: port 1: master sync timeout
ptp4l[158078.839]: port 1: master sync timeout
ptp4l[158078.965]: port 1: master sync timeout
ptp4l[158079.090]: port 1: master sync timeout
ptp4l[158079.215]: port 1: master sync timeout
ptp4l[158079.341]: port 1: master sync timeout
ptp4l[158079.466]: port 1: master sync timeout
ptp4l[158079.591]: port 1: master sync timeout
ptp4l[158079.717]: port 1: master sync timeout
ptp4l[158079.842]: port 1: master sync timeout
ptp4l[158079.967]: port 1: master sync timeout
ptp4l[158080.093]: port 1: master sync timeout
ptp4l[158080.218]: port 1: master sync timeout
ptp4l[158080.344]: port 1: master sync timeout
ptp4l[158080.469]: port 1: master sync timeout
ptp4l[158080.594]: port 1: master sync timeout
ptp4l[158080.710]: port 1: master tx announce timeout
ptp4l[158080.720]: port 1: master sync timeout
ptp4l[158080.845]: port 1: master sync timeout
ptp4l[158080.970]: port 1: master sync timeout
ptp4l[158081.096]: port 1: master sync timeout
ptp4l[158081.221]: port 1: master sync timeout
ptp4l[158081.347]: port 1: master sync timeout
ptp4l[158081.472]: port 1: master sync timeout
ptp4l[158081.597]: port 1: master sync timeout
ptp4l[158081.723]: port 1: master sync timeout
ptp4l[158081.848]: port 1: master sync timeout
ptp4l[158081.973]: port 1: master sync timeout
ptp4l[158082.099]: port 1: master sync timeout
ptp4l[158082.224]: port 1: master sync timeout
ptp4l[158082.349]: port 1: master sync timeout
ptp4l[158082.475]: port 1: master sync timeout
ptp4l[158082.600]: port 1: master sync timeout


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

Reply via email to