Thread: [Linuxptp-users] Linuxptp: clock jumps
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Cognault M. <mar...@th...> - 2015-05-05 13:58:38
|
Hello We try to implement Linuxptp on the following platform: Intel Core i7 4700EQ Ethernet controller: Intel I218-LM Debian 8 - kernel 3.16.7 Driver: e1000e 3.1.0.2 Despite we use the last e1000e release, the synchronization fails from time to time in a way similar to the issue https://www.mail-archive.com/linuxptp-users%40lists.sourceforge.net/msg00089.html Ptp4l log output: ptp4l[282013.033]: rms 4967 max 13253 freq +25 +/- 6813 delay 24447 +/- 2423 ptp4l[282014.034]: rms 5018 max 13444 freq -433 +/- 6870 delay 24234 +/- 2564 ptp4l[282015.035]: rms 5649 max 14758 freq -492 +/- 7760 delay 23901 +/- 2745 ptp4l[282016.036]: rms 4768 max 12375 freq -46 +/- 6558 delay 23501 +/- 3154 ptp4l[282017.036]: rms 4923 max 12944 freq -236 +/- 6765 delay 24439 +/- 2169 ptp4l[282018.038]: rms 9913 max 26066 freq -1041 +/- 13614 delay 21056 +/- 6639 ptp4l[282018.163]: clockcheck: clock jumped forward or running faster than expected! ptp4l[282018.163]: port 1: SLAVE to UNCALIBRATED on SYNCHRONIZATION_FAULT ptp4l[282018.413]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED ptp4l[282019.039]: rms 35184372090195 max 70368744180407 freq -2994 +/- 7974 delay 24286 +/- 2607 ptp4l[282020.040]: rms 6215 max 11297 freq -3239 +/- 8480 delay 23951 +/- 2655 ptp4l[282021.040]: rms 5511 max 11347 freq +1238 +/- 7033 delay 24534 +/- 2700 ptp4l[282022.041]: rms 4514 max 10977 freq +634 +/- 6153 delay 25364 +/- 247 This issue happens when both ptp4l and phc2sys are running, and doesn't happen if phc2sys is not started. As this issue should have been solved with the e1000e rev 3.0.4, does somebody know where is the problem (linuxptp, e1000e , I218, ...) ? Regards Marc Cognault |
From: Richard C. <ric...@gm...> - 2015-05-05 15:54:15
|
On Tue, May 05, 2015 at 01:58:24PM +0000, Cognault Marc wrote: > This issue happens when both ptp4l and phc2sys are running, and doesn't happen if phc2sys is not started. > > As this issue should have been solved with the e1000e rev 3.0.4, does somebody know where is the problem (linuxptp, e1000e , I218, ...) ? This sounds very similar to a reported hardware issue with the I217-LM. I have no idea about when or if Intel patched their driver. One person wrote me that he could trigger the bug by simply reading out the clock in a tight loop in a test program. HTH, Richard |
From: Keller, J. E <jac...@in...> - 2015-05-06 18:27:44
|
On Tue, 2015-05-05 at 17:54 +0200, Richard Cochran wrote: > On Tue, May 05, 2015 at 01:58:24PM +0000, Cognault Marc wrote: > > This issue happens when both ptp4l and phc2sys are running, and doesn't happen if phc2sys is not started. > > > > As this issue should have been solved with the e1000e rev 3.0.4, does somebody know where is the problem (linuxptp, e1000e , I218, ...) ? > > This sounds very similar to a reported hardware issue with the > I217-LM. I have no idea about when or if Intel patched their driver. > One person wrote me that he could trigger the bug by simply reading > out the clock in a tight loop in a test program. > > HTH, > Richard Richard, You don't by chance still have that email? I am trying to find it in the archive.. Regards, Jake |
From: Richard C. <ric...@gm...> - 2015-05-07 05:00:44
|
On Wed, May 06, 2015 at 06:27:38PM +0000, Keller, Jacob E wrote: > You don't by chance still have that email? I am trying to find it in the > archive.. Here it is: http://article.gmane.org/gmane.comp.linux.ptp.devel/2503 Cheers, Richard |
From: Keller, J. E <jac...@in...> - 2015-05-06 21:19:15
|
Hi, +e1000-devel On Tue, 2015-05-05 at 13:58 +0000, Cognault Marc wrote: > Hello > > We try to implement Linuxptp on the following platform: > Intel Core i7 4700EQ > Ethernet controller: Intel I218-LM > Debian 8 - kernel 3.16.7 > Driver: e1000e 3.1.0.2 > > Despite we use the last e1000e release, the synchronization fails from time to time in a way similar to the issue > https://www.mail-archive.com/linuxptp-users%40lists.sourceforge.net/msg00089.html > > Ptp4l log output: > ptp4l[282013.033]: rms 4967 max 13253 freq +25 +/- 6813 delay 24447 +/- 2423 > ptp4l[282014.034]: rms 5018 max 13444 freq -433 +/- 6870 delay 24234 +/- 2564 > ptp4l[282015.035]: rms 5649 max 14758 freq -492 +/- 7760 delay 23901 +/- 2745 > ptp4l[282016.036]: rms 4768 max 12375 freq -46 +/- 6558 delay 23501 +/- 3154 > ptp4l[282017.036]: rms 4923 max 12944 freq -236 +/- 6765 delay 24439 +/- 2169 > ptp4l[282018.038]: rms 9913 max 26066 freq -1041 +/- 13614 delay 21056 +/- 6639 > ptp4l[282018.163]: clockcheck: clock jumped forward or running faster than expected! > ptp4l[282018.163]: port 1: SLAVE to UNCALIBRATED on SYNCHRONIZATION_FAULT > ptp4l[282018.413]: port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED > ptp4l[282019.039]: rms 35184372090195 max 70368744180407 freq -2994 +/- 7974 delay 24286 +/- 2607 > ptp4l[282020.040]: rms 6215 max 11297 freq -3239 +/- 8480 delay 23951 +/- 2655 > ptp4l[282021.040]: rms 5511 max 11347 freq +1238 +/- 7033 delay 24534 +/- 2700 > ptp4l[282022.041]: rms 4514 max 10977 freq +634 +/- 6153 delay 25364 +/- 247 > > This issue happens when both ptp4l and phc2sys are running, and doesn't happen if phc2sys is not started. > > As this issue should have been solved with the e1000e rev 3.0.4, does somebody know where is the problem (linuxptp, e1000e , I218, ...) ? > > Regards > > Marc Cognault I have fowarded this to e1000-devel in order for the proper maintainer of e1000e sees your message. Hopefully they can shed some proper light on this. Regards, Jake |