root@am335x-evm:~/phy_ptp# ./ptp4l -f cfg -i eth0 -m -l 7 ptp4l[59.712]: config item (null).assume_two_step is 1 ptp4l[59.715]: config item (null).check_fup_sync is 0 ptp4l[59.716]: config item (null).tx_timestamp_timeout is 1 ptp4l[59.716]: config item (null).hwts_filter is 0 ptp4l[59.717]: config item (null).clock_servo is 0 [ 59.733258] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_ts_info, 2136 info->phc_index: 0 ptp4l[59.717]: config item (null).clock_type is 32768 ptp4l[59.719]: config item (null).clock_servo is 0 ptp4l[59.720]: config item (null).clockClass is 248 ptp4l[59.720]: config item (null).clockAccuracy is 254 ptp4l[59.721]: config item (null).offsetScaledLogVariance is 65535 [ 59.761646] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_adjfine, 633 scaled_ppm: 0 ptp4l[59.721]: config item (null).productDescription is ';;' ptp4l[59.722]: config item (null).revisionData is ';;' ptp4l[59.722]: config item (null).userDescription is '' ptp4l[59.723]: config item (null).manufacturerIdentity is '00:00:00' ptp4l[59.723]: config item (null).domainNumber is 0 ptp4l[59.723]: config item (null).slaveOnly is 0 ptp4l[59.724]: config item (null).gmCapable is 1 ptp4l[59.724]: config item (null).gmCapable is 1 ptp4l[59.725]: config item (null).G.8275.defaultDS.localPriority is 128 ptp4l[59.725]: config item (null).maxStepsRemoved is 255 ptp4l[59.726]: config item (null).time_stamping is 1 ptp4l[59.726]: config item (null).twoStepFlag is 1 ptp4l[59.726]: config item (null).twoStepFlag is 1 ptp4l[59.727]: config item (null).time_stamping is 1 ptp4l[59.727]: config item (null).priority1 is 248 ptp4l[59.728]: config item (null).priority2 is 248 ptp4l[59.731]: interface index 2 is up ptp4l[59.744]: config item (null).free_running is 0 ptp4l[59.745]: selected /dev/ptp0 as PTP clock ptp4l[59.745]: config item (null).clockIdentity is '000000.0000.000000' ptp4l[59.747]: config item (null).uds_address is '/var/run/ptp4l' ptp4l[59.748]: section item /var/run/ptp4l.announceReceiptTimeout now 0 ptp4l[59.748]: section item /var/run/ptp4l.delay_mechanism now 0 ptp4l[59.749]: section item /var/run/ptp4l.network_transport now 0 ptp4l[59.749]: section item /var/run/ptp4l.delay_filter_length now 1 ptp4l[59.749]: config item (null).free_running is 0 ptp4l[59.751]: config item (null).freq_est_interval is 1 ptp4l[59.751]: config item (null).write_phase_mode is 0 ptp4l[59.752]: config item (null).gmCapable is 1 ptp4l[59.752]: config item (null).kernel_leap is 1 ptp4l[59.752]: config item (null).utc_offset is 37 ptp4l[59.753]: config item (null).timeSource is 160 ptp4l[59.777]: config item (null).pi_proportional_const is 0.000000 ptp4l[59.778]: config item (null).pi_integral_const is 0.000000 ptp4l[59.779]: config item (null).pi_proportional_scale is 0.000000 ptp4l[59.779]: config item (null).pi_proportional_exponent is -0.300000 ptp4l[59.780]: config item (null).pi_proportional_norm_max is 0.700000 ptp4l[59.782]: config item (null).pi_integral_scale is 0.000000 ptp4l[59.782]: config item (null).pi_integral_exponent is 0.400000 ptp4l[59.783]: config item (null).pi_integral_norm_max is 0.300000 ptp4l[59.783]: config item (null).step_threshold is 0.000000 ptp4l[59.784]: config item (null).first_step_threshold is 0.000020 ptp4l[59.784]: config item (null).max_frequency is 900000000 ptp4l[59.784]: config item (null).servo_offset_threshold is 0 ptp4l[59.785]: config item (null).servo_num_offset_values is 10 ptp4l[59.785]: config item (null).dataset_comparison is 0 ptp4l[59.786]: config item (null).tsproc_mode is 0 ptp4l[59.786]: config item (null).delay_filter is 1 ptp4l[59.787]: config item (null).delay_filter_length is 10 ptp4l[59.789]: config item (null).initial_delay is 0 ptp4l[59.790]: config item (null).summary_interval is 0 ptp4l[59.791]: config item (null).sanity_freq_limit is 200000000 ptp4l[59.799]: PI servo: sync interval 1.000 kp 0.700 ki 0.300000 ptp4l[59.802]: config item /var/run/ptp4l.boundary_clock_jbod is 0 ptp4l[59.802]: config item /var/run/ptp4l.network_transport is 0 ptp4l[59.803]: config item /var/run/ptp4l.masterOnly is 1 ptp4l[59.803]: config item /var/run/ptp4l.BMCA is 1 ptp4l[59.803]: config item /var/run/ptp4l.delayAsymmetry is 0 ptp4l[59.804]: config item /var/run/ptp4l.follow_up_info is 1 ptp4l[59.804]: config item /var/run/ptp4l.freq_est_interval is 1 ptp4l[59.805]: config item /var/run/ptp4l.msg_interval_request is 0 ptp4l[59.805]: config item /var/run/ptp4l.net_sync_monitor is 0 ptp4l[59.806]: config item /var/run/ptp4l.path_trace_enabled is 1 ptp4l[59.806]: config item /var/run/ptp4l.tc_spanning_tree is 0 ptp4l[59.806]: config item /var/run/ptp4l.ingressLatency is 0 ptp4l[59.807]: config item /var/run/ptp4l.egressLatency is 0 ptp4l[59.809]: config item /var/run/ptp4l.delay_mechanism is 0 ptp4l[59.811]: config item /var/run/ptp4l.hybrid_e2e is 0 ptp4l[59.812]: config item /var/run/ptp4l.fault_badpeernet_interval is 16 ptp4l[59.812]: config item /var/run/ptp4l.fault_reset_interval is 4 ptp4l[59.812]: config item /var/run/ptp4l.tsproc_mode is 0 ptp4l[59.813]: config item /var/run/ptp4l.delay_filter is 1 ptp4l[59.813]: config item /var/run/ptp4l.delay_filter_length is 1 ptp4l[59.815]: config item (null).slave_event_monitor is '' ptp4l[59.817]: config item eth0.boundary_clock_jbod is 0 ptp4l[60.152]: config item eth0.network_transport is 3 ptp4l[60.153]: config item eth0.masterOnly is 1 ptp4l[60.153]: config item eth0.BMCA is 1 ptp4l[60.154]: config item eth0.delayAsymmetry is 0 ptp4l[60.154]: config item eth0.follow_up_info is 1 ptp4l[60.154]: config item eth0.freq_est_interval is 1 ptp4l[60.155]: config item eth0.msg_interval_request is 0 ptp4l[60.155]: config item eth0.net_sync_monitor is 0 ptp4l[60.156]: config item eth0.path_trace_enabled is 1 ptp4l[60.156]: config item eth0.tc_spanning_tree is 0 ptp4l[60.156]: config item eth0.ingressLatency is 0 [ 60.229754] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_hwtstamp, 1872 cfg.tx_type: HWTSTAMP_TX_ON, cfg.rx_filter: HWTSTAMP_FILTER_PTP_V2_EVENT ptp4l[60.157]: config item eth0.egressLatency is 0 [ 60.243331] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_hwtstamp, 1911 role: MASTER ptp4l[60.157]: config item eth0.delay_mechanism is 2 ptp4l[60.158]: config item eth0.unicast_master_table is 0 ptp4l[60.158]: config item eth0.unicast_listen is 0 ptp4l[60.159]: config item eth0.hybrid_e2e is 0 ptp4l[60.159]: config item eth0.fault_badpeernet_interval is 16 ptp4l[60.160]: config item eth0.fault_reset_interval is 4 ptp4l[60.160]: config item eth0.tsproc_mode is 0 ptp4l[60.161]: config item eth0.delay_filter is 1 ptp4l[60.161]: config item eth0.delay_filter_length is 10 ptp4l[60.163]: config item eth0.logMinDelayReqInterval is 0 ptp4l[60.164]: config item eth0.logAnnounceInterval is 1 ptp4l[60.164]: config item eth0.inhibit_announce is 1 ptp4l[60.165]: config item eth0.ignore_source_id is 0 ptp4l[60.165]: config item eth0.announceReceiptTimeout is 3 ptp4l[60.166]: config item eth0.syncReceiptTimeout is 3 ptp4l[60.166]: config item eth0.transportSpecific is 1 ptp4l[60.166]: config item eth0.ignore_transport_specific is 0 ptp4l[60.167]: config item eth0.G.8275.portDS.localPriority is 128 ptp4l[60.167]: config item eth0.logSyncInterval is 0 ptp4l[60.168]: config item eth0.operLogSyncInterval is 0 ptp4l[60.168]: config item eth0.logMinPdelayReqInterval is 0 ptp4l[60.169]: config item eth0.operLogPdelayReqInterval is 0 ptp4l[60.169]: config item eth0.neighborPropDelayThresh is 800 ptp4l[60.169]: config item eth0.min_neighbor_prop_delay is -20000000 ptp4l[60.170]: config item eth0.asCapable is 0 ptp4l[60.171]: config item eth0.inhibit_delay_req is 1 ptp4l[60.173]: config item eth0.ptp_dst_mac is '01:80:C2:00:00:0E' ptp4l[60.175]: config item eth0.p2p_dst_mac is '01:80:C2:00:00:0E' ptp4l[60.176]: config item global.socket_priority is 0 ptp4l[60.267]: port 1: INITIALIZING to MASTER on INIT_COMPLETE ptp4l[60.271]: config item /var/run/ptp4l.logMinDelayReqInterval is 0 ptp4l[60.272]: config item /var/run/ptp4l.logAnnounceInterval is 1 ptp4l[60.273]: config item /var/run/ptp4l.inhibit_announce is 1 ptp4l[60.273]: config item /var/run/ptp4l.ignore_source_id is 0 ptp4l[60.273]: config item /var/run/ptp4l.announceReceiptTimeout is 0 ptp4l[60.274]: config item /var/run/ptp4l.syncReceiptTimeout is 3 ptp4l[60.274]: config item /var/run/ptp4l.transportSpecific is 1 ptp4l[60.275]: config item /var/run/ptp4l.ignore_transport_specific is 0 ptp4l[60.275]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128 ptp4l[60.276]: config item /var/run/ptp4l.logSyncInterval is 0 ptp4l[60.276]: config item /var/run/ptp4l.operLogSyncInterval is 0 ptp4l[60.276]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0 ptp4l[60.277]: config item /var/run/ptp4l.operLogPdelayReqInterval is 0 ptp4l[60.277]: config item /var/run/ptp4l.neighborPropDelayThresh is 800 ptp4l[60.278]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000 ptp4l[60.278]: config item /var/run/ptp4l.asCapable is 0 ptp4l[60.278]: config item /var/run/ptp4l.inhibit_delay_req is 1 ptp4l[60.279]: config item (null).uds_address is '/var/run/ptp4l' ptp4l[60.280]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[60.281]: port 1: received link status notification ptp4l[60.282]: interface index 2 is up ptp4l[61.272]: port 1: master sync timeout [ 61.273174] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 65 type: 0x42 [ 61.283516] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 70 type: PTP_CLASS_L2 | PTP_CLASS_V2 [ 61.294153] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 77 skb->sk: fbb434bf [ 61.302936] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4371 before call skb_clone(skb, GFP_ATOMIC) skb->sk: fbb434bf [ 61.314512] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4382 after call skb_clone(skb, GFP_ATOMIC) clone(skb): 0c9fa107, clone->sk: (null) [ 61.328088] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4387 assign sk: fbb434bf to clone->sk: fbb434bf [ 61.338395] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 83 clone->sk: fbb434bf [ 61.347183] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2075 ptp_priv->tx_type: HWTSTAMP_TX_ON [ 61.357551] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2079 skb: 0c9fa107, skb->sk: fbb434bf, skb->sk->sk_flags: 0x800100, tx_flags: 0x1 [ 61.371633] @jie.han drivers/net/phy/motorcomm.c, parsing_ptp_msgtype_seqid, 1999 msgtype: SYNC, seq_id: 0 [ 61.381671] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2101 before call skb_queue_tail(&ptp_priv->tx_queue, skb); skb->sk: fbb434bf [ 61.395234] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2103 skb->sk->sk_flags: 0x800100 [ 61.404994] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2107 skb->sk->sk_refcnt: 5 ptp4l[61.416]: timed out while polling for tx timestamp [ 61.419242] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_get_txtstamp, 739 yt_ptp_get_txtstamp_paged() ret: 0, capts->seq_id: 0, capts->msgtype: SYNC ptp4l[61.417]: @jie.han increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug [ 61.435892] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 762 scan ptp_priv->tx_queue, skb->sk: fbb434bf ptp4l[61.418]: @jie.han fd: 14 errno: -6 [ 61.452004] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 764 skb->sk->sk_flags: 0x800100 ptp4l[61.419]: port 1: send sync failed [ 61.467864] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 770 skb->sk->sk_refcnt: 3 ptp4l[61.430]: port 1: MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED) [ 61.482807] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 786 skb->sk->sk_flags: 0x800100 [ 61.498599] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 808 matched, seqid: 0, msgtype: SYNC [ 61.511218] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 811 matched, skb->sk: fbb434bf [ 61.521482] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 818 skb->sk->sk_flags: 0x800100 [ 61.531725] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 822 before call skb_complete_tx_timestamp() skb: 0c9fa107 [ 61.544234] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 825 before call skb_complete_tx_timestamp() skb->sk: fbb434bf [ 61.557098] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 829 before call skb_complete_tx_timestamp() shhwtstamps->hwtstamp: 0xd234ccf96d137fb [ 61.571966] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4461 skb->sk->sk_flags: 0x800100 [ 61.582075] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4473 assigned hwtstamps: 0xd234ccf96d137fb to skb then call __skb_complete_tx_timestamp(SCM_TSTAMP_SND) [ 61.598394] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4475 sk->sk_refcnt: 4 [ 61.607494] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4480 skb: 0c9fa107, skb->sk: fbb434bf [ 61.618054] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4424 skb enqueued(sock_queue_err_skb() called), tstamp: 946684835629620360, skb: 0c9fa107, skb->sk: fbb434bf [ 61.635020] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4428 skb->sk->sk_error_queue.qlen: 0x0 [ 61.645826] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4430 skb->sk->sk_flags: 0x800100 [ 61.656121] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4256 skb->sk->sk_flags: 0x800100 [ 61.665572] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4267 skb->sk: (null) [ 61.674199] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4269 sk: fbb434bf [ 61.682345] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4277 skb->sk->sk_flags: 0x800100 [ 61.691853] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4285 before call skb_queue_tail(&sk->sk_error_queue, skb) skb: 0c9fa107 [ 61.704710] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4289 before call skb_queue_tail(&sk->sk_error_queue, skb) skb->sk: fbb434bf [ 61.717956] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4296 sk->sk_flags: 0x800100 [ 61.726966] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4308 sk->sk_error_queue.qlen: 0x1 and call sk->sk_error_report(sk) [ 61.739506] sock: @jie.han net/core/sock.c, sock_def_error_report, 2701 wake up poll. [ 61.747462] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_do_aux_work, 893 reschedule: false ptp4l[61.770]: waiting 2^{4} seconds to clear fault on port 1 ptp4l[77.771]: clearing fault on port 1 ptp4l[77.771]: config item eth0.logMinDelayReqInterval is 0 ptp4l[77.772]: config item eth0.logAnnounceInterval is 1 ptp4l[77.772]: config item eth0.inhibit_announce is 1 ptp4l[77.772]: config item eth0.ignore_source_id is 0 ptp4l[77.772]: config item eth0.announceReceiptTimeout is 3 ptp4l[77.772]: config item eth0.syncReceiptTimeout is 3 ptp4l[77.772]: config item eth0.transportSpecific is 1 ptp4l[77.773]: config item eth0.ignore_transport_specific is 0 ptp4l[77.773]: config item eth0.G.8275.portDS.localPriority is 128 ptp4l[77.773]: config item eth0.logSyncInterval is 0 ptp4l[77.773]: config item eth0.operLogSyncInterv[ 77.829750] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_hwtstamp, 1872 cfg.tx_type: HWTSTAMP_TX_ON, cfg.rx_filter: HWTSTAMP_FILTER_PTP_V2_EVENT al is 0 ptp4l[77.775]: config item eth0.logMinPdelayReqInterval[ 77.843852] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_hwtstamp, 1911 role: MASTER is 0 ptp4l[77.775]: config item eth0.operLogPdelayReqInterval is 0 ptp4l[77.776]: config item eth0.neighborPropDelayThresh is 800 ptp4l[77.776]: config item eth0.min_neighbor_prop_delay is -20000000 ptp4l[77.777]: config item eth0.asCapable is 0 ptp4l[77.777]: config item eth0.inhibit_delay_req is 1 ptp4l[77.777]: config item eth0.ptp_dst_mac is '01:80:C2:00:00:0E' ptp4l[77.778]: config item eth0.p2p_dst_mac is '01:80:C2:00:00:0E' ptp4l[77.779]: config item global.socket_priority is 0 ptp4l[77.867]: port 1: FAULTY to MASTER on INIT_COMPLETE ptp4l[77.868]: port 1: received link status notification ptp4l[77.868]: interface index 2 is up ptp4l[78.868]: port 1: master sync timeout[ 78.868837] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 65 type: 0x42 [ 78.879263] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 70 type: PTP_CLASS_L2 | PTP_CLASS_V2 [ 78.890073] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 77 skb->sk: febeb217 [ 78.898410] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4371 before call skb_clone(skb, GFP_ATOMIC) skb->sk: febeb217 [ 78.910216] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4382 after call skb_clone(skb, GFP_ATOMIC) clone(skb): f39e2395, clone->sk: (null) [ 78.923789] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4387 assign sk: febeb217 to clone->sk: febeb217 [ 78.934156] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 83 clone->sk: febeb217 [ 78.943061] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2075 ptp_priv->tx_type: HWTSTAMP_TX_ON [ 78.953388] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2079 skb: f39e2395, skb->sk: febeb217, skb->sk->sk_flags: 0x800100, tx_flags: 0x1 [ 78.967427] @jie.han drivers/net/phy/motorcomm.c, parsing_ptp_msgtype_seqid, 1999 msgtype: SYNC, seq_id: 1 [ 78.977452] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2101 before call skb_queue_tail(&ptp_priv->tx_queue, skb); skb->sk: febeb217 [ 78.991101] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2103 skb->sk->sk_flags: 0x800100 [ 79.000860] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2107 skb->sk->sk_refcnt: 5 ptp4l[79.012]: timed out while polling for tx timestamp[ 79.015304] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_get_txtstamp, 739 yt_ptp_get_txtstamp_paged() ret: 0, capts->seq_id: 1, capts->msgtype: SYNC ptp4l[79.013]: @jie.han increasing tx_timestamp_timeout may co[ 79.031813] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 762 scan ptp_priv->tx_queue, skb->sk: febeb217 rrect this issue, but it is likely caused by a driver bug ptp4l[ 79.048987] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 764 skb->sk->sk_flags: 0x800100 [79.014]: @jie.han fd: 14 errno: -6 ptp4l[79.014]: port 1: send[ 79.064488] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 770 skb->sk->sk_refcnt: 3 sync failed ptp4l[79.015]: port 1: MASTER to FAULTY on FAULT_D[ 79.079609] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 786 skb->sk->sk_flags: 0x800100 ETECTED (FT_UNSPECIFIED) [ 79.095541] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 808 matched, seqid: 1, msgtype: SYNC [ 79.108456] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 811 matched, skb->sk: febeb217 [ 79.118580] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 818 skb->sk->sk_flags: 0x800100 [ 79.128925] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 822 before call skb_complete_tx_timestamp() skb: f39e2395 [ 79.141473] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 825 before call skb_complete_tx_timestamp() skb->sk: febeb217 [ 79.154287] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 829 before call skb_complete_tx_timestamp() shhwtstamps->hwtstamp: 0xd234ccf968aac73 [ 79.169075] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4461 skb->sk->sk_flags: 0x800100 [ 79.179179] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4473 assigned hwtstamps: 0xd234ccf968aac73 to skb then call __skb_complete_tx_timestamp(SCM_TSTAMP_SND) [ 79.195450] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4475 sk->sk_refcnt: 4 [ 79.205061] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4480 skb: f39e2395, skb->sk: febeb217 [ 79.215847] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4424 skb enqueued(sock_queue_err_skb() called), tstamp: 946684853226561360, skb: f39e2395, skb->sk: febeb217 [ 79.232861] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4428 skb->sk->sk_error_queue.qlen: 0x0 [ 79.243675] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4430 skb->sk->sk_flags: 0x800100 [ 79.253952] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4256 skb->sk->sk_flags: 0x800100 [ 79.263398] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4267 skb->sk: (null) [ 79.272024] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4269 sk: febeb217 [ 79.280170] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4277 skb->sk->sk_flags: 0x800100 [ 79.289373] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4285 before call skb_queue_tail(&sk->sk_error_queue, skb) skb: f39e2395 [ 79.302575] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4289 before call skb_queue_tail(&sk->sk_error_queue, skb) skb->sk: febeb217 [ 79.315852] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4296 sk->sk_flags: 0x800100 [ 79.324875] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4308 sk->sk_error_queue.qlen: 0x1 and call sk->sk_error_report(sk) [ 79.337341] sock: @jie.han net/core/sock.c, sock_def_error_report, 2701 wake up poll. [ 79.345545] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_do_aux_work, 893 reschedule: false ptp4l[79.370]: waiting 2^{4} seconds to clear fault on port 1 ptp4l[95.371]: clearing fault on port 1 ptp4l[95.371]: config item eth0.logMinDelayReqInterval is 0 ptp4l[95.372]: config item eth0.logAnnounceInterval is 1 ptp4l[95.372]: config item eth0.inhibit_announce is 1 ptp4l[95.372]: config item eth0.ignore_source_id is 0 ptp4l[95.372]: config item eth0.announceReceiptTimeout is 3 ptp4l[95.372]: config item eth0.syncReceiptTimeout is 3 ptp4l[95.372]: config item eth0.transportSpecific is 1 ptp4l[95.373]: config item eth0.ignore_transport_specific is 0 ptp4l[95.373]: config item eth0.G.8275.portDS.localPriority is 128 ptp4l[95.373]: config item eth0.logSyncInterval is 0 ptp4l[95.373]: config item eth0.operLogSyncInterv[ 95.429751] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_hwtstamp, 1872 cfg.tx_type: HWTSTAMP_TX_ON, cfg.rx_filter: HWTSTAMP_FILTER_PTP_V2_EVENT al is 0 ptp4l[95.375]: config item eth0.logMinPdelayReqInterval[ 95.443908] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_hwtstamp, 1911 role: MASTER is 0 ptp4l[95.375]: config item eth0.operLogPdelayReqInterval is 0 ptp4l[95.376]: config item eth0.neighborPropDelayThresh is 800 ptp4l[95.376]: config item eth0.min_neighbor_prop_delay is -20000000 ptp4l[95.376]: config item eth0.asCapable is 0 ptp4l[95.377]: config item eth0.inhibit_delay_req is 1 ptp4l[95.377]: config item eth0.ptp_dst_mac is '01:80:C2:00:00:0E' ptp4l[95.378]: config item eth0.p2p_dst_mac is '01:80:C2:00:00:0E' ptp4l[95.379]: config item global.socket_priority is 0 ptp4l[95.467]: port 1: FAULTY to MASTER on INIT_COMPLETE ptp4l[95.467]: port 1: received link status notification ptp4l[95.468]: interface index 2 is up ptp4l[96.468]: port 1: master sync timeout[ 96.469021] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 65 type: 0x42 [ 96.479315] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 70 type: PTP_CLASS_L2 | PTP_CLASS_V2 [ 96.490011] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 77 skb->sk: d09cc775 [ 96.498350] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4371 before call skb_clone(skb, GFP_ATOMIC) skb->sk: d09cc775 [ 96.510125] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4382 after call skb_clone(skb, GFP_ATOMIC) clone(skb): 6bbabfec, clone->sk: (null) [ 96.523690] skbuff: @jie.han net/core/skbuff.c, skb_clone_sk, 4387 assign sk: d09cc775 to clone->sk: d09cc775 [ 96.533970] @jie.han net/core/timestamping.c, skb_clone_tx_timestamp, 83 clone->sk: d09cc775 [ 96.542794] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2075 ptp_priv->tx_type: HWTSTAMP_TX_ON [ 96.553095] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2079 skb: 6bbabfec, skb->sk: d09cc775, skb->sk->sk_flags: 0x800100, tx_flags: 0x1 [ 96.567161] @jie.han drivers/net/phy/motorcomm.c, parsing_ptp_msgtype_seqid, 1999 msgtype: SYNC, seq_id: 2 [ 96.577185] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2101 before call skb_queue_tail(&ptp_priv->tx_queue, skb); skb->sk: d09cc775 [ 96.590834] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2103 skb->sk->sk_flags: 0x800100 [ 96.600597] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_txtstamp, 2107 skb->sk->sk_refcnt: 5 ptp4l[96.612]: timed out while polling for tx timestamp[ 96.615037] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_get_txtstamp, 739 yt_ptp_get_txtstamp_paged() ret: 0, capts->seq_id: 2, capts->msgtype: SYNC ptp4l[96.613]: @jie.han increasing tx_timestamp_timeout may co[ 96.631539] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 762 scan ptp_priv->tx_queue, skb->sk: d09cc775 rrect this issue, but it is likely caused by a driver bug ptp4l[ 96.648688] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 764 skb->sk->sk_flags: 0x800100 [96.613]: @jie.han fd: 14 errno: -6 ptp4l[96.614]: port 1: send[ 96.664153] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 770 skb->sk->sk_refcnt: 3 sync failed ptp4l[96.615]: port 1: MASTER to FAULTY on FAULT_D[ 96.679279] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 786 skb->sk->sk_flags: 0x800100 ETECTED (FT_UNSPECIFIED) [ 96.694756] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 808 matched, seqid: 2, msgtype: SYNC [ 96.707704] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 811 matched, skb->sk: d09cc775 [ 96.717795] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 818 skb->sk->sk_flags: 0x800100 [ 96.728230] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 822 before call skb_complete_tx_timestamp() skb: 6bbabfec [ 96.740795] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 825 before call skb_complete_tx_timestamp() skb->sk: d09cc775 [ 96.753595] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_match_txtstamp, 829 before call skb_complete_tx_timestamp() shhwtstamps->hwtstamp: 0xd234ccf96873c6b [ 96.768382] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4461 skb->sk->sk_flags: 0x800100 [ 96.778478] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4473 assigned hwtstamps: 0xd234ccf96873c6b to skb then call __skb_complete_tx_timestamp(SCM_TSTAMP_SND) [ 96.794756] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4475 sk->sk_refcnt: 4 [ 96.803909] skbuff: @jie.han net/core/skbuff.c, skb_complete_tx_timestamp, 4480 skb: 6bbabfec, skb->sk: d09cc775 [ 96.814476] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4424 skb enqueued(sock_queue_err_skb() called), tstamp: 946684870825776400, skb: 6bbabfec, skb->sk: d09cc775 [ 96.831357] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4428 skb->sk->sk_error_queue.qlen: 0x0 [ 96.842179] skbuff: @jie.han net/core/skbuff.c, __skb_complete_tx_timestamp, 4430 skb->sk->sk_flags: 0x800100 [ 96.852455] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4256 skb->sk->sk_flags: 0x800100 [ 96.861914] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4267 skb->sk: (null) [ 96.870743] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4269 sk: d09cc775 [ 96.878636] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4277 skb->sk->sk_flags: 0x800100 [ 96.888337] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4285 before call skb_queue_tail(&sk->sk_error_queue, skb) skb: 6bbabfec [ 96.901305] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4289 before call skb_queue_tail(&sk->sk_error_queue, skb) skb->sk: d09cc775 [ 96.914549] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4296 sk->sk_flags: 0x800100 [ 96.923582] skbuff: @jie.han net/core/skbuff.c, sock_queue_err_skb, 4308 sk->sk_error_queue.qlen: 0x1 and call sk->sk_error_report(sk) [ 96.936036] sock: @jie.han net/core/sock.c, sock_def_error_report, 2701 wake up poll. [ 96.944238] @jie.han drivers/net/phy/motorcomm.c, yt8011_ptp_do_aux_work, 893 reschedule: false ptp4l[96.970]: waiting 2^{4} seconds to clear fault on port 1 ^Croot@am335x-evm:~/phy_ptp#