New and Working RTAI debs for 2.9

More
07 Jul 2024 20:11 - 10 Jul 2024 03:41 #304599 by Bari
onelaboratories.us/rtai_lcnc/    5.4.258 matching RTAI kernel and LCNC debs
onelaboratories.us/abc/  5.4.279 matching RTAI kernel and LCNC debs

Don't mix up debs from each of these with each other or with other RTAI packages.
RTAI debs have to built as matched sets.

NO MIX AND MATCH!!

To install from a fresh Debian 12 with NO LCNC installed yet, just use: sudo dpkg -i (package name here without brackets)  for each deb and reboot. Choose the RTAI kernel in Grub, enjoy.

To install on Debian 12 with linuxcnc-uspace already installed use : sudo apt purge linuxcnc*  and wait for apt to completely remove every trace of LCNC.
Then follow the instructions for a fresh Debian 12 install above.
Last edit: 10 Jul 2024 03:41 by Bari. Reason: fix typo
The following user(s) said Thank You: tommylight, Aciera, NTULINUX, cornholio, Mecanix

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

More
07 Jul 2024 20:58 #304609 by tommylight
Pinned.
Thank you.
The following user(s) said Thank You: Bari, NTULINUX

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

More
08 Jul 2024 00:03 - 08 Jul 2024 00:18 #304615 by cornholio
A Tip of the Hat to you.

Is there any issue with using the RTAI kernel on installations that boot via urging as opposed to BIOS or so called Legacy ?

I was just thinking of GRUB, but I guess grub initially gets installed with a kernel that mounts efivars and after that it’s plain sailing. Would there be an issue if Debian decides to update grub package and that update is done on a system that boots via uefi?
Would pinning the grub package to not update prove beneficial ?

Or have I put my foot in my mouth ?
Last edit: 08 Jul 2024 00:18 by cornholio.

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

More
08 Jul 2024 00:16 #304616 by Bari
I bow to the Great Cornholio!

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

More
08 Jul 2024 03:38 - 08 Jul 2024 03:44 #304627 by NTULINUX
This was the output I got from re-installing GRUB within an RTAI kernel:
Summary:
 Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 0
 Download size: 45.9 kB
 Space needed: 0 B / 113 GB available

Get:1 http://deb.debian.org/debian sid/main amd64 grub-efi-amd64 amd64 2.12-2 [45.9 kB]
Preconfiguring packages ...
Fetched 45.9 kB in 0s (382 kB/s)
(Reading database ... 414003 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.12-2_amd64.deb ...
Unpacking grub-efi-amd64 (2.12-2) over (2.12-2) ...
Setting up grub-efi-amd64 (2.12-2) ...
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.9.7-amd64
Found initrd image: /boot/initrd.img-6.9.7-amd64
Found linux image: /boot/vmlinuz-5.4.278-rtai-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Debian GNU/Linux trixie/sid on /dev/nvme0n1p6
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for shim-signed:amd64 (1.44+15.8-1) ...
When you see:
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.

This is because EFI support is disabled in the RTAI kernel. Latency spikes may happen when it's enabled so I have it forcibly disabled through Kconfig, so you won't be able to modify the boot order through efibootmgr or delete/create entries.

/boot/grub/grub.cfg still updates just fine though and that's the main thing. If you want to modify EFI boot parameters you'll need to reboot into a Debian kernel and do it then.

I'm using a local branch of RTAI which has the kernel updated to 5.4.278, I can't test my changes because the laptop I'm currently using throws kernel panics whenever RTAI loads so I won't push until I can verify my changes are OK.
Last edit: 08 Jul 2024 03:44 by NTULINUX.
The following user(s) said Thank You: cornholio

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

More
08 Jul 2024 04:12 #304628 by cornholio
Cool, it wasn't an issue for myself but I thought it might be worth mentioning. At least if a user does have this issue they can be sent to your above post.
The following user(s) said Thank You: NTULINUX

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

More
08 Jul 2024 10:17 #304654 by Mecanix
Thanks to you, Andy, NTULinux and everyone for keeping RTAI alive. It's a great controller, I use it weekly.

How does this version compare to the previous Dec 2023 RTAI release? Out of curiosity, does it also include the latest bug fixes?

My installation (Dec 2023) seems to be relatively stable, apart from some insignificant and easy-to-manage glitches, should one upgrade to this fresh build version?
The following user(s) said Thank You: NTULINUX

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

More
08 Jul 2024 12:53 - 08 Jul 2024 15:06 #304661 by NTULINUX
The LinuxCNC debs are the latest git checkout of the 2.9 branch as of a few days ago with some minor modifications. :)

List of changes:

github.com/NTULINUX/linuxcnc-rtai/commits/ntulinux/2.9-rtai/

Hey, I just wanted to say thanks to everyone testing these out and being part of the RTAI project. I spent a lot of time on RTAI and making improvements over the years and it's great to see that it's still very much alive and kicking in LinuxCNC.
Last edit: 08 Jul 2024 15:06 by NTULINUX.
The following user(s) said Thank You: tlightus, tommylight, pommen, Mecanix

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

More
08 Jul 2024 16:01 #304673 by JT
Tom on the IRC had some issues running LinuxCNC until he isolcpus, I just installed Debian 12 then the debs and used grub customizer to add the isolcpu and everything seems to work well. Latency is insane low!

JT

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

More
08 Jul 2024 16:09 #304676 by NTULINUX
Can I see the error messages Tom was running into or whatever the issue was? Any kind of trace or something?

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

Time to create page: 0.097 seconds
Powered by Kunena Forum