Hello everyone,
I'm having some latency issues on my EC500 freshly flashed with remora-rt1052-3.1.3.bin
Thanks to ColdTurkey's tutorial, I got it working (skipping the optional step #2 "Upgrade Kernel to 6.3RT" and #3 "FOR REALTEK NIC ETHERNET LATENCY ISSUES"), the led turns on when I get LCNC out of Estop.
Though, when I start linuxcnc, I get an error: "Unexpected realtime delay on task 0 with period 1000000" (config: remora-rt1052-basic).
Obviously, I though that skipping step #3 was a stupid mistake, so I followed through:
- Running sudo ethtool -i indicates a mismatched between the driver (r8169) and the firmware-version (rtl8168g-2_0.0.1 02/06./13)
- The next step was to run sudo geany /etc/sources.list but the file was empty so I ran sudo geany /etc/apt/sources.list instead and commented out the first line (deb cdrom:[Debian GNU/Linux 12_Bookworm...)
- I got to the next step and figured I'd run sudo apt-get install r8168-dkms like the example because there wasn't a packaged named rtl8168g.
- Then, I ran sudo ethtool -i again and found out that the driver did in fact changed to r8168 but the firmware-version line was now unexpectedly empty.
To make sure everything was fine, I ran "sudo dmesg | grep r8168" and got this:
Code:
[ 1.033714] r8168: loading out-of-tree module taints kernel.
[ 1.034002] r8168: module verification failed: signature and/or required key missing - tainting kernel
[ 1.048699] r8168 Gigabit Ethernet driver 8.051.02-NAPI loaded
[ 1.064274] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 1.066307] r8168 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 1.094005] r8168 0000:02:00.0 enp2s0: renamed from eth0
[ 6.743754] r8168: enp2s0: link up
Still, following these steps didn't fix the latency error message.
Rebooting doesn't seem to help, as a newbie, I'm clueless haha !
Also, I should mention that running apt get update gives many errors:
Code:
Ign:1 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm InRelease
Err:2 cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://deb.debian.org/debian bookworm InRelease
Get:4 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:5 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:6 https://www.linuxcnc.org bookworm InRelease
Get:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease [1,575 B]
Err:8 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
Hit:7 https://repository.qtpyvcp.com/apt develop InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 12 _Bookworm_ - Snapshot amd64 LIVE/INSTALL Binary 20240721-21:05] bookworm Release' does not have a Release file.
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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease: The following signatures were invalid: EXPKEYSIG A94819A7CB97A204 science:EtherLab OBS Project <science:EtherLab@build.opensuse.org>
Thanks you for your help !