Ethercat build from source - full instructions

More
3 years 2 months ago #277954 by tommylight
It would be nice to drop it off of the caps lock, had a really hard time reading it.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago - 2 years 11 months ago #286219 by Sakhalin_Cat
Hello.
My machine for EtherCat has an Intel PRO 1000 network card installed. The card is registered as “generic” in the EtherCat-Master settings. When the LCNC works with the EtherCat driver, short-term freezes constantly appear.
I found a description of this problem on the forums and people refer to the fact that the GENERIC driver does not work quite correctly with the Intel board, and therefore for normal operation it is necessary to use the Intel driver.
I tried to compile the EtherCat-Master driver with the key - ./configure --sysconfdir=/etc/ --enable-userlib --enable-e1000 --enable-e1000e and it didn’t work this for me.
I get the answer: "checking for kernel for e1000 driver... configure: error: kernel 6.1 not available for e1000 driver!"
I built a new kernel where I included the driver inside the kernel and still get this response. I tried to compile by changing kernels and using different ./configure options - the result was negative, I cannot use the e1000 driver.
Please tell me, is it even possible to use the described driver in this version of EtherCat-Master? If possible, please point out my mistake.
Thank you.
-
After carefully studying the source catalog, I realized that EtherCat-Master does not contain ready-made drivers for kernels older than 4.4 for my adapter. And you need to change the Ethernet card to 8139 or write the driver yourself.
Sorry to bother you.
 
Last edit: 2 years 11 months ago by Sakhalin_Cat.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #286240 by rodw
This issue indicates the e1000 is too old for modern kernels
gitlab.com/etherlab.org/ethercat/-/issues/60

I would raise an issue there as I have found them very helpful

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago - 2 years 11 months ago #286309 by Sakhalin_Cat

This issue indicates the e1000 is too old for modern kernels
gitlab.com/etherlab.org/ethercat/-/issues/60

I would raise an issue there as I have found them very helpful
 
Hello.
Today I specifically purchased a board with an 8139D chip to run the system with it. I was disappointed, because again I could not compile the Etherkat driver for it.  This card has support in the source codes - "DEVICE" catalog, but it was not possible to compile the driver. The option to install DKMS via APT also failed to compile the drivers. Only generic driver works.
I cannot write to the authors using the link you suggested, since I cannot register on this site, although I have studied this correspondence very carefully.
Maybe you can raise this issue on GITLAB? Can the authors make a driver for any popular network card that can always be bought in a store so that there is support in modern kernels? The GENERIC driver works, but causes the system to freeze regularly, which does not have a very good effect on operation. I changed several network cards but the result is sad, freezing remains. If you unload the ezerkat driver, the system works stably without any complaints. A special driver for the adapter is required, but there is nowhere to get it. Alas.
Thank you for your attention and understanding.
Last edit: 2 years 11 months ago by Sakhalin_Cat.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #286326 by Sakhalin_Cat
Once again I greet you.
Tell me which network card to buy to minimize freezing of the system when the ezerkat driver is running in the "generic" mode?
There are probably chips on modern network cards that are 100% compatible with the "generic" ethercat driver and that do not cause bugs with short-term freezing of the system?

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #286561 by endian
I had very similar problem with freezing of ethercat.... 

I have build in card for ethernet and networking e1000e and second pci stuff with 8139 chip set ... when it is ethernet connected ethercat pci is freezing ... while I disconnect the ethernet ... ethercat is starting to run smoothly ... There I have generic driver on 8139 chipset and there should be 8139too driver but I do not know how to carefully replace it... I had used deb 10 buster 2.8 

I have not solve this problem till now ...

Please Log in or Create an account to join the conversation.

Time to create page: 0.526 seconds
Powered by Kunena Forum