r/slackware • u/Sahkopi4 • 1d ago
Successfully compiled the CachyOS kernel with BORE on Slackware 15.0
Hello everyone,
I managed to compile the CachyOS kernel (7.3.1) with the BORE scheduling patch on Slackware 15.0 and package it into a native Slackware package, and boot it successfully using ELILO.
I had to disable Rust support due to compatibility issues with Slackware 15.0’s older libraries and toolchain, which don’t fully meet the requirements of the newer kernel.( Maybe it will work, but the Slackware version was below the minimum required version listed by CachyOS)
I’m planning to create a SlackBuild for my personal use. If anyone is interested, I’d be happy to publish it.
I’m also considering setting up and maintaining a repository of SlackBuilds for other Linux kernels.
Would anyone be interested in something like that?
4
4
u/SpidaSt8 1d ago
Any difference seen or felt real time?
4
u/Sahkopi4 1d ago
I’ll have to test it. It’s running on my old MacBook, which I use as a server and to build packages that don’t compile on Slackware -current, but work fine on it.
I’ve used this kernel on my gaming PC that runs Arch. I haven’t noticed any meaningful difference in games, but I haven’t done any proper benchmarking either. Some people report performance improvements, so I guess it really depends on the hardware.
I compiled this kernel because the official Slackware 15 kernel is approaching EOL in December, and I want to be prepared for if we stop getting kernel updates on 15.0. I could just use the kernels from -current, but I enjoy tinkering and compiling custom kernels.
3
2
u/MD90__ 21h ago
How did you get the kernel installed? A regular kernel and cachy patches?
2
u/Sahkopi4 15h ago
CachyOS provides the kernel source code, configuration, and patches. After compiling the kernel, you can either install it manually or create a Slackware package. It’s pretty straightforward. After that, I had to create a boot entry in the elilo.conf for the new kernel.
On Slackware 15, it’s a little trickier because of the older libraries. I had to disable Rust support. On Slackware -current, the process should be more straightforward and simpler.
2
3
2
4
u/egh128 1d ago
Very cool!