On Mon, Feb 10, 2020 at 09:36:39AM +0000, Wen Bin Leong wrote:
> However the phc2sys is giving me the following error on the slave side, where 
> the phc clock took a big jump:
> $ sudo ./phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -m
> phc2sys[251211.780]: CLOCK_REALTIME phc offset 39434682283 s0 freq    -801 
> delay   7410
> phc2sys[251212.781]: CLOCK_REALTIME phc offset 39434724040 s1 freq  +40945 
> delay   7410
> phc2sys[251213.781]: CLOCK_REALTIME phc offset 39432354542 s2 freq +100000000 
> delay   7420
...
> phc2sys[251244.787]: CLOCK_REALTIME phc offset 35988703421 s2 freq +100000000 
> delay   6678
> phc2sys[251245.788]: clockcheck: clock jumped forward or running faster than 
> expected! <-- the error
> phc2sys[251245.788]: CLOCK_REALTIME phc offset 39378909599 s0 freq +100000000 
> delay   6678

It looks like someone else is controlling CLOCK_REALTIME.  Is the PC
running ntpd or chrony or timesyncd or ...

Thanks,
Richard


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

Reply via email to