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

Andreas Stewering-Bone andreas.stewering-bone at gmx.de
Mon Oct 3 17:11:46 CEST 2022


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.
> 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/0337ebc0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20221003/0337ebc0/attachment.sig>


More information about the Etherlab-users mailing list