<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:ZH-TW;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:13.5pt;
        font-family:"PMingLiU","serif";
        mso-fareast-language:ZH-TW;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"PMingLiU","serif";
        mso-fareast-language:ZH-TW;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Cambria","serif";
        color:#4F81BD;
        mso-fareast-language:ZH-TW;
        font-weight:bold;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I was seeing that error occasionally on different nics at steady state.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">In the cases I saw, ptp4l would recover within about a minute.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I did push a fix to starlingx 3.0 to increase tx_timestamp_timeout which seems to have stopped the issue from happening in my setups.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><a href="https://review.opendev.org/#/c/691113/">https://review.opendev.org/#/c/691113/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Of course, it was a bit unpredictable so it’s hard to be sure it’s completely gone.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Gerry<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Philip_Wang@alphanetworks.com [mailto:Philip_Wang@alphanetworks.com]
<br>
<b>Sent:</b> Thursday, November 21, 2019 11:02 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] PTP slave send delay request packet fail<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear group,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I use starlingx 2.0 to test PTP slave at AIO-SX.  I check log then find error messages as below:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2019-11-21T14:38:25.000 controller-0 ptp4l: notice [77834.645] port 1: UNCALIBRATED to SLAVE on MASTER_CLOCK_SELECTED<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:25.000 controller-0 phc2sys: info [77834.868] port 0015b2.fffe.a92e24-1 changed state<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:25.000 controller-0 phc2sys: info [77834.868] port 0015b2.fffe.a92e24-1 changed state<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:25.000 controller-0 phc2sys: info [77834.868] reconfiguring after port state change<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:25.000 controller-0 phc2sys: info [77834.868] selecting CLOCK_REALTIME for synchronization<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:25.000 controller-0 phc2sys: info [77834.868]
<b>selecting enp0s25 as the master clock</b><o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:53.000 controller-0 ptp4l: info [77862.895] rms 4917165483502 max 70368744178111 freq -74459 +/- 2613 delay 14401 +/- 230<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:38:54.000 controller-0 phc2sys: info [77863.871] rms 2218 max 15666 freq -73519 +/- 175 delay  1669 +/- 115<o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:red">2019-11-21T14:39:06.000 controller-0 ptp4l: err [77875.993] timed out while polling for tx timestamp<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:red">2019-11-21T14:39:06.000 controller-0 ptp4l: err [77875.993] increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:red">2019-11-21T14:39:06.000 controller-0 ptp4l: err [77875.993] port 1: send delay request failed<o:p></o:p></span></b></p>
<p class="MsoNormal">2019-11-21T14:39:06.000 controller-0 ptp4l: notice [77875.993]
<b>port 1: SLAVE to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)</b><o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:39:07.000 controller-0 phc2sys: info [77876.872] port 0015b2.fffe.a92e24-1 changed state<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:39:07.000 controller-0 phc2sys: info [77876.872] reconfiguring after port state change<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:39:07.000 controller-0 phc2sys: info [77876.872] selecting enp0s25 for synchronization<o:p></o:p></p>
<p class="MsoNormal">2019-11-21T14:39:07.000 controller-0 phc2sys: info [77876.872]
<b>nothing to synchronize</b><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is it a driver bug??<o:p></o:p></p>
<p class="MsoNormal">OAM NIC is Intel I210.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Reagrds,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.25in;text-indent:-.25in"><span style="font-size:14.0pt;color:#4472C4">-</span><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#4472C4">       
</span><b><i><span style="font-size:14.0pt;color:#4472C4">Philip Wang<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b>---<o:p></o:p></b></p>
<p class="MsoNormal"><b>Alpha Networks Inc.<o:p></o:p></b></p>
<p class="MsoNormal">TEL: 886-3-5636666 EXT:6403<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>This electronic mail transmission is intended only for the named recipient. It contains information which may be privileged,confidential and exempt from disclosure under applicable law. Dissemination, distribution, or copying of this communication by anyone
 other than the recipient or the recipient's agent is strictly prohibited. If this electronic mail transmission is received in error, Please notify us immediately and delete the message and all attachments of it from your computer system. Thank you for your
 cooperation. <o:p></o:p></p>
</div>
</body>
</html>