hi Jake, Richard,

Observed issue with ptp 2.0 also. But based on below logs.

Nov 10 03:49:04 ptp4l: [21956.414] rms    3 max    6 freq  +2783 +/-   5 delay  
  85 +/-   1
Nov 10 03:49:05 phc2sys: [21956.824] CLOCK_REALTIME phc offset         8 s2 
freq   +9775 delay   2252
Nov  4 12:50:40 ptp4l: [21957.406] rms    3 max    5 freq  +2780 +/-   5 delay  
  86 +/-   1
Nov  6 05:55:10 phc2sys: [21957.824] clockcheck: clock jumped backward or 
running slower than expected!
Nov  6 05:55:10 phc2sys: [21957.824] CLOCK_REALTIME phc offset -338035766568736 
s0 freq   +9775 delay   2461
Nov  6 07:39:56 ptp4l: [21958.399] rms    2 max    3 freq  +2783 +/-   3 delay  
  85 +/-   1
Nov  9 21:52:19 phc2sys: [21958.824] 
Nov  9 21:52:19 phc2sys: [21958.824] CLOCK_REALTIME phc offset -21408060435248 
sclockcheck: clock jumped forward or running faster than expected!0 freq   
+9775 delay   2468
Nov  9 21:52:19 ptp4l: [21959.393] rms    3 max    6 freq  +2784 +/-   4 delay  
  84 +/-   1
Nov  9 21:52:20 phc2sys: [21959.825] CLOCK_REALTIME phc offset -21408060435245 
s2 freq   +9772 delay   2472

Observing time change 3 to 4 times? 
ptp4l seems to have proper value ie phc offset -21408060435248 (Nov 9 21.52.19 
+ 21408 secs (5 hour + 56 minutes) around Nov 10 3:49.

Please suggest.

regards,
Ramesh

On Thursday, November 11, 2021, 10:26:28 PM GMT+5:30, ramesh t via 
Linuxptp-users <linuxptp-users@lists.sourceforge.net> wrote: 





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



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

Reply via email to