Search Results (Searched for: )
- spumco
21 Jun 2026 17:48
Replied by spumco on topic Ethercat installation from repositories - how to step by step
Further terminal output after trying to re-install ethercat-master below:
mill@debian:~$ sudo apt-get install linuxcnc-ethercat ethercat-master
[sudo] password for mill:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linuxcnc-ethercat is already the newest version (1.41.1-3+deb13u1).
ethercat-master is already the newest version (1:1.6.9-2+deb13u1).
The following package was automatically installed and is no longer required:
libwoff1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.12.86+deb13-amd64 (6.12.86-1) ...
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/6.12.86+deb13-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module ethercat/1.6.9 for kernel 6.12.86+deb13-amd64 (x86_64)
Building module(s)...(bad exit status: 127)
Failed command:
./bootstrap && ./configure --with-linux-dir=/lib/modules/6.12.86+deb13-amd64/build --enable-generic --enable-8139too --enable-e100 --enable-e1000 --enable-e1000e --enable-r8169 --enable-igb --enable-igc --enable-genet --disable-stmmac-pci --disable-dwmac-intel --disable-ccat --disable-eoe --enable-cycles --enable-hrtimer --disable-rtdm --disable-debug-if --disable-debug-ring --disable-regalias --disable-tty --disable-wildcards --enable-sii-assign --enable-rt-syslog && make modules
Error! Bad return status for module build on kernel: 6.12.86+deb13-amd64 (x86_64)
Consult /var/lib/dkms/ethercat/1.6.9/build/make.log for more information.
Autoinstall on 6.12.86+deb13-amd64 succeeded for module(s) r8125.
Autoinstall on 6.12.86+deb13-amd64 failed for module(s) ethercat(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-6.12.86+deb13-amd64 (--configure):
installed linux-image-6.12.86+deb13-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-6.12.86+deb13-amd64:
linux-headers-6.12.86+deb13-amd64 depends on linux-image-6.12.86+deb13-amd64 (= 6.12.86-1) | linux-image-6.12.86+deb13-amd64-unsigned (= 6.12.86-1); however:
Package linux-image-6.12.86+deb13-amd64 is not configured yet.
Package linux-image-6.12.86+deb13-amd64-unsigned is not installed.
dpkg: error processing package linux-headers-6.12.86+deb13-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.12.86+deb13-amd64 (= 6.12.86-1); however:
Package linux-headers-6.12.86+deb13-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.12.86+deb13-amd64
linux-headers-6.12.86+deb13-amd64
linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
mill@debian:~$
Warning: Spoiler!
mill@debian:~$ sudo apt-get install linuxcnc-ethercat ethercat-master
[sudo] password for mill:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linuxcnc-ethercat is already the newest version (1.41.1-3+deb13u1).
ethercat-master is already the newest version (1:1.6.9-2+deb13u1).
The following package was automatically installed and is no longer required:
libwoff1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.12.86+deb13-amd64 (6.12.86-1) ...
/etc/kernel/postinst.d/dkms:
Sign command: /lib/modules/6.12.86+deb13-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module ethercat/1.6.9 for kernel 6.12.86+deb13-amd64 (x86_64)
Building module(s)...(bad exit status: 127)
Failed command:
./bootstrap && ./configure --with-linux-dir=/lib/modules/6.12.86+deb13-amd64/build --enable-generic --enable-8139too --enable-e100 --enable-e1000 --enable-e1000e --enable-r8169 --enable-igb --enable-igc --enable-genet --disable-stmmac-pci --disable-dwmac-intel --disable-ccat --disable-eoe --enable-cycles --enable-hrtimer --disable-rtdm --disable-debug-if --disable-debug-ring --disable-regalias --disable-tty --disable-wildcards --enable-sii-assign --enable-rt-syslog && make modules
Error! Bad return status for module build on kernel: 6.12.86+deb13-amd64 (x86_64)
Consult /var/lib/dkms/ethercat/1.6.9/build/make.log for more information.
Autoinstall on 6.12.86+deb13-amd64 succeeded for module(s) r8125.
Autoinstall on 6.12.86+deb13-amd64 failed for module(s) ethercat(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-6.12.86+deb13-amd64 (--configure):
installed linux-image-6.12.86+deb13-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-6.12.86+deb13-amd64:
linux-headers-6.12.86+deb13-amd64 depends on linux-image-6.12.86+deb13-amd64 (= 6.12.86-1) | linux-image-6.12.86+deb13-amd64-unsigned (= 6.12.86-1); however:
Package linux-image-6.12.86+deb13-amd64 is not configured yet.
Package linux-image-6.12.86+deb13-amd64-unsigned is not installed.
dpkg: error processing package linux-headers-6.12.86+deb13-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-6.12.86+deb13-amd64 (= 6.12.86-1); however:
Package linux-headers-6.12.86+deb13-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-6.12.86+deb13-amd64
linux-headers-6.12.86+deb13-amd64
linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
mill@debian:~$
- spumco
21 Jun 2026 17:44
Replied by spumco on topic Ethercat installation from repositories - how to step by step
[Forum/internet is being really unresponsive, bear with me]
Thanks gents for having a look. Here's the terminal outputs:
You need to use sudo for systemctl and journalctl. Can you redo and share?
mill@debian:~$ sudo systemctl status -q ethercat.service
× ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/ethercat.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sun 2026-06-21 13:00:19 EDT; 3min 25s ago
Invocation: bb278d36cbc64d1186f8e477d0791bc9
Process: 3561 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=1/FAILURE)
Main PID: 3561 (code=exited, status=1/FAILURE)
Mem peak: 1.7M
CPU: 38ms
Jun 21 13:00:19 debian systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
Jun 21 13:00:19 debian ethercatctl[3568]: modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.12.86+deb13-rt-amd64
Jun 21 13:00:19 debian systemd[1]: ethercat.service: Main process exited, code=exited, status=1/FAILURE
Jun 21 13:00:19 debian systemd[1]: ethercat.service: Failed with result 'exit-code'.
Jun 21 13:00:19 debian systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
mill@debian:~$ sudo systemctl start ethercat.service
Job for ethercat.service failed because the control process exited with error code.
See "systemctl status ethercat.service" and "journalctl -xeu ethercat.service" for details.
mill@debian:~$ sudo journalctl -xeu ethercat.service
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ The unit ethercat.service has entered the 'failed' state with result 'exit-code'.
Jun 21 13:00:19 debian systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
░░ Subject: A start job for unit ethercat.service has failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit ethercat.service has finished with a failure.
░░
░░ The job identifier is 3344 and the job result is failed.
Jun 21 13:03:54 debian systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
░░ Subject: A start job for unit ethercat.service has begun execution
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit ethercat.service has begun execution.
░░
░░ The job identifier is 3574.
Jun 21 13:03:54 debian ethercatctl[3652]: modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.12.86+deb13-rt-amd64
Jun 21 13:03:54 debian systemd[1]: ethercat.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ An ExecStart= process belonging to unit ethercat.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jun 21 13:03:54 debian systemd[1]: ethercat.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ The unit ethercat.service has entered the 'failed' state with result 'exit-code'.
Jun 21 13:03:54 debian systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
░░ Subject: A start job for unit ethercat.service has failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit ethercat.service has finished with a failure.
░░
░░ The job identifier is 3574 and the job result is failed.
Is your /etc/ethercat.conf properly set?
Yes. Added MAC addr for enp2s0 and "generic"
check the output of these command
So it looks like something didn't get installed properly despite just pasting the linuxcnc-ethercat apt stuff from GH instructions.
Thanks gents for having a look. Here's the terminal outputs:
You need to use sudo for systemctl and journalctl. Can you redo and share?
Warning: Spoiler!
mill@debian:~$ sudo systemctl status -q ethercat.service
× ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/ethercat.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sun 2026-06-21 13:00:19 EDT; 3min 25s ago
Invocation: bb278d36cbc64d1186f8e477d0791bc9
Process: 3561 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=1/FAILURE)
Main PID: 3561 (code=exited, status=1/FAILURE)
Mem peak: 1.7M
CPU: 38ms
Jun 21 13:00:19 debian systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
Jun 21 13:00:19 debian ethercatctl[3568]: modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.12.86+deb13-rt-amd64
Jun 21 13:00:19 debian systemd[1]: ethercat.service: Main process exited, code=exited, status=1/FAILURE
Jun 21 13:00:19 debian systemd[1]: ethercat.service: Failed with result 'exit-code'.
Jun 21 13:00:19 debian systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
mill@debian:~$ sudo systemctl start ethercat.service
Job for ethercat.service failed because the control process exited with error code.
See "systemctl status ethercat.service" and "journalctl -xeu ethercat.service" for details.
mill@debian:~$ sudo journalctl -xeu ethercat.service
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ The unit ethercat.service has entered the 'failed' state with result 'exit-code'.
Jun 21 13:00:19 debian systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
░░ Subject: A start job for unit ethercat.service has failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit ethercat.service has finished with a failure.
░░
░░ The job identifier is 3344 and the job result is failed.
Jun 21 13:03:54 debian systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
░░ Subject: A start job for unit ethercat.service has begun execution
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit ethercat.service has begun execution.
░░
░░ The job identifier is 3574.
Jun 21 13:03:54 debian ethercatctl[3652]: modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.12.86+deb13-rt-amd64
Jun 21 13:03:54 debian systemd[1]: ethercat.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ An ExecStart= process belonging to unit ethercat.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jun 21 13:03:54 debian systemd[1]: ethercat.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ The unit ethercat.service has entered the 'failed' state with result 'exit-code'.
Jun 21 13:03:54 debian systemd[1]: Failed to start ethercat.service - EtherCAT Master Kernel Modules.
░░ Subject: A start job for unit ethercat.service has failed
░░ Defined-By: systemd
░░ Support: www.debian.org/support
░░
░░ A start job for unit ethercat.service has finished with a failure.
░░
░░ The job identifier is 3574 and the job result is failed.
Is your /etc/ethercat.conf properly set?
Yes. Added MAC addr for enp2s0 and "generic"
check the output of these command
Code:
mill@debian:~$ sudo dkms status | grep -i ethercat
[sudo] password for mill:
ethercat/1.6.9: added
mill@debian:~$ uname -r
6.12.86+deb13-rt-amd64
mill@debian:~$ lsmod | grep ec_
typec_ucsi 69632 1 ucsi_acpi
typec 114688 1 typec_ucsi
roles 16384 1 typec_ucsi
usb_common 16384 3 xhci_hcd,usbcore,typec_ucsi
mill@debian:~$ sudo modprobe ec_master
modprobe: FATAL: Module ec_master not found in directory /lib/modules/6.12.86+deb13-rt-amd64
So it looks like something didn't get installed properly despite just pasting the linuxcnc-ethercat apt stuff from GH instructions.
- tommylight
-

