Kernel 6.12 with PREEMPT_RT patches enabled - yet POSIX non-realtime (LM22.1)

  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
More
30 Jan 2025 22:08 #320192 by Cant do this anymore bye all
It does make it somewhat confusing when there are still RT patches put up at kernel.org. I guess one would have to closely look into it and assess their usefulness in the context of Linuxcnc.

The sys patch is also included in the patchsets, so I guess that interface is used by projects\software other than Linuxcnc.

For anyone using the RPi images all that is used is the sys patch, not the full patchset. As per my kernel mentor royka.

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
31 Jan 2025 06:46 #320206 by rodw

 As per my kernel mentor royka.


He knows far more than me!

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

  • sajurcaju
  • Away
  • Premium Member
  • Premium Member
More
12 Feb 2025 18:54 #321367 by sajurcaju
I'm trying to put LinuxCNC on Mint 22.1. I followed Beef's directions here:
iamtherealbeef.com/content/linuxcnc-on-linuxmint-22/
It all went great (much thanks), but I have an error when I run linuxcnc. Debug file info:
Missing rtapi.conf. Check your installation.
49550

Help will be greatly appreciated!
Steve

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

  • sajurcaju
  • Away
  • Premium Member
  • Premium Member
More
12 Feb 2025 22:13 #321389 by sajurcaju
Hey, nevermind. I just found tommylight's explanation of installing on Mint Debian. This sounds much easier and more within my (lack of) Linux skills.
The following user(s) said Thank You: tommylight

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

More
13 Mar 2025 07:28 #323805 by hitchhiker
Hi Royka in the past you give me a link to a kernel.. the link no more work.. :( is there a new version of a kernel for the latest linuxcnc? i am on mesa.. rtpreempt 6.1.0-31.


the kernel you link me was :

royka post=299706 userid=31446
Which kernel do you run at Debian 10? "uname -a"
What is the result of "cat /proc/cmdline" on Debian 10 and 12?
What is the result of "cat /proc/interrupts" ?

This kernel I've compiled last week by the way (6.9.0-rc5):
drive.google.com/drive/folders/1L28lG0zD...2XQJx?usp=drive_link




can you please help me.. i make fresh install on the same machine and done everything but the kernel is needed to get it work perfect.... i see that the kernel which came with the latest linuxcnc iso doesnt work like my machine before...


thanks

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

More
13 Mar 2025 23:42 #323878 by royka
I don't run debian 10, but Bookworm and actually use a rk3588 sbc which works very reliable. But here is the 6.12 kernel for x86 I've used before: drive.google.com/drive/folders/16Xlry00L...SlwznPLv?usp=sharing

But you can also download some from Debian, 6.13:
packages.debian.org/experimental/amd64/l...13-rt-amd64/download

And others:
packages.debian.org/search?keywords=linux-image-rt
The following user(s) said Thank You: rodw

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
14 Mar 2025 07:17 #323893 by rodw
Royka,
I hope you don't mind  linking to your 6.12 kernel from my how to document
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing

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

More
14 Mar 2025 16:10 #323933 by royka

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

More
19 Mar 2025 13:10 #324292 by NTULINUX
Just so you guys know, I host my own 6.12 PREEMPT_RT sources with all the necessary real-time bits applied, including those for the i915 driver.

github.com/NTULINUX/linux

The 6.12 PREEMPT_RT kernel can lag behind so I manually update my sources to the latest 6.12 mainline kernel more often. My tree also allows building with the -O3 flag (compiler optimization flag) to speed up context switching, a typical culprit for latency spikes.

Just be sure you use the ntulinux/6.12.y-rt branch.

Cheers!
The following user(s) said Thank You: tommylight

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

Time to create page: 0.145 seconds
Powered by Kunena Forum