New and Working RTAI debs for 2.9

More
2 years 3 months ago - 2 years 3 months ago #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: 2 years 3 months ago by Bari. Reason: fix typo, updates
The following user(s) said Thank You: tommylight, Aciera, NTULINUX, Cant do this anymore bye all, Mecanix, David-Diy

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

More
2 years 3 months ago #304609 by tommylight
The following user(s) said Thank You: Bari, NTULINUX

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

More
2 years 3 months ago - 2 years 3 months ago #304615 by Cant do this anymore bye all
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: 2 years 3 months ago by Cant do this anymore bye all.

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

More
2 years 3 months ago #304616 by Bari
I bow to the Great Cornholio!

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

More
2 years 3 months ago - 2 years 3 months ago #304627 by NTULINUX
This was the output I got from re-installing GRUB within an RTAI kernel:
Code:
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:
Code:
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: 2 years 3 months ago by NTULINUX.
The following user(s) said Thank You: Cant do this anymore bye all

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

More
2 years 3 months ago #304628 by Cant do this anymore bye all
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.

Time to create page: 0.074 seconds
Powered by Kunena Forum