<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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=windows-1254">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:658122660;
        mso-list-template-ids:-1;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:889418486;
        mso-list-template-ids:-1;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style>
</head>
<body lang="TR" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Andreas,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sorry for missing info. I am already using actual stable-1.5, which is downloaded from Gitlab repo stable-1.5 branch.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best  regards,</p>
<p class="MsoNormal">Celil</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Gönderen:</b> Andreas Stewering-Bone <andreas.stewering-bone@gmx.de><br>
<b>Gönderildi:</b> Friday, February 9, 2024 5:38:50 PM<br>
<b>Kime:</b> Celil Can Anık <bilko.celil@outlook.com>; etherlab-users@etherlab.org <etherlab-users@etherlab.org><br>
<b>Konu:</b> Re: [Etherlab-users] IGC driver with kernel 6.4 issue</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Segoe UI"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
p.x_MsoListParagraph, li.x_MsoListParagraph, div.x_MsoListParagraph
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
<div lang="TR" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div>Hi,</div>
<div><br>
</div>
<div>try to use the actual stable-1.5 from igh. IGC for 6.4 is integrated.</div>
<div><br>
</div>
<div>Best regards</div>
<div><br>
</div>
<div>Andreas</div>
<div>Am Freitag, dem 09.02.2024 um 14:36 +0000 schrieb Celil Can Anık:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid; padding-left:1ex">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-US">Hi all,</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">I was running Ethercat master with Gavin’s patchset older hardware with R8169 driver with Preempt RT. But new hardware is using I225 (Ethernet controller: Intel Corporation Ethernet Controller I225-LM (rev 03)), igc
 driver, and newer kernel with Ubuntu 22.04. Unfortunately, I am unable to run with igc driver with Kernel 6.4. But, generic driver works. I tried to compile my RT kernel and Ethercat master a few times with different configurations, but no luck. I slightly
 suspect there might be an issue with this new driver patch</span><span style="font-size:12.0pt; font-family:"Segoe UI",sans-serif; color:#0D0D0D; background:white">.</span><span lang="EN-US">Any help you can give would be appreciated.
</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">Here is my dmesg log. (Driver looks like loaded ?)</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">[ 8167.603308] EtherCAT: Master module cleaned up.</span></p>
<p class="x_MsoNormal"><span lang="EN-US">[ 8169.698759] EtherCAT: Master driver 1.5.2 unknown</span></p>
<p class="x_MsoNormal"><span lang="EN-US">[ 8169.699063] EtherCAT: 1 master waiting for devices.</span></p>
<p class="x_MsoNormal"><span lang="EN-US">[ 8169.743069] Intel(R) 2.5G Ethernet Linux Driver (EtherCAT enabled)</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">When I select igc driver from /etc/sysconfig/ethercat, master is not works. But with generic driver it finds my Ethernet chip. No slaves connected.</span></p>
<ul type="disc" style="margin-top:0cm">
<li class="x_MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">igc</span></li></ul>
<p class="x_MsoNormal"><span lang="EN-US"># /etc/init.d/ethercat status</span></p>
<p class="x_MsoNormal"><span lang="EN-US">Checking for EtherCAT master 1.5.2 </span>
</p>
<p class="x_MsoNormal"><span lang="EN-US">Master0  dead</span></p>
<p class="x_MsoNormal"><span lang="EN-US">root@lynca:/usr/local/src/ethercat-stable-1.5# ethercat master</span></p>
<p class="x_MsoNormal"><span lang="EN-US">Master0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Phase: Waiting for device(s)...</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Active: no</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Slaves: 0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Ethernet devices:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Main: ff:ff:ff:ff:ff:ff (waiting...)</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Link: DOWN</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx errors:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Common:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Lost frames: 0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Loss rate [1/s]:          0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Frame loss [%]:         0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Distributed clocks:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Reference clock:   None</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    DC reference time: 0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Application time:  0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">                       2000-01-01 00:00:00.000000000</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<ul type="disc" style="margin-top:0cm">
<li class="x_MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">GENERIC</span></li></ul>
<p class="x_MsoNormal"><span lang="EN-US">ethercat master</span></p>
<p class="x_MsoNormal"><span lang="EN-US">Master0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Phase: Idle</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Active: no</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Slaves: 0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Ethernet devices:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Main: 86:c0:b4:27:56:65 (attached)</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Link: DOWN</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx errors:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Common:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frames:   0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx bytes:    0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Lost frames: 0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Tx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx frame rate [1/s]:      0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Rx rate [KByte/s]:      0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Loss rate [1/s]:          0      0      0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">      Frame loss [%]:         0.0    0.0    0.0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">  Distributed clocks:</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Reference clock:   None</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    DC reference time: 0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">    Application time:  0</span></p>
<p class="x_MsoNormal"><span lang="EN-US">                       2000-01-01 00:00:00.000000000</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">Also you can check “lsmod” data for both generic and igc here:<a href="https://pastes.io/jordbvtiuq">https://pastes.io/jordbvtiuq</a></span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal"><span lang="EN-US">Best regards,</span></p>
<p class="x_MsoNormal"><span lang="EN-US">Celil</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
</div>
</blockquote>
<div><br>
</div>
<div><span></span></div>
</div>
</body>
</html>