21 Jun 2026 12:54
Replied by tommylight on topic Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.
Does the error trigger on pierce?
- tommylight
-

21 Jun 2026 12:50
Replied by tommylight on topic largest NC file
I am pretty sure i have used bigger than 20MB files, probably 55MB, but a bit fuzzy on that.
dmap2gcode that i use for engraving/scratching and laser, makes huge files.
dmap2gcode that i use for engraving/scratching and laser, makes huge files.
- lgrfbs
21 Jun 2026 12:39
Replied by lgrfbs on topic largest NC file
Sorry for the rambling post.Since I ended up with a huge NC file when I was CAM-processing a project, I got curious—how big do NC files have to be to be considered “big” for you guys?
- muddiver
21 Jun 2026 12:35
Replied by muddiver on topic Wechsel Mach3 auf Linux CNC bestehendes Handrad weiterverwendbar
Das klingt doch für den ersten Schuss schonmal gut!
Das Handrad ist über den LPT-Port für den Drehencoder, und über USB als "Tastatur" verbunden.
Hat mir da vielleicht jemand einen Link auf die Doku?
Ich würde gerne QT-Dragon ( also nicht axis ) als Oberfläche verwenden, aber das sollte da ja auch klappen.
Gruß, Thomas
Das Handrad ist über den LPT-Port für den Drehencoder, und über USB als "Tastatur" verbunden.
Hat mir da vielleicht jemand einen Link auf die Doku?
Ich würde gerne QT-Dragon ( also nicht axis ) als Oberfläche verwenden, aber das sollte da ja auch klappen.
Gruß, Thomas
- grandixximo
-

21 Jun 2026 12:15
Replied by grandixximo on topic Ethercat installation from repositories - how to step by step
check the output of these command
Is your /etc/ethercat.conf properly set?
Code:
systemctl status ethercat.service
sudo journalctl -xeu ethercat.service --no-pager
dkms status | grep -i ethercat # module built for running kernel?
uname -r # running kernel matches?
lsmod | grep ec_ # loaded?
sudo modprobe ec_master # manual load - shows real error
Is your /etc/ethercat.conf properly set?
- andrax
21 Jun 2026 11:27
Replied by andrax on topic Wechsel Mach3 auf Linux CNC bestehendes Handrad weiterverwendbar
Wenn sich dein Handrad als Tastatur einbinden lässt, sollte es über die Bearbeitung von axis.py möglich sein.
- muddiver
21 Jun 2026 10:53
Wechsel Mach3 auf Linux CNC bestehendes Handrad weiterverwendbar was created by muddiver
Hallo zusammen!!
ich wollte mich erstmal kurz vorstellen, ich heiße Thomas, kratze am 50er und hab damals 2006-2008 eine Wabeco F1210 auf CNC umgebaut. Von damals steht noch ein alter Pentium 4 mit Win XP und Mach3 als Steuerungsrechner rum.
Dass ich den USB-Smoothstepper nicht übernehmen kann ist mir bewußt, aber mein geliebtes Handrad von Einfach-CNC würde ich sehr gerne mitnehmen.
Ich hab mal ein Bild angehängt das zeigt um welches Handrad es geht.
Ich hab in der Doku auch gefunden welche Scancodes / Tastaturbefehle gesendet werden, und auf meinem Mintrechner mit "showkey -a" auch rausgefunden dass es soweit anzukommen scheint.Nun meine Frage an die Spezialisten, meint ihr ich kann das Kandrad in der HAL-Datei mit eurer Hilfe soweit einfügen dass es wieder funktioniert?
Danke euch schonmal, Gruß, Thomas
ich wollte mich erstmal kurz vorstellen, ich heiße Thomas, kratze am 50er und hab damals 2006-2008 eine Wabeco F1210 auf CNC umgebaut. Von damals steht noch ein alter Pentium 4 mit Win XP und Mach3 als Steuerungsrechner rum.
Dass ich den USB-Smoothstepper nicht übernehmen kann ist mir bewußt, aber mein geliebtes Handrad von Einfach-CNC würde ich sehr gerne mitnehmen.
Ich hab mal ein Bild angehängt das zeigt um welches Handrad es geht.
Ich hab in der Doku auch gefunden welche Scancodes / Tastaturbefehle gesendet werden, und auf meinem Mintrechner mit "showkey -a" auch rausgefunden dass es soweit anzukommen scheint.Nun meine Frage an die Spezialisten, meint ihr ich kann das Kandrad in der HAL-Datei mit eurer Hilfe soweit einfügen dass es wieder funktioniert?
Danke euch schonmal, Gruß, Thomas
- rodw
-

21 Jun 2026 10:29
Replied by rodw on topic largest NC file
from what I understand, that would likely run but the screen preview might have a big spasm!
- rodw
-

21 Jun 2026 10:21
Replied by rodw on topic Ethercat installation from repositories - how to step by step
I've never seen the sysv error before.
Odd others have got the new method working already.
You need to use sudo for systemctl and journalctl. Can you redo and share?
Odd others have got the new method working already.
You need to use sudo for systemctl and journalctl. Can you redo and share?
- rodw
-

21 Jun 2026 10:15
Replied by rodw on topic New builder hardware suggestions
I'm also in Queensland also (Brisbane). You can find my email address on my @MrRodW YouTube channel. You can use a parallel port breakout board.I bought 2 off Amazon for $20. I might have a THCAD which you can use with the encoder component to read torch voltage for THC. If you went with Mach3, you'd probably need to get a Proma THC or similar so it will get expensive quick too. The DM542's should be fine. Very hard to kill. Geckos are way overrated.Wow that just got expensive. This is a portable table, the cut dimensions are adjustable at the design stage and I am probably going to make mine 1000x800. The designer suggested a Nema 23 stepper kit with DM542 drivers and a Mach 3 controller from Aliexpress at about $235. I was hoping to use something like this probably with just a different break out board. Is this not possible? This is for hobby use and I am in QLD Australia if that makes any difference. This is also my first build, hopefully learn something and able to modify or make a MK2 at some stage.
- rodw
-

21 Jun 2026 10:04
Replied by rodw on topic Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.
At a guess, something has changed slightly with a home switch and its left triggered. Try editing your HOME_OFFSET on joint 1 in your ini file and make it a bit bigger, maybe by 0.5 to 1.0 mm. This should move the sensor away a bit more after homing. Ohh and check for anything loose.
- tuxcnc
21 Jun 2026 08:31
Fortunatelly this is possibility to bring it back to life.
I have developed the following procedure:
1. Disconnect the controller from the power supply.
2. Disconnect the programmer.
3. Short by jumper the BOOT_M0 pin with 3V3 (programming connector).
4. Turn on the 24V power supply and do not turn it off until the end.
5. Remove the jumper.
6 Connect the programmer (I use ST-Link, but others also work).
7. Run the script below:
8. If it doesn't work, keep trying until you succeed.
Replied by tuxcnc on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
The EC500 does not like programming and I have bricked two controllers some time ago.Hello, good afternoon. Could someone help me load the .bin firmware onto the EC500 RT1052? I've tried several programs and commands, but without success. I have the Chinese Stlink V2 and a Raspberry Pi Pico.
Fortunatelly this is possibility to bring it back to life.
I have developed the following procedure:
1. Disconnect the controller from the power supply.
2. Disconnect the programmer.
3. Short by jumper the BOOT_M0 pin with 3V3 (programming connector).
4. Turn on the 24V power supply and do not turn it off until the end.
5. Remove the jumper.
6 Connect the programmer (I use ST-Link, but others also work).
7. Run the script below:
Code:
#!/bin/bash
pyocd reset --target mimxrt1050_quadspi
pyocd erase --chip --target mimxrt1050_quadspi
pyocd reset --target mimxrt1050_quadspi
pyocd flash remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi
pyocd reset --target mimxrt1050_quadspi
- tuxcnc
21 Jun 2026 08:03
Replied by tuxcnc on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
In EC500 controller I have burned one output (
+ or
-) and can not drive one axis motor.
Which IC must I replace?
+ or
-) and can not drive one axis motor.Which IC must I replace?
Time to create page: 0.468 seconds