[Etherlab-users] ethercat with debian 11 and kernel 5.10.0-17-amd64

BUSSIERES Vincent vincent.bussieres at hemeria-group.com
Mon Oct 3 18:04:59 CEST 2022


Ok, thank you Andreas.


So for now, if I whish to use Debian 11 I must use generic driver.


Best regards


________________________________
De : Andreas Stewering-Bone <andreas.stewering-bone at gmx.de>
Envoyé : lundi 3 octobre 2022 17:11
À : BUSSIERES Vincent; etherlab-users at etherlab.org
Objet : Re: [Etherlab-users] ethercat with debian 11 and kernel 5.10.0-17-amd64

Dear Vincent,

I am sorry, actually there are no patchted drivers for r8169 and e1000e in the stable 1.5 tree for this kernel version.
The ccat and the generic driver are actually kernel version independent, so it was the starting point for me to build up dkms modules.
If there are patched drivers for the installed kernels I need additional logic on dkms level to decide when to build the modules.
The coming new stable branch will include more patched drivers and on my side  I have to extend the dkms modules.

So it is work in progress

Best regards

Andreas

Am Sonntag, dem 02.10.2022 um 16:36 +0000 schrieb BUSSIERES Vincent:

Dear Andreas,



I’m sorry for not having answered you sooner, I just installed your DKMS ethercat-packages on Debian Bullseye.

No problem with installation, but I’d like to use “r8169” or “e1000e” ethercat driver modules instead of “generic” one.



Could you tell me if it is possible to build ec_r8169 or ec_e1000e modules ?



You can see below the status of ethercat  daemon when it is started:



● ethercat.service - EtherCAT Master Kernel Modules
     Loaded: loaded (/lib/systemd/system/ethercat.service; disabled; vendor preset: enabled)
     Active: active (exited) since Sun 2022-10-02 18:20:21 CEST; 6s ago
    Process: 1877 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)
   Main PID: 1877 (code=exited, status=0/SUCCESS)
        CPU: 19ms

oct. 02 18:20:21 vincent systemd[1]: Starting EtherCAT Master Kernel Modules...
oct. 02 18:20:21 vincent ethercatctl[1886]: modinfo: ERROR: Module ec_r8169 not found.
oct. 02 18:20:21 vincent systemd[1]: Finished EtherCAT Master Kernel Modules



Best regards



Vincent



De : Andreas Stewering-Bone <andreas.stewering-bone at gmx.de>
Envoyé : mercredi 7 septembre 2022 13:19
À : BUSSIERES Vincent <vincent.bussieres at hemeria-group.com>; etherlab-users at etherlab.org
Objet : Re: [Etherlab-users] ethercat with debian 11 and kernel 5.10.0-17-amd64



Dear Vincent,



I work with Debian Bullseye since a long time. RT or non-RT kernel makes no different.

I use my own DKMS ethercat-packages from the Buildservice Repo https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab.<https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab>

[https://build.opensuse.org/assets/obs-logo_meta-0cc940130a6cceea822bfa0c5eaf466d900a2ed4df7eb7fe6936a24b188852ff.png]<https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab>

Show home:bone11111:branches:science:EtherLab - openSUSE Build Service<https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab>
build.opensuse.org
This project was created for EtherLab packages !!!!Note actual state is beta, this debian packages are not supported officially by the EtherLab team!!!! Please see https://build.opensuse.org/project/show/science:EtherLab for official packages (Yes Deb-packages too in the near future). This project is used to build up and test the Deb-package structure, so basic structural changes are possible. To use this repo please add a file etherlab.list in the directory /etc/apt/sources.list.d Using the Release key (example for Debian 10, buster) 1. Get and install the key KEYRING=/usr/share/keyrings/ethercat.gpg && curl -fsSL https://download.opensuse.org/repositories/home:/bone11111:/branches:/science:/EtherLab/Debian_10/Release.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null 2. Add the package source url to sudo echo "deb [trusted=yes] http://download.opensuse.org/repositories/home:/bone11111:/branches:/science:/EtherLab/Debian_10/ ./" > /etc/apt/sou


The packages are up to date and build based on the stable-1.5.2 tree.

Generic and CCAT driver are included.



You only have to install the kernel-image and the kernel-header package

Actually tested up to kernel 5.10 without problem

In Debian a RT-kernel up to 5.15 is available but actually not tested.



Best regards



Andreas



Am Montag, dem 05.09.2022 um 21:52 +0000 schrieb BUSSIERES Vincent:

Dear Etherlab users,



I used to develop Ethercat applications on debian 10 (kernel 4.19) with Gavin’s patch.

Now, I must work on debian bullseye, I’d like to know if EtherCAT master is able to run on bullseye ?



I have downloaded  the last current version on GitLab and succeded to compile it with generic driver, but build failed with kernel driver.

Documentation says that master has been designed as a kernel module for Linux 2.6 / 3.x.

I saw on the Internet that someone had managed to compile on recent kernel 5 :https://gitlab.com/etherlab.org/ethercat/-/issues/1



Does anybody test this unsupported version ? Is is stable ?



Thanks



Regards





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20221003/66801608/attachment-0001.htm>


More information about the Etherlab-users mailing list