LinuxCNC 2.98 - Ethercat - ProbeBasic

  • miniwini
  • miniwini's Avatar Topic Author
  • Away
  • New Member
  • New Member
More
18 Mar 2026 15:27 - 18 Mar 2026 15:31 #344466 by miniwini
LinuxCNC 2.98 - Ethercat - ProbeBasic was created by miniwini
Hi there!

my Raspberry Pi5 died so i needed to setup thing new, but I can´t get it working anymore. It worked before... 

I have two Ethercat modules which need "speical care"
1. its the external "EP1809-0021" this is identical to the EL1809, so just replicating the last line in the el1xxx.c with the correct PID, works
2. the EL2564, this is a dedicated "driver" which is copied into the linuxcnc-ethercat/src/devices which gets compiled, works... 

LinuxCNC runs in the SIM Modes... also with ProbeBasic
EtherCat works - ethercat master and slave commands...
but LinuxCNC with ProbeBasic and Ethercat doesn´t want to start.
LinuxCNC Ethercat crashed with signal 11
-- STACK TRACE START
0    /usr/lib/linuxcnc/modules/lcec.so(+0xfcbc) [0x7f72cb8f3cbc]
1    /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7f72cc759050]
2    /lib/x86_64-linux-gnu/libethercat.so.1(ecrt_slave_config_pdos+0x2f) [0x7f72cb8b652f]
3    /usr/lib/linuxcnc/modules/lcec.so(rtapi_app_main+0x40a) [0x7f72cb8f4f68]
4    /usr/bin/rtapi_app(+0xbd67) [0x558070fe7d67]
5    /usr/bin/rtapi_app(+0xc6be) [0x558070fe86be]
6    /usr/bin/rtapi_app(+0xccbc) [0x558070fe8cbc]
7    /usr/bin/rtapi_app(+0x7a04) [0x558070fe3a04]
8    /usr/bin/rtapi_app(main+0x70f) [0x558070fe348f]
9    /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f72cc74424a]
10    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f72cc744305]
11    /usr/bin/rtapi_app(_start+0x21) [0x558070fe38f1]
-- STACK TRACE END

twopass: load_the_modules cmd=<orig_loadrt lcec>
waitpid failed /usr/bin/rtapi_app lcec
/usr/bin/rtapi_app exited without becoming ready
insmod for lcec failed, returned -1

Here you can see my terminal-log when starting LinuxCNC
 

File Attachment:

File Name: message.txt
File Size:6 KB

here you see my Ethercat terminal Outputs...
cnc@linuxcnc:~$ ethercat slaves
 0  0:0   PREOP  +  EK1100 EtherCAT Coupler (2A E-Bus)
 1  0:1   PREOP  +  EL1018 8K. Dig. Eingang 24V, 10�s
 2  0:2   PREOP  +  EL1018 8K. Dig. Eingang 24V, 10�s
 3  0:3   PREOP  +  EL2024 4K. Dig. Ausgang 24V, 2A
 4  0:4   PREOP  +  EL2024 4Ch. Dig. Output 24V, 2A
 5  0:5   PREOP  +  EL2008 8K. Dig. Ausgang 24V, 0.5A
 6  0:6   PREOP  +  EL2008 8K. Dig. Ausgang 24V, 0.5A
 7  0:7   PREOP  +  EL2034 4K. Dig. Ausgang 24V, 2A, Diagnose
 8  0:8   PREOP  +  EL2809 16K. Dig. Ausgang 24V, 0.5A
 9  0:9   PREOP  +  EL2809 16K. Dig. Ausgang 24V, 0.5A
10  0:10  PREOP  +  EL2809 16K. Dig. Ausgang 24V, 0.5A
11  0:11  PREOP  +  EL1819 16K. Dig. Eingang 24V, 10�s
12  0:12  PREOP  +  EL1819 16K. Dig. Eingang 24V, 10�s
13  0:13  PREOP  +  EL2564-0010 4 K. LED-Ausgang, 8...48 V DC, 3 A, RGBW, Common Ca
14  0:14  PREOP  +  EL3202 2K.Ana. Eingang PT100 (RTD)
15  0:15  PREOP  +  EL3014 4K. Ana. Eingang 0-20mA DIFF
16  0:16  PREOP  +  EL3052 2Ch. Ana. Input 4-20mA
17  0:17  PREOP  +  EK1122-0008 2-Port EtherCAT-Abzweig M8
18  0:18  PREOP  +  EP1018-0001 8 K. Dig. Eingang 24V, 10�s, M8
cnc@linuxcnc:~$ 

the EP1809 wasn´t connected...

so what can it be? I followed the "EtherCat installation from repositories" from Rod... i tried multiple images, 2.94~2.98 on Bookworm and Trixie... 

thank you

miniwini
Attachments:
Last edit: 18 Mar 2026 15:31 by miniwini.

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

More
18 Mar 2026 18:23 #344479 by 0x2102
Replied by 0x2102 on topic LinuxCNC 2.98 - Ethercat - ProbeBasic
I had a similar issue. Was running an older linuxcnc-ethercat version - which worked well but when I went to the latest version to address the "random jitter" issue it crashed with signal 11.

forum.linuxcnc.org/ethercat/58103-etherc...-fix?start=60#344310

Try grandixximo's linuxcnc-ethercat repo - which has the "jitter fix" and the "zero-initialized" fix.

Make your custom mods and compile:

github.com/grandixximo/linuxcnc-ethercat
The following user(s) said Thank You: miniwini

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

  • miniwini
  • miniwini's Avatar Topic Author
  • Away
  • New Member
  • New Member
More
18 Mar 2026 20:01 #344486 by miniwini
Replied by miniwini on topic LinuxCNC 2.98 - Ethercat - ProbeBasic



thank you for this very helpfull hint!! it´s back online!!

the grandixximo repo did it!

cheers

miniwini

 
Attachments:

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

Time to create page: 0.127 seconds
Powered by Kunena Forum