[Etherlab-users] Ynt: Ynt: IGC driver with kernel 6.4 issue
Celil Can Anık
bilko.celil at outlook.com
Tue Feb 13 07:50:05 CET 2024
Hi,
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.
Best regards,
Celil
________________________________
Gönderen: Andreas Stewering-Bone <andreas.stewering-bone at gmx.de>
Gönderildi: 9 Şubat 2024 Cuma 17:50
Kime: Celil Can Anık <bilko.celil at outlook.com>; etherlab-users at etherlab.org <etherlab-users at etherlab.org>
Konu: Re: Ynt: [Etherlab-users] IGC driver with kernel 6.4 issue
Hi,
Please check if the standard igc driver is still loaded.
Best regards
Andreas
Am Freitag, dem 09.02.2024 um 14:46 +0000 schrieb Celil Can Anık:
Hi Andreas,
Sorry for missing info. I am already using actual stable-1.5, which is downloaded from Gitlab repo stable-1.5 branch.
Best regards,
Celil
________________________________
Gönderen: Andreas Stewering-Bone <andreas.stewering-bone at gmx.de>
Gönderildi: Friday, February 9, 2024 5:38:50 PM
Kime: Celil Can Anık <bilko.celil at outlook.com>; etherlab-users at etherlab.org <etherlab-users at etherlab.org>
Konu: Re: [Etherlab-users] IGC driver with kernel 6.4 issue
Hi,
try to use the actual stable-1.5 from igh. IGC for 6.4 is integrated.
Best regards
Andreas
Am Freitag, dem 09.02.2024 um 14:36 +0000 schrieb Celil Can Anık:
Hi all,
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.Any help you can give would be appreciated.
Here is my dmesg log. (Driver looks like loaded ?)
[ 8167.603308] EtherCAT: Master module cleaned up.
[ 8169.698759] EtherCAT: Master driver 1.5.2 unknown
[ 8169.699063] EtherCAT: 1 master waiting for devices.
[ 8169.743069] Intel(R) 2.5G Ethernet Linux Driver (EtherCAT enabled)
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.
* igc
# /etc/init.d/ethercat status
Checking for EtherCAT master 1.5.2
Master0 dead
root at lynca:/usr/local/src/ethercat-stable-1.5# ethercat master
Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: ff:ff:ff:ff:ff:ff (waiting...)
Link: DOWN
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Lost frames: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 0 0 0
Frame loss [%]: 0.0 0.0 0.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
* GENERIC
ethercat master
Master0
Phase: Idle
Active: no
Slaves: 0
Ethernet devices:
Main: 86:c0:b4:27:56:65 (attached)
Link: DOWN
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Tx errors: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Common:
Tx frames: 0
Tx bytes: 0
Rx frames: 0
Rx bytes: 0
Lost frames: 0
Tx frame rate [1/s]: 0 0 0
Tx rate [KByte/s]: 0.0 0.0 0.0
Rx frame rate [1/s]: 0 0 0
Rx rate [KByte/s]: 0.0 0.0 0.0
Loss rate [1/s]: 0 0 0
Frame loss [%]: 0.0 0.0 0.0
Distributed clocks:
Reference clock: None
DC reference time: 0
Application time: 0
2000-01-01 00:00:00.000000000
Also you can check “lsmod” data for both generic and igc here:https://pastes.io/jordbvtiuq
Best regards,
Celil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240213/734fe686/attachment-0001.htm>
More information about the Etherlab-users
mailing list