Hide Forgot
Description of problem: change the clockClass to 120 change the priority1 to 255 priority2 to 255 master: # ptp4l -i eth1 -f /etc/ptp4l.conf -m ptp4l[516706.308]: selected /dev/ptp4 as PTP clock ptp4l[516706.325]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[516706.326]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[516712.325]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[516712.325]: selected best master clock 90e2ba.fffe.29bfcc ptp4l[516712.325]: assuming the grand master role ptp4l[516715.717]: port 1: new foreign master 90e2ba.fffe.29c0c4-1 slave: # ptp4l -i eth1 -f /etc/ptp4l.conf -m ptp4l[354096.689]: selected /dev/ptp4 as PTP clock ptp4l[354096.695]: port 1: INITIALIZING to LISTENING on INITIALIZE ptp4l[354096.696]: port 0: INITIALIZING to LISTENING on INITIALIZE ptp4l[354102.695]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES ptp4l[354102.696]: selected best master clock 90e2ba.fffe.29c0c4 ptp4l[354102.696]: assuming the grand master role ptp4l[354103.305]: port 1: new foreign master 90e2ba.fffe.29bfcc-1 ptp4l[354107.305]: selected best master clock 90e2ba.fffe.29bfcc ptp4l[354107.305]: port 1: MASTER to PASSIVE on RS_PASSIVE slave seems stuck for a long time and no any reflection here. Version-Release number of selected component (if applicable): linuxptp-1.3-1.el6.x86_64 How reproducible: 100%
It seems to be working as expected. Clocks with clockClass smaller than 128 enter the passive state instead of slave. What output do you expect?