<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I checked it. I misconfigured kernel, igc module is compiled as built-in. It was not working because built-in modules can't be removed at later. I recompiled kernel and it works. Thank you for assistance.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best regards,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Celil</div>
<div id="appendonsend"></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> 9 Şubat 2024 Cuma 17:50<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: Ynt: [Etherlab-users] IGC driver with kernel 6.4 issue</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
.x_MsoChpDefault
{}
@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>Please check if the standard igc driver is still loaded.</div>
<div><br>
</div>
<div>Best regards</div>
<div><br>
</div>
<div>Andreas</div>
<div><br>
</div>
<div>Am Freitag, dem 09.02.2024 um 14:46 +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 Andreas,</span></p>
<p class="x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_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.</span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Best regards,</p>
<p class="x_MsoNormal">Celil</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"> </p>
</div>
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
</div>
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><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>
<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_x_MsoNormal, li.x_x_MsoNormal, div.x_x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_x_MsoHyperlink
{color:blue;
text-decoration:underline}
p.x_x_MsoListParagraph, li.x_x_MsoListParagraph, div.x_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_x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
ol
{margin-bottom:0cm}
ul
{margin-bottom:0cm}
-->
</style></div>
<div lang="TR" 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_x_WordSection1">
<p class="x_x_MsoNormal"><span lang="EN-US">Hi all,</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_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_x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">Here is my dmesg log. (Driver looks like loaded ?)</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">[ 8167.603308] EtherCAT: Master module cleaned up.</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">[ 8169.698759] EtherCAT: Master driver 1.5.2 unknown</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">[ 8169.699063] EtherCAT: 1 master waiting for devices.</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">[ 8169.743069] Intel(R) 2.5G Ethernet Linux Driver (EtherCAT enabled)</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_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_x_MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">igc</span></li></ul>
<p class="x_x_MsoNormal"><span lang="EN-US"># /etc/init.d/ethercat status</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">Checking for EtherCAT master 1.5.2 </span>
</p>
<p class="x_x_MsoNormal"><span lang="EN-US">Master0 dead</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">root@lynca:/usr/local/src/ethercat-stable-1.5# ethercat master</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">Master0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Phase: Waiting for device(s)...</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Active: no</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Slaves: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Ethernet devices:</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Main: ff:ff:ff:ff:ff:ff (waiting...)</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Link: DOWN</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx errors: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Common:</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Lost frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Loss rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Frame loss [%]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Distributed clocks:</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Reference clock: None</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> DC reference time: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Application time: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> 2000-01-01 00:00:00.000000000</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> </span></p>
<ul type="disc" style="margin-top:0cm">
<li class="x_x_MsoListParagraph" style="margin-left:0cm"><span lang="EN-US">GENERIC</span></li></ul>
<p class="x_x_MsoNormal"><span lang="EN-US">ethercat master</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">Master0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Phase: Idle</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Active: no</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Slaves: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Ethernet devices:</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Main: 86:c0:b4:27:56:65 (attached)</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Link: DOWN</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx errors: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Common:</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx bytes: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Lost frames: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Tx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx frame rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Rx rate [KByte/s]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Loss rate [1/s]: 0 0 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Frame loss [%]: 0.0 0.0 0.0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Distributed clocks:</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Reference clock: None</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> DC reference time: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> Application time: 0</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> 2000-01-01 00:00:00.000000000</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_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_x_MsoNormal"><span lang="EN-US"> </span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">Best regards,</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US">Celil</span></p>
<p class="x_x_MsoNormal"><span lang="EN-US"> </span></p>
</div>
</blockquote>
<div><br>
</div>
<div><span></span></div>
</div>
</blockquote>
<div><br>
</div>
<div><span></span></div>
</div>
</body>
</html>