Hi, I try use grand master clock working with ptpv2 G.8265.1 as clock source in my Linux using ptp4l. Unfortunately I cannot config it properly. Could you look into my configuration and logs and give me some advice where can I start?
Information about Grand Master clock that I got: Grand master uses G8265.1 standard which is a L3 unicast frequency synchronization source. IP: 10.133.1.2 Doamin Number = 4. Announce interval = 1 every 2 sec Sync Interval = 128 sync messages per sec delay request interval = 128 request messages per sec My configuration file for ptp4l: [global] masterOnly 0 hybrid_e2e 1 inhibit_multicast_service 1 unicast_listen 1 unicast_req_duration 60 domainNumber 4 # [unicast_master_table] table_id 1 logQueryInterval 1 UDPv4 10.133.1.2 peer_address 10.133.1.2 # [enp3s0f0] unicast_master_table 1 Command I use: ./ptp4l -m -l 7 -f ~/G.8265.1.cfg > ~/ptp4l.log ptp4l[807690.131]: port 0: hybrid_e2e only works with E2E And logs from command running: [...] ptp4l[807938.536]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[807938.536]: config item /var/run/ptp4l.logMinDelayReqInterval is 0 ptp4l[807938.536]: config item /var/run/ptp4l.logAnnounceInterval is 1 ptp4l[807938.536]: config item /var/run/ptp4l.inhibit_announce is 0 ptp4l[807938.536]: config item /var/run/ptp4l.ignore_source_id is 0 ptp4l[807938.536]: config item /var/run/ptp4l.announceReceiptTimeout is 0 ptp4l[807938.536]: config item /var/run/ptp4l.syncReceiptTimeout is 0 ptp4l[807938.536]: config item /var/run/ptp4l.transportSpecific is 0 ptp4l[807938.536]: config item /var/run/ptp4l.ignore_transport_specific is 0 ptp4l[807938.536]: config item /var/run/ptp4l.G.8275.portDS.localPriority is 128 ptp4l[807938.536]: config item /var/run/ptp4l.logSyncInterval is 0 ptp4l[807938.536]: config item /var/run/ptp4l.logMinPdelayReqInterval is 0 ptp4l[807938.536]: config item /var/run/ptp4l.neighborPropDelayThresh is 20000000 ptp4l[807938.536]: config item /var/run/ptp4l.min_neighbor_prop_delay is -20000000 ptp4l[807938.536]: config item /var/run/ptp4l.asCapable is 1 ptp4l[807938.536]: config item (null).uds_address is '/var/run/ptp4l' ptp4l[807938.536]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE ptp4l[807938.536]: port 1: received link status notification ptp4l[807938.536]: interface index 4 is up ptp4l[807940.536]: port 1: unicast request timeout ptp4l[807942.537]: port 1: unicast request timeout ptp4l[807944.537]: port 1: unicast request timeout ptp4l[807945.645]: port 1: announce timeout ptp4l[807945.645]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[807945.645]: selected local clock b49691.fffe.350398 as best master ptp4l[807945.645]: assuming the grand master role ptp4l[807945.646]: port 1: master tx announce timeout ptp4l[807946.537]: port 1: unicast request timeout ptp4l[807946.645]: port 1: master sync timeout ptp4l[807947.645]: port 1: master sync timeout ptp4l[807947.646]: port 1: master tx announce timeout ptp4l[807948.537]: port 1: unicast request timeout ptp4l[807948.646]: port 1: master sync timeout ptp4l[807949.646]: port 1: master sync timeout ptp4l[807949.646]: port 1: master tx announce timeout ptp4l[807950.538]: port 1: unicast request timeout ptp4l[807950.646]: port 1: master sync timeout ptp4l[807951.646]: port 1: master sync timeout ptp4l[807951.647]: port 1: master tx announce timeout ptp4l[807952.538]: port 1: unicast request timeout ptp4l[807952.647]: port 1: master sync timeout ptp4l[807953.647]: port 1: master sync timeout ptp4l[807953.647]: port 1: master tx announce timeout ptp4l[807954.538]: port 1: unicast request timeout I use tcpdump end I notice that only message on this interface are: 19:02:32.655474 IP (tos 0x0, ttl 64, id 39118, offset 0, flags [DF], proto UDP (17), length 82) 10.133.2.1.320 > 10.133.1.2.320: UDP, length 54 19:02:32.655713 IP (tos 0xc0, ttl 61, id 20982, offset 0, flags [none], proto ICMP (1), length 110) 10.133.1.2 > 10.133.2.1: ICMP 10.133.1.2 udp port 320 unreachable, length 90 IP (tos 0x0, ttl 61, id 39118, offset 0, flags [DF], proto UDP (17), length 82) 10.133.2.1.320 > 10.133.1.1.320: UDP, length 54 Thanks, Łukasz Zbrzeźniak _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users