On Wed, Jan 30, 2019 at 12:02:28PM +0000, FUSTE Emmanuel wrote: > Hello, > > When I lost communication with my grandmaster clock, my local ptp clock > is free running and becoming local grandmaster (the port is still slave > because of the "slaveOnly" option).
That doesn't sound right. If the port is configured with the slaveOnly option, it should switch to the listening state when the grandmaster stops announcing. Without slaveOnly, it should switch to the master state. > In this case, I would like phc2sys stop feeding the ntpshm to allow the > ntp daemon (chrony in this case) to select another ntp source, or stop > announcing time/pretending serving stratum 0 time. It should stop updating the SHM segment when the port is not in the slave state. How exactly do you start phc2sys? With -a -r or -a -r -r? -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel