Debian 12 RTAI

More
29 Jun 2024 17:38 #304041 by andypugh
Replied by andypugh on topic Debian 12 RTAI
Actually, it seems to be claiming that libtcl is segfaulting? That seems strange.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
29 Jun 2024 18:29 #304046 by JT
Replied by JT on topic Debian 12 RTAI
john@rtai:~$ uname -a
Linux rtai 5.4.258-rtai-amd64 #2 SMP Thu Oct 19 11:54:56 BST 2023 x86_64 GNU/Linux

JT

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

More
04 Jul 2024 19:08 - 04 Jul 2024 20:12 #304415 by NTULINUX
Replied by NTULINUX on topic Debian 12 RTAI
Whenever I see:

CANNOT FIND MAILBOX

This is because the RTAI kernel image and the modules are not built against each other. The RTAI modules package must be built against the RTAI kernel you wish to use. If you mix and match, you will run into problems.

If TCL/Tk is seg faulting, I have no idea but it's unrelated to RTAI.

LinuxCNC also needs to be built against the same RTAI modules and kernel packages as well otherwise you'll have problems either building or loading LinuxCNC's kernel modules as well. When you see "CANNOT FIND MAILBOX" please post `dmesg` so I can see what's going on.

edit: It is confirmed that there's a mismatch between the kernel image and the rtai-modules package. JT, you're not doing anything wrong from what I see, the debs are just bugged and need a rebuild against the kernel (rtai-modules and linuxcnc)

Andy, please use the latest checkout of my master branch. It has the GNU11 stuff and the musl math library is moved into kbuild as well.

Cheers!

Alec
Last edit: 04 Jul 2024 20:12 by NTULINUX. Reason: more info
The following user(s) said Thank You: JT

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

More
04 Jul 2024 20:45 #304427 by cornholio
Replied by cornholio on topic Debian 12 RTAI
I run modinfo on the linuxcnc modules and it reported the modules matched the kernel. Is this naive of me expecting this to be correct ?
Output of the command is on the first page of this thread.

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

More
04 Jul 2024 21:07 #304428 by NTULINUX
Replied by NTULINUX on topic Debian 12 RTAI
modinfo just checks against the kernel version, the rtai-modules package do not match the kernel image package so the linuxcnc debs are inherently broken too.
The following user(s) said Thank You: JT

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

More
07 Jul 2024 20:19 #304601 by Bari
Replied by Bari on topic Debian 12 RTAI
The following user(s) said Thank You: JT, NickH

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

More
10 Jul 2024 10:04 #304795 by NickH
Replied by NickH on topic Debian 12 RTAI
Successful install here Bari. Now to get Ethercat working.

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

More
10 Jul 2024 21:28 #304847 by rodw
Replied by rodw on topic Debian 12 RTAI

Successful install here Bari. Now to get Ethercat working.

From memory PREMPT_RT is a prerequisite for ethercat. In any case without a base thread with ethercat, there is not really a case for RTAI so it should not be an issue.

I have some tricks here to manage latency docs.google.com/document/d/1jeV_4VKzVmOI.../edit?usp=drive_link
 

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

Time to create page: 0.261 seconds
Powered by Kunena Forum