Edge Software Catalog
Support for issues related to Edge Software Catalog
440 Discussions

igh ethercat install location issue

nxlou94
Beginner
589 Views

Hi,

 

I setup ECI apt repo, installed linux-intel-rt and ighethercat, things work, but headers seem to be in wrong location, and lib symlink seems to be missing. It looks like the installation didn't finish correctly. I do see an error during my installation, but I don't know if it is related.

 

headers are located in: /usr/src/ighethercat-dkms-1.5.2/include/ , this seem to be a source code location (which I have to add to header file search path, and Makefile template doesn't mention this location at all)

 

gf@gf-cst-i5-2:/$ sudo find -name ecrt.h

./usr/src/ighethercat-dkms-1.5.2/include/ecrt.h

...

 

libs are located in: /usr/lib/x86_64-linux-gnu/, but no symlink with name libethercat.so exist, so I had to create that for my linker to be able to find the library.

 

gf@gf-cst-i5-2:/$ sudo find -name libethercat.*

./usr/lib/x86_64-linux-gnu/libethercat.so.1.0.0

./usr/lib/x86_64-linux-gnu/libethercat.so.

...

 

I see this during my installation:

 

gf@gf-cst-i5-2:~$ sudo apt install ighethercat ighethercat-dkms ighethercat-examples ecat-enablekit
...
depmod...
Building initial module for 6.5.0-27-generic
Error! The /var/lib/dkms/ighethercat-dkms/1.5.2/6.5.0-27-generic/x86_64/dkms.con
f for module ighethercat-dkms includes a BUILD_EXCLUSIVE directive which does no
t match this kernel/arch/config.
This indicates that it should not be built.
Skipped.
...

 

I setup ECI apt repo, installed eci-customization, linux-intel-rt and ighethercat following these pages:

https://eci.intel.com/docs/3.2/getstarted/apt_instructions.html

https://eci.intel.com/docs/3.2/getstarted/installing_packages.html

https://eci.intel.com/docs/3.2/components/ethercat.html

 

my bash history:

gf@gf-cst-i5-2:~$ history
1 sudo -E wget -O- https://eci.intel.com/repos/gpg-keys/GPG-PUB-KEY-INTEL-ECI.gpg | sudo tee /usr/share/keyrings/eci-archive-keyring.gpg > /dev/null
2 echo "deb [signed-by=/usr/share/keyrings/eci-archive-keyring.gpg] https://eci.intel.com/repos/$(source /etc/os-release && echo $VERSION_CODENAME) isar main" | sudo tee /etc/apt/sources.list.d/eci.list
3 echo "deb-src [signed-by=/usr/share/keyrings/eci-archive-keyring.gpg] https://eci.intel.com/repos/$(source /etc/os-release && echo $VERSION_CODENAME) isar main" | sudo tee -a /etc/apt/sources.list.d/eci.list
4 sudo bash -c 'echo -e "Package: *\nPin: origin eci.intel.com\nPin-Priority: 1000" > /etc/apt/preferences.d/isar'
5 sudo bash -c 'echo -e "\nPackage: libflann*\nPin: version 1.19.*\nPin-Priority: -1\n\nPackage: flann*\nPin: version 1.19.*\nPin-Priority: -1" >> /etc/apt/preferences.d/isar'
6 sudo apt update
7 sudo apt install -y eci-customizations
8 sudo apt-get reinstall '(firmware-linux-nonfree|linux-firmware$)'
9 sudo apt install -y linux-intel-rt
10 sudo reboot
11 uname -a
.. ...
33 sudo apt install ighethercat ighethercat-dkms ighethercat-examples ecat-enablekit
34 history

 

my active kernel after installing eci-customizations and linux-intel-rt, and reboot:

gf@gf-cst-i5-2:~/ws/web-backend$ uname -a
Linux gf-cst-i5-2 5.15.129-rt67-intel-ese-standard-lts-rt+ #1 SMP PREEMPT_RT Fri Mar 29 22:51:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Labels (1)
0 Kudos
2 Replies
Iffa_Intel
Moderator
550 Views

Hi,


could you share the error that you encountered when installing too (which you mentioned)?

Perhaps this is related to your network, did you try to re-install using a different network?



Cordially,

Iffa


0 Kudos
Iffa_Intel
Moderator
472 Views

Hi,


Thank you for your question. If you need any additional information from Intel, please submit a new question as Intel is no longer monitoring this thread. 



Cordially,

Iffa


0 Kudos
Reply