hi Richard,

Verified on the nodes where the problem re-occurred after almost a week using 
phc_ctl. NIC phc time was fine. But only system time had changed.
Also as suggested was running a script to capture phc_ctl periodically, but the 
issue didn't happen on those node. Even nodes running ptp2.0 didn't report the 
problem.

Nov 10 23:19:13 phc2sys: [43031.919] CLOCK_REALTIME phc offset       -62 s2 
freq   +4363 delay   2331
Nov 10 23:19:14 ptp4l: [43032.308] rms    3 max    6 freq   -834 +/-   4 delay  
  83 +/-   1
Nov 10 02:38:29 phc2sys: [43032.919] clockcheck: clock jumped backward or 
running slower than expected!
Nov 10 02:38:29 phc2sys: [43032.919] CLOCK_REALTIME phc offset -74444707194042 
s0 freq   +4363 delay   2459
Nov 10 17:47:19 ptp4l: [43033.302] rms    3 max    7 freq   -837 +/-   5 delay  
  83 +/-   1

Nov 10 22:36:11 phc2sys: [93661.492] CLOCK_REALTIME phc offset        34 s2 
freq   +9568 delay   2352
Nov 10 22:36:12 ptp4l: [93662.280] rms    3 max    5 freq  +3086 +/-   4 delay  
  85 +/-   0
Nov  4 12:50:40  phc2sys: [93662.493] clockcheck: clock jumped backward or 
running slower than expected!
Nov  4 12:50:40 phc2sys: [93662.493] CLOCK_REALTIME phc offset -553532738053986 
s0 freq   +9568 delay   2455
Nov 10 15:54:49 ptp4l: [93663.272] rms    2 max    5 freq  +3084 +/-   3 delay  
  86 +/-   1

I guess there are two possibilities.
1) Some process is changing the time? Is there a way to monitor which all 
processes modify the system time?
2) phc2sys code has issues in 3.0 version?

Please suggest.

regards,
Ramesh

On Tuesday, November 2, 2021, 10:02:01 PM GMT+5:30, Richard Cochran 
<richardcoch...@gmail.com> wrote: 





On Tue, Nov 02, 2021 at 03:32:04PM +0000, ramesh t wrote:

> hi,
> 
> Any suggestion for the below mentioned issue? Please let me know.


Looks like a HW and/or driver issue.

I would start by validating the HW/driver.  For example, a long term test of

  phc_ctl eth0 get

HTH,
Richard



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

Reply via email to