ons 2022-12-14 klockan 05:15 +1000 skrev Rod Webster:
> Since the 5.10 kernel (eg Bullseye) and above, there has been an
> issue with
> excessive network latency with the Debian RT kernel and Realtek
> network
> interfaces with Mesa ethernet cards. When it bites, it causes a
> hm2_eth
> "error finishing read" and disables the mesa card.  By avoiding
> realtek
> NIC's a whole swathe of small portable industrial PC's can no longer
> be
> used with linuxcnc. A resolution for this issue needs to be found
> before
> 2.9 rolls out or there will be massive support issues.
> 

> This issue is restricted to the debian environment. Installing a
> compiled
> kernel or running on a non-debian distribution solves the issue (I
> tried
> arch-linux)
> 
> By default Debian uses the r8169 network driver for all realtek NIC's
> but
> provides a r8168-dkms driver which should solve the issue if
> installed if
> supported hardware is present. However,  it appears that when this is
> installed, the network latency is rarely resolved. I suspect it is
> because
> of a buggy driver in Debian. Some people (PCW, JT et al) have
> resorted to
> compiling the kernel from pristine sources.
> 
> I have finally been able to compile a 6.1 version of the PREEMPT_RT
> kernel
> and headers which I have stored in Google Drive

Have had problem with ethercat message disappear then more than a few
cards are connected in series. Using lsmod I could see mdio_devres
r8169 so maybe this also explain the problem with Ethercat.

Have however not yet checked.

Nicklas Karlsson



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to