Hi all,

 

I am trying to test ptp implementation with ptp4l as the ptp master on a Linux pc and another ptp slave on evaluation board. Facing a weird issue where the ptp4l in master mode does not return delay response message when the slave is sending delay request message.

 

Ptp4l log:

[kevin@localhost etc]$ sudo ptp4l -f /etc/ptp4l.conf -i enp3s0 -m

ptp4l[3024235.167]: selected /dev/ptp0 as PTP clock

ptp4l[3024235.168]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE

ptp4l[3024235.169]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE

ptp4l[3024241.381]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES

ptp4l[3024241.381]: selected local clock 6805ca.fffe.1cb488 as best master

ptp4l[3024241.381]: assuming the grand master role

 

Some preliminary testing that I have done but with no luck:

  1. Check that ptp4l is listening to port 319 and 320 with netstat -anpe
  2. Disable firewall (in case firewall is preventing the udp port listening)
  3. Look into the packets with wireshark. Detect no issue with the sync, follow-up and delay req packets.

 

Appreciate it if anyone can suggest any pointers for me to continue debug on this matter.

 

Thank you.

 

Best regards,

Kevin

 

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

Reply via email to