Real-time kerel not detected on patched 6.12
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
09 Jan 2025 01:33 #318485
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Real-time kerel not detected on patched 6.12
Does this patch allow you to select fully preemptible kernel, when configuring the kernel ?
From my experience building with the mainline rt "patch" it was required to edit kconfig under arch. Otherwise there were only 3 options for RT kernel, which didn't include the fully preemptible option.
From my experience building with the mainline rt "patch" it was required to edit kconfig under arch. Otherwise there were only 3 options for RT kernel, which didn't include the fully preemptible option.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 366
- Thank you received: 126
09 Jan 2025 14:19 #318543
by royka
Replied by royka on topic Real-time kerel not detected on patched 6.12
From 6.12 you don't need to apply a patch to build fully preemptible anymore. The patch only puts pack the indicator "/sys/kernel/realtime" which LinuxCNC checks to see if the kernel is real time. It might be that you need to enable EXPERT in the menuconfig to make the fully preemptible option visible, but no need to edit the kconfigDoes this patch allow you to select fully preemptible kernel, when configuring the kernel ?
From my experience building with the mainline rt "patch" it was required to edit kconfig under arch. Otherwise there were only 3 options for RT kernel, which didn't include the fully preemptible option.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
09 Jan 2025 19:44 #318568
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Real-time kerel not detected on patched 6.12
I see a lot of talk regarding enabling expert, that’s a sub menu with quite a few options, non relating to enabling a fully preemptible kernel.
The mod to the kconfig is a switch, as far as I can see, that the platform is RT capable.
The mod to the kconfig is a switch, as far as I can see, that the platform is RT capable.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
09 Jan 2025 20:16 #318571
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Real-time kerel not detected on patched 6.12
OK,
There still seems to be patches required for RT.
One does include the above mentioned patch and the other does touch on what I mentioned but this depends of KVM being disabled.
So I would guess that the patches here:
www.kernel.org/pub/linux/kernel/projects/rt/6.12/
Would be correct for 6.12.8 ?
Which include the patch that allows Linuxcnc to detect a RT kernel and also allows the selection of a fully preemtible kernel.
There still seems to be patches required for RT.
One does include the above mentioned patch and the other does touch on what I mentioned but this depends of KVM being disabled.
So I would guess that the patches here:
www.kernel.org/pub/linux/kernel/projects/rt/6.12/
Would be correct for 6.12.8 ?
Which include the patch that allows Linuxcnc to detect a RT kernel and also allows the selection of a fully preemtible kernel.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 366
- Thank you received: 126
09 Jan 2025 22:10 #318581
by royka
As you can see in my previous post, I built the kernel without additional patches besides the one that adds the rt indicator and didn't need to edit the kconfig.
About preempt_rt:
Replied by royka on topic Real-time kerel not detected on patched 6.12
I see a lot of talk regarding enabling expert, that’s a sub menu with quite a few options, non relating to enabling a fully preemptible kernel.
The mod to the kconfig is a switch, as far as I can see, that the platform is RT capable.
As you can see in my previous post, I built the kernel without additional patches besides the one that adds the rt indicator and didn't need to edit the kconfig.
About preempt_rt:
Attachments:
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
09 Jan 2025 22:40 #318583
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Real-time kerel not detected on patched 6.12
Are we talking arm or amd64 ?
I'm talking about RPi platform.
I'm talking about RPi platform.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 366
- Thank you received: 126
09 Jan 2025 23:07 - 09 Jan 2025 23:32 #318584
by royka
Replied by royka on topic Real-time kerel not detected on patched 6.12
ARM64 but the same applies for AMD64
Tip, in menuconfig press the "/" key and you can search for the option you need, to see the location, but also the dependings.
Edit: I think you're right about the kconfig edit to add rt support for arm, probably I used an old config as template where the ARCH_SUPPORTS_RT=y was already in. Still "Expert=y" also needs to be selected
Tip, in menuconfig press the "/" key and you can search for the option you need, to see the location, but also the dependings.
Edit: I think you're right about the kconfig edit to add rt support for arm, probably I used an old config as template where the ARCH_SUPPORTS_RT=y was already in. Still "Expert=y" also needs to be selected
Last edit: 09 Jan 2025 23:32 by royka.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
09 Jan 2025 23:30 - 09 Jan 2025 23:36 #318585
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Real-time kerel not detected on patched 6.12
Yeah I know that,but a good tip anyhow, I built my first kernel on a 486......pre 2000 lol
Having a look at the RT patches for 6.12 there's a bit of extra stuff for arm/arm64, the patch code you've referenced is included is included as well.
ATM I'm running thru rod's image builder to see if it all comes good.
Seems like "real time" being included in the mainline kernel, as reported by tech blogs isn't the full story, seems there is some patching required, otherwise I guess the patches wouldn't be up.
I feel it's getting a bit confuddling when you start to dig deeper and actually build a kernel.
Sorry to keep banging on about this.
It's kind of doubly confusing at my end, as I'm not really sure this whole cnc thing is for me.
Having a look at the RT patches for 6.12 there's a bit of extra stuff for arm/arm64, the patch code you've referenced is included is included as well.
ATM I'm running thru rod's image builder to see if it all comes good.
Seems like "real time" being included in the mainline kernel, as reported by tech blogs isn't the full story, seems there is some patching required, otherwise I guess the patches wouldn't be up.
I feel it's getting a bit confuddling when you start to dig deeper and actually build a kernel.
Sorry to keep banging on about this.
It's kind of doubly confusing at my end, as I'm not really sure this whole cnc thing is for me.
Last edit: 09 Jan 2025 23:36 by Cant do this anymore bye all.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 366
- Thank you received: 126
09 Jan 2025 23:43 #318587
by royka
Replied by royka on topic Real-time kerel not detected on patched 6.12
Yeah a bit confusing indeed, actually I wasn't aware that these patches are available, at the beginning of 6.12 they weren't. One of them is indeed to add support for arm and also one to add the realtime indicator.
Then for now still applying those patches seems to be the best way to go
Then for now still applying those patches seems to be the best way to go
The following user(s) said Thank You: Cant do this anymore bye all
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
10 Jan 2025 00:10 #318589
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Real-time kerel not detected on patched 6.12
Cheers mate

The following user(s) said Thank You: royka
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds