Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
25 Sep 2024 09:20 #310761
by bkt
Because unusable LMDE6 istallation (Lcnc work perfect no worry on these, but other app was unusable because some repo was unusable), I try bookworm ... so can choose defenitively if remain to old Mint19.3 or upgrade to new 6.1 kernel .... I use rodw script for kering (more easy for sure).... so:
1- I use bookworm mate 12.04
2- I discover wget is not install by default (strange is an usual bash lib)
3- sudo apt update // sudo apt upgrade // sudo apt install linuxcnc-uspace ... work like a charm ... perfect but install 2.9.0 so need to use script for add linuxcnc repo and upgrade version.
4- script work and Lcnc now is upgrade to 2.9.3 ... actually if use uname -a command I obtain these " Linux gc51-pc 6.1.0-25-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux "
5- try to install ethercat with sudo apt install linuxcnc-ethercat .... but fails ... unable to locate messages ... so I use other rodw script ..... et voilà ... al done .... BUT ... receive thee messages:
after try to activate ethercat (obviusly I change mac adress on usual file) .... but fails with these error:
So ask how can renew PUBKEY or how can solve these.
Thanks
1- I use bookworm mate 12.04
2- I discover wget is not install by default (strange is an usual bash lib)
3- sudo apt update // sudo apt upgrade // sudo apt install linuxcnc-uspace ... work like a charm ... perfect but install 2.9.0 so need to use script for add linuxcnc repo and upgrade version.
4- script work and Lcnc now is upgrade to 2.9.3 ... actually if use uname -a command I obtain these " Linux gc51-pc 6.1.0-25-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux "
5- try to install ethercat with sudo apt install linuxcnc-ethercat .... but fails ... unable to locate messages ... so I use other rodw script ..... et voilà ... al done .... BUT ... receive thee messages:
sudo apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55,4 kB]
Hit:4 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
Get:5 http://deb.debian.org/debian bookworm-backports InRelease [59,0 kB]
Get:6 http://deb.debian.org/debian bookworm-backports/main Sources.diff/Index [63,3 kB]
Get:7 http://deb.debian.org/debian bookworm-backports/main Translation-en.diff/Index [63,3 kB]
Get:8 http://deb.debian.org/debian bookworm-backports/main Sources T-2024-09-25-0804.34-F-2024-09-25-0804.34.pdiff [1.168 B]
Get:8 http://deb.debian.org/debian bookworm-backports/main Sources T-2024-09-25-0804.34-F-2024-09-25-0804.34.pdiff [1.168 B]
Get:9 http://deb.debian.org/debian bookworm-backports/main Translation-en T-2024-09-25-0804.34-F-2024-09-25-0804.34.pdiff [241 B]
Get:9 http://deb.debian.org/debian bookworm-backports/main Translation-en T-2024-09-25-0804.34-F-2024-09-25-0804.34.pdiff [241 B]
Hit:10 https://www.linuxcnc.org bookworm InRelease
Get:11 https://linuxcnc.org bookworm InRelease [31,1 kB]
Err:11 https://linuxcnc.org bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
Reading package lists... Done
W: Skipping acquire of configured file '2.9-rt/source/Sources' as repository 'https://www.linuxcnc.org bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)
W: GPG error: https://linuxcnc.org bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
E: The repository 'https://linuxcnc.org bookworm InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
after try to activate ethercat (obviusly I change mac adress on usual file) .... but fails with these error:
sudo systemctl status ethercat.service
× ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/lib/systemd/system/ethercat.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-09-25 10:35:27 CEST; 17min ago
Process: 663 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=1/FAILURE)
Main PID: 663 (code=exited, status=1/FAILURE)
CPU: 14ms
set 25 10:35:27 pc51 systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
set 25 10:35:27 pc51 ethercatctl[684]: modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
set 25 10:35:27 pc51 systemd[1]: ethercat.service: Main process exited, code=exited, status=1/FAILURE
set 25 10:35:27 pc51 systemd[1]: ethercat.service: Failed with result 'exit-code'.
set 25 10:35:27 pc51 systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
So ask how can renew PUBKEY or how can solve these.
Thanks
Please Log in or Create an account to join the conversation.
25 Sep 2024 09:52 #310762
by bkt
Replied by bkt on topic Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
Attachments:
Please Log in or Create an account to join the conversation.
25 Sep 2024 09:53 #310763
by jjdege
Replied by jjdege on topic Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
Hi
have you tried this?
have you tried this?
sudo mkdir -p /usr/local/share/keyrings/
wget -O- https://build.opensuse.org/projects/science:EtherLab/signing_keys/download?kind=gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/science_EtherLab.gpg
sudo tee -a /etc/apt/sources.list.d/ighvh.sources > /dev/null <<EOT
Types: deb
Signed-By: /etc/apt/trusted.gpg.d/science_EtherLab.gpg
Suites: ./
URIs: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/
EOT
sudo apt update
sudo apt install -y linux-headers-$(uname -r) ethercat-master linuxcnc-ethercat
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
25 Sep 2024 13:57 #310772
by bkt
Replied by bkt on topic Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
just some minute ago ... reading my notes about LMDE6. Ethercat work and modules too because etherlab repo ..... perhaps need to delete any previous ethercat key and gpg.
But remain these problem:
But remain these problem:
Err:11 https://linuxcnc.org bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
Reading package lists... Done
W: Skipping acquire of configured file '2.9-rt/source/Sources' as repository 'https://www.linuxcnc.org bookworm InRelease' does not seem to provide it (sources.list entry misspelt?)
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19304
- Thank you received: 6463
25 Sep 2024 14:56 #310778
by tommylight
Please Log in or Create an account to join the conversation.
25 Sep 2024 15:36 - 25 Sep 2024 15:40 #310783
by bkt
Replied by bkt on topic Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
sorry not understand .... you suggest to leave out "www.linuxcnc.org bookworm base 2.9-uspace" repo and add "buildbot" instead? After need to reinstall linuxcnc-ethercat think right?
Last edit: 25 Sep 2024 15:40 by bkt.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19304
- Thank you received: 6463
25 Sep 2024 15:55 #310787
by tommylight
You have not set the public key for the LinuxCNC repository, it is on the page i linked
Replied by tommylight on topic Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3CB9FD148F374FEF
Getting the archive signing key
To use these packages on your computer, first add the buildbot archive signing key to your apt keychain by running this command in a terminal:
sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key EF1B07FEE0EE663E
(Key fingerprint = 4FA2 D1ED 5B2F 38AB 01A4 AB7E EF1B 07FE E0EE 663E)
(An alternative keyserver is keyserver.ubuntu.com)
If you get an error like "GPG: keyserver receive failed: No dirmngr" then install the missing dirmngr package by entering the following in the terminal:
sudo apt-get install dirmngr
If you get an error downloading the key it may be caused by being behind a firewall or a proxy server. Retry by specifying port 80 rather than using the default port (11371):
sudo apt-key adv --keyserver hkp://keys.openpgp.org:80 --recv-key EF1B07FEE0EE663E
(An alternative keyserver is keyserver.ubuntu.com:80)
If you have successfully installed the key then close the terminal.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
08 Oct 2024 15:59 - 08 Oct 2024 16:00 #311584
by bkt
Replied by bkt on topic Module ec_master not found in directory /lib/modules/6.1.0-25-rt-amd64
these problem was solved with buildboot instructions for key
Last edit: 08 Oct 2024 16:00 by bkt.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.105 seconds