On Tue, May 12, 2020 at 08:33:28PM -0700, Gary E. Miller wrote:
> If I run the masster is software mode, and the slave in hardware mode
> like this:
> 
>     ptp4l -i eno2 -s --clock_servo ntpshm --ntpshm_segment 2
> 
> I get this in the slave ntpd log:
> 
> 2020-05-12T20:27:54 ntpd[9090]: SHM(2): stale/bad receive time, delay=18s
> 
> Any ideas how to run in hardware mode and get ntpd/shm to work?

ntpd expects samples relative to the system clock, so feeding it
samples relative to the NIC clock from ptp4l won't work. There needs
to be phc2sys measuring the offset between the two clocks. The
timemaster program can show you the right configuration or run the
programs.

-- 
Miroslav Lichvar



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

Reply via email to