Page 1 of 1

Real-time kernel on Bullseye

Posted: Tue Aug 24, 2021 5:08 pm
by fredx181

Need to use real-time kernel on Bullseye or Sid ? Here's how (for frugal install only):
First, install (if not already installed) latest package "upgrade-kernel":

Code: Select all

apt update
apt install upgrade-kernel

Run from Menu > System > Upgrade kernel (which btw, can be used also to upgrade your kernel to newest available)

- Choose partition to build the files on (needs to be a Linux partition, e.g. ext4 formatted)

2021-08-24-184006_502x336_scrot.png
2021-08-24-184006_502x336_scrot.png (45.42 KiB) Viewed 3704 times

- Choose kernel (with "rt" in the name) I chose: linux-image-5.10.0-8-rt-amd64-unsigned ("unsigned" should be OK)

2021-08-24-184136_402x252_scrot.png
2021-08-24-184136_402x252_scrot.png (28.87 KiB) Viewed 3704 times

- Installing...

2021-08-24-184242_887x223_scrot.png
2021-08-24-184242_887x223_scrot.png (44.59 KiB) Viewed 3704 times

- Creating .squashfs module...

2021-08-24-184748_602x183_scrot.png
2021-08-24-184748_602x183_scrot.png (22.66 KiB) Viewed 3704 times

- Finished... copy the files in this directory to the "live" frugal install folder (overwrite existing, recommended to make backup of the original files first)

2021-08-24-184911_552x151_scrot.png
2021-08-24-184911_552x151_scrot.png (16.42 KiB) Viewed 3704 times

Done! Reboot to make use of the new rt kernel.

Fred


Re: Real-time kernel on Bullseye

Posted: Tue Aug 24, 2021 7:17 pm
by rockedge

very nice addition Fred!


Re: Real-time kernel on Bullseye

Posted: Tue Aug 24, 2021 7:46 pm
by rcrsn51

Hi Fred:

When I run the mklive script, which kernel does it use - signed or unsigned?


Re: Real-time kernel on Bullseye

Posted: Tue Aug 24, 2021 8:11 pm
by fredx181
rcrsn51 wrote: Tue Aug 24, 2021 7:46 pm

Hi Fred:

When I run the mklive script, which kernel does it use - signed or unsigned?

It installs the meta-package: linux-image-amd64 (or for 32bit the i686 package)
That has, at this point in time, dependency: linux-image-5.10.0-8-amd64 (signed). https://packages.debian.org/en/bullseye ... .0-8-amd64


Re: Real-time kernel on Bullseye

Posted: Tue Aug 24, 2021 8:24 pm
by fredx181
rockedge wrote: Tue Aug 24, 2021 7:17 pm

very nice addition Fred!

Thanks, this option exists for some time already, just thought I'd do a little promotion now :) .


Re: Real-time kernel on Bullseye

Posted: Wed Aug 25, 2021 11:46 am
by stemsee

Is this the correct script after update? It doesn't seem to work as shown...

upgrade-kernel.gz
(11.6 KiB) Downloaded 104 times

Re: Real-time kernel on Bullseye

Posted: Wed Aug 25, 2021 12:05 pm
by fredx181
stemsee wrote: Wed Aug 25, 2021 11:46 am

Is this the correct script after update? It doesn't seem to work as shown...

upgrade-kernel.gz

No, it's for Ubuntu, probably you took it from FossaDog? Above how-to is for Debian Bullseye.
I don't think Ubuntu has a real-time kernel, but does have a "low-latency" kernel AFAIK.
Btw, upgrade-kernel is not a standalone script, it depends on initramfs skeleton (in /usr/local/cr-initrd)


Re: Real-time kernel on Bullseye

Posted: Wed Aug 25, 2021 12:38 pm
by rcrsn51
fredx181 wrote: Tue Aug 24, 2021 8:11 pm

It installs the meta-package: linux-image-amd64 (or for 32bit the i686 package)
That has, at this point in time, dependency: linux-image-5.10.0-8-amd64 (signed). https://packages.debian.org/en/bullseye ... .0-8-amd64

Thanks. This is a huge advantage of overlayfs vs aufs - people can do their own kernel upgrades. And with a reliable kernel from a trustworthy source.

I have made the combo-wifi-driver-pack for k5.10.0-8-amd64.