- Posts: 49
- Thank you received: 5
Using POSIX realtime
1 year 5 months ago #327684
by Roger S
Replied by Roger S on topic Using POSIX realtime
I performed the installation according to the instructions from rodw
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
Please Log in or Create an account to join the conversation.
1 year 5 months ago #327691
by Hakan
Replied by Hakan on topic Using POSIX realtime
Search for the ec_generic.so files like I did.
Please Log in or Create an account to join the conversation.
1 year 5 months ago #327949
by Roger S
Replied by Roger S on topic Using POSIX realtime
this is the result:
35375 20 -rw-r--r-- 1 root root 20333 Mai 5 16:57 /usr/lib/modules/6.1.0-34-rt-amd64/updates/dkms/ec_generic.ko
7093046 20 -rw-r--r-- 1 root root 20333 Mai 5 16:55 /usr/lib/modules/6.1.0-30-rt-amd64/updates/dkms/ec_generic.ko
526822 20 -rw-r--r-- 1 root root 20333 Mai 5 16:57 /var/lib/dkms/ethercat-dkms/1.6.4/6.1.0-34-rt-amd64/x86_64/module/ec_generic.ko
526812 20 -rw-r--r-- 1 root root 20333 Mai 5 16:55 /var/lib/dkms/ethercat-dkms/1.6.4/6.1.0-30-rt-amd64/x86_64/module/ec_generic.ko
35375 20 -rw-r--r-- 1 root root 20333 Mai 5 16:57 /usr/lib/modules/6.1.0-34-rt-amd64/updates/dkms/ec_generic.ko
7093046 20 -rw-r--r-- 1 root root 20333 Mai 5 16:55 /usr/lib/modules/6.1.0-30-rt-amd64/updates/dkms/ec_generic.ko
526822 20 -rw-r--r-- 1 root root 20333 Mai 5 16:57 /var/lib/dkms/ethercat-dkms/1.6.4/6.1.0-34-rt-amd64/x86_64/module/ec_generic.ko
526812 20 -rw-r--r-- 1 root root 20333 Mai 5 16:55 /var/lib/dkms/ethercat-dkms/1.6.4/6.1.0-30-rt-amd64/x86_64/module/ec_generic.ko
Please Log in or Create an account to join the conversation.
1 year 5 months ago - 1 year 5 months ago #327980
by Hakan
Replied by Hakan on topic Using POSIX realtime
I guess you installed ethercat-dkms, the modules seem to be generated a couple of days ago.
It works now?
If it doesn't I would say to reinstall ethercat master and the drivers
and make sure that the rather lengthy part where the modules are being built for the kernel succeeds.
It works now?
If it doesn't I would say to reinstall ethercat master and the drivers
Code:
sudo apt remove ethercat-master ethercat-dkms
sudo apt install ethercat-master ethercat-dkms
# edit /etc/ethercat.conf again
Last edit: 1 year 5 months ago by Hakan.
Please Log in or Create an account to join the conversation.
1 year 5 months ago #328022
by Roger S
Replied by Roger S on topic Using POSIX realtime
Unfortunately, it still doesn't work. I've since reinstalled the system, but there's no improvement. I don't understand it. The system worked before the reinstallation. I performed the installation according to the instructions. Anything else isn't possible for me anyway, as I'm just a user and don't know enough to try anything myself.
[ 100.533257] EtherCAT: Master module cleaned up.
[ 101.670667] EtherCAT: Master driver 1.6.4 1.6.4.g703b611-1+17.1
[ 101.670804] EtherCAT: 1 master waiting for devices.
Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: 80:ee:73:fd:0f:8b (waiting...)
Link: DOWN
the only thing I noticed:
8.198677] ec_master: module verification failed: signature and/or required key missing - tainting kernel
[ 100.533257] EtherCAT: Master module cleaned up.
[ 101.670667] EtherCAT: Master driver 1.6.4 1.6.4.g703b611-1+17.1
[ 101.670804] EtherCAT: 1 master waiting for devices.
Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: 80:ee:73:fd:0f:8b (waiting...)
Link: DOWN
the only thing I noticed:
8.198677] ec_master: module verification failed: signature and/or required key missing - tainting kernel
Please Log in or Create an account to join the conversation.
1 year 5 months ago - 1 year 5 months ago #328025
by Hakan
Replied by Hakan on topic Using POSIX realtime
There is something odd with your installation.
I just tried myself to "apt remove ethercat-master ethercat-dkms" followed by "apt install ethercat-master ethercat-dkms" and it worked just fine.
I do not get the "tainted kernel" message.
Can it be that you have compiled the ethercat master yourself at one point? And that the runnning ethercat master is looking for ec_generic in a place where it isn't?
It's a bit of guesswork and searching now.
Can you the command "sudo service ethercat status" and compare the ouput with mine?
Edit. Can you also repeat the search for ec_generic, but this time search for ec_master, in the same way?
Edit 2. No need to search. Instead show the output of the command "sudo modinfo ec_master", especially the first filename line.
I just tried myself to "apt remove ethercat-master ethercat-dkms" followed by "apt install ethercat-master ethercat-dkms" and it worked just fine.
I do not get the "tainted kernel" message.
Can it be that you have compiled the ethercat master yourself at one point? And that the runnning ethercat master is looking for ec_generic in a place where it isn't?
It's a bit of guesswork and searching now.
Can you the command "sudo service ethercat status" and compare the ouput with mine?
Code:
debian@plasma:~$ sudo service ethercat status
● ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/lib/systemd/system/ethercat.service; enabled; preset: enabled)
Active: active (exited) since Thu 2025-05-08 20:32:57 CEST; 7min ago
Process: 78578 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)
Main PID: 78578 (code=exited, status=0/SUCCESS)
CPU: 25ms
maj 08 20:32:57 plasma systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
maj 08 20:32:57 plasma systemd[1]: Finished ethercat.service - EtherCAT Master Kernel Modules.
Edit. Can you also repeat the search for ec_generic, but this time search for ec_master, in the same way?
Edit 2. No need to search. Instead show the output of the command "sudo modinfo ec_master", especially the first filename line.
Last edit: 1 year 5 months ago by Hakan. Reason: Ask to search for ec_master
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds