problem with running ethercat

More
27 Aug 2024 09:32 #308781 by Abdulkareem
hello guys,
i get this error when i try to run these commands
(venv) abdulkareem@debian:~$ ethercat slaves
Failed to obtain number of masters: ioctl() version magic is differing: /dev/EtherCAT0: 37, ethercat tool: 33
A probable reason is that the command-line tool
you are using is built with a different
source code version than the currently loaded
kernel module. Please install an updated version
of either the tool (ethercat) or the kernel
module (ec_master.ko).

when i try to update i found also this error which i think it may cause the above error

(venv) abdulkareem@debian:~$ sudo apt-get update
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project
W: Skipping acquire of configured file '2.9-rt/source/Sources' as repository 'www.linuxcnc.org bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)
W: Failed to fetch download.opensuse.org/repositories/scien...ebian_12/./InRelease  The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project

can anyone help me with this error ??

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

More
27 Aug 2024 14:11 #308808 by scottlaird
The problem with `ethercat slaves` is presumably because your kernel is running a different version of the EtherCAT code than the one that the `ethercat` command-line tool expects. If you'd recently installed an update without rebooting, then I'd expect to see the kernel version lower than the command-line version, but that's not what I see here. So that's kind of odd. The best fix would be to update and reboot. But...

IIRC they recently changed the keys for the OpenSUSE build server. I *think* the instructions in forum.linuxcnc.org/ethercat/45336-etherc...ep-by-step?start=290 should fix this. Try that, and if it runs successfully then reboot and see if everything works?

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

More
27 Aug 2024 21:22 #308853 by rodw
Replied by rodw on topic problem with running ethercat
Seems like you are running a python virtual environment. Not sure that is an issue, but Try after exiting it.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum