<html><head>
<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;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.q4iawc
{mso-style-name:q4iawc;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="FR" link="#0563C1" vlink="#954F72"><div>Dear Vincent,</div><div><br></div><div>I am sorry, actually there are no patchted drivers for r8169 and e1000e in the stable 1.5 tree for this kernel version.</div><div>The ccat and the generic driver are actually kernel version independent, so it was the starting point for me to build up dkms modules.</div><div>If there are patched drivers for the installed kernels I need additional logic on dkms level to decide when to build the modules.</div><div>The coming new stable branch will include more patched drivers and on my side I have to extend the dkms modules.</div><div><br></div><div>So it is work in progress</div><div><br></div><div>Best regards</div><div><br></div><div>Andreas</div><div><br></div><div>Am Sonntag, dem 02.10.2022 um 16:36 +0000 schrieb BUSSIERES Vincent:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div class="WordSection1"><p class="MsoNormal">Dear Andreas,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I’m sorry<span class="q4iawc"><span lang="EN"> for not having answered you sooner, I just installed your DKMS ethercat-packages on Debian Bullseye.<o:p></o:p></span></span></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN">No problem with installation, but I’d like to use “r8169” or “e1000e” ethercat driver modules instead of “generic” one.<o:p></o:p></span></span></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN">Could you tell me if it is possible to build ec_r8169 or ec_e1000e modules ?<o:p></o:p></span></span></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN">You can see below the status of ethercat daemon when it is started:<o:p></o:p></span></span></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p><p class="MsoNormal"><span style="color:black">● ethercat.service - EtherCAT Master Kernel Modules<br> Loaded: loaded (/lib/systemd/system/ethercat.service; disabled; vendor preset: enabled)<br> Active: active (exited) since Sun 2022-10-02 18:20:21 CEST; 6s ago<br> Process: 1877 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)<br> Main PID: 1877 (code=exited, status=0/SUCCESS)<br> CPU: 19ms<br><br>oct. 02 18:20:21 vincent systemd[1]: Starting EtherCAT Master Kernel Modules...<br>oct. 02 18:20:21 vincent ethercatctl[1886]: modinfo: ERROR: Module ec_r8169 not found.<br>oct. 02 18:20:21 vincent systemd[1]: Finished EtherCAT Master Kernel Modules</span><span style="font-size:12.0pt;color:black;mso-fareast-language:JA"><o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><div><p class="MsoNormal"><span style="color:black">Best regards<o:p></o:p></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></b></p><p class="MsoNormal"><span style="color:black">Vincent<o:p></o:p></span></p></div><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="mso-fareast-language:FR">De :</span></b><span style="mso-fareast-language:FR"> Andreas Stewering-Bone <andreas.stewering-bone@gmx.de><br><b>Envoyé :</b> mercredi 7 septembre 2022 13:19<br><b>À :</b> BUSSIERES Vincent <vincent.bussieres@hemeria-group.com>; etherlab-users@etherlab.org<br><b>Objet :</b> Re: [Etherlab-users] ethercat with debian 11 and kernel 5.10.0-17-amd64<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">Dear Vincent,<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">I work with Debian Bullseye since a long time. RT or non-RT kernel makes no different.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">I use my own DKMS ethercat-packages from the Buildservice Repo <a href="https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab">https://build.opensuse.org/project/show/home:bone11111:branches:science:EtherLab.</a><o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">The packages are up to date and build based on the stable-1.5.2 tree.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">Generic and CCAT driver are included.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">You only have to install the kernel-image and the kernel-header package<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">Actually tested up to kernel 5.10 without problem<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">In Debian a RT-kernel up to 5.15 is available but actually not tested.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">Best regards<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">Andreas<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR">Am Montag, dem 05.09.2022 um 21:52 +0000 schrieb BUSSIERES Vincent:<o:p></o:p></span></p></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><p class="MsoNormal">Dear Etherlab users,<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">I used to develop Ethercat applications on debian 10 (kernel 4.19) with Gavin’s patch.<o:p></o:p></p><p class="MsoNormal">Now, I must work on debian bullseye, I’d like to know if EtherCAT master is able to run on bullseye ?<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">I have downloaded the last current version on GitLab and succeded to compile it with generic driver, but build failed with kernel driver.<o:p></o:p></p><p class="MsoNormal">Documentation says that master has been designed as a kernel module for Linux 2.6 / 3.x.<o:p></o:p></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN">I saw on the Internet that someone had managed to compile on recent kernel 5 :<a href="https://gitlab.com/etherlab.org/ethercat/-/issues/1">https://gitlab.com/etherlab.org/ethercat/-/issues/1</a></span></span><o:p></o:p></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN"> </span></span><o:p></o:p></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN">Does anybody test this unsupported version ? Is is stable ?</span></span><o:p></o:p></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN"> </span></span><o:p></o:p></p><p class="MsoNormal"><span class="q4iawc"><span lang="EN">Thanks</span></span><o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">Regards<o:p></o:p></p><p class="MsoNormal"> <o:p></o:p></p></blockquote><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:FR"><o:p> </o:p></span></p></div></div></blockquote><div><br></div><div><span></span></div></body></html>