Debian 12 RTAI
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.
29 Jun 2024 18:27 #304044
by JT
Replied by JT on topic Debian 12 RTAI
downloaded
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
www.linuxcnc.org/dists/bookworm/2.9-rt/b...xcnc_2.9.2_amd64.deb
installed in this order
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
reboot and select rtai kernel
installed
www.linuxcnc.org/dists/bookworm/2.9-rt/b...xcnc_2.9.2_amd64.deb
Start LinuxCNC and select the Axis sim and the config loader freezes up. Pressing Cancel or the X does nothing but the max/min buttons work.
JT
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
www.linuxcnc.org/dists/bookworm/2.9-rt/b...xcnc_2.9.2_amd64.deb
installed in this order
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
reboot and select rtai kernel
installed
www.linuxcnc.org/dists/bookworm/2.9-rt/b...xcnc_2.9.2_amd64.deb
Start LinuxCNC and select the Axis sim and the config loader freezes up. Pressing Cancel or the X does nothing but the max/min buttons work.
JT
Please Log in or Create an account to join the conversation.
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
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.
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
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.
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.
Output of the command is on the first page of this thread.
Please Log in or Create an account to join the conversation.
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.
07 Jul 2024 20:19 #304601
by Bari
Replied by Bari on topic Debian 12 RTAI
forum.linuxcnc.org/9-installing-linuxcnc...ng-rtai-debs-for-2-9 new RTAI debs here with instructions
Please Log in or Create an account to join the conversation.
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.
10 Jul 2024 21:28 #304847
by rodw
I have some tricks here to manage latency docs.google.com/document/d/1jeV_4VKzVmOI.../edit?usp=drive_link
Replied by rodw on topic Debian 12 RTAI
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.Successful install here Bari. Now to get Ethercat working.
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.076 seconds