On Mon, Feb 23, 2015 at 06:48:51PM -0800, Gary E. Miller wrote: > Here is my config: > > kong ~ # cat ptp.conf > [global] > clock_servo linreg > > Start ptp4l: > > kong ~ # ptp4l -i eth0 -l 7 -m -f ptp.conf & > > And drop the bomb: > > kong ~ # phc2sys -a -r -E ntpshm -m -M 2
> ptp4l[364.654]: master offset -1412 s2 freq -9485 path delay > 58263 > ptp4l[364.654]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED > phc2sys[365.199]: port 002590.fffe.f355da-1 changed state > phc2sys[365.199]: reconfiguring after port state change > phc2sys[365.199]: selecting CLOCK_REALTIME for synchronization > phc2sys[365.199]: selecting eth0 as the master clock > phc2sys[365.199]: phc offset -70353239245525 s0 freq +0 delay 1348 > > WTF was that??? Hm. Are you running 1.5 or current git? I'm not sure if it could explain this, but there was a bug in 1.5 affecting the shm servo. > ptp4l[365.571]: clockcheck: clock jumped forward or running faster than > expected! Looks like something else than ptp4l is touching the PHC. Also, how is the PTP master synchronized? Is it a PHC synchronized from the system clock (phc2sys -a -r -r) which is synchronized by chronyd/ntpd/gpsd? -- Miroslav Lichvar ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel