Building RT Kernel on Debian 12

More
3 years 10 months ago - 3 years 10 months ago #258996 by JT
The packages libqt4-dev and kernel-package is not in Debian 12. I think I found the replacement for libqt4-dev with qtbase5-dev as make xconfig works but I can't find a replacement package for kernel-package.

Edit: I can't find fully preemptable kernel option with the search tool.

Edit: Ctrl F and full finds the fully preemptable kernel.

JT
Last edit: 3 years 10 months ago by JT.

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

More
3 years 10 months ago - 3 years 10 months ago #258997 by JT
Replied by JT on topic Building RT Kernel on Debian 12
Doing sudo make modules_install I get the following error:
Code:
DEPMOD 4.19.265-rt117 depmod: WARNING: could not open modules.builtin.modinfo at /lib/modules/4.19.265-rt117: No such file or directory

JT
Last edit: 3 years 10 months ago by JT.

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

More
3 years 10 months ago #258998 by JT
Replied by JT on topic Building RT Kernel on Debian 12
After running make xconfig and just selecting the rt kernel I get this in the terminal.
Code:
# using defaults found in /boot/config-6.0.0-5-rt-amd64 # /boot/config-6.0.0-5-rt-amd64:1589:warning: symbol value 'm' invalid for NF_TABLES_BRIDGE /boot/config-6.0.0-5-rt-amd64:3996:warning: symbol value 'm' invalid for JOYSTICK_IFORCE_USB /boot/config-6.0.0-5-rt-amd64:3997:warning: symbol value 'm' invalid for JOYSTICK_IFORCE_232 /boot/config-6.0.0-5-rt-amd64:4978:warning: symbol value 'm' invalid for WATCHDOG_CORE /boot/config-6.0.0-5-rt-amd64:5579:warning: symbol value 'm' invalid for RADIO_ADAPTERS /boot/config-6.0.0-5-rt-amd64:6342:warning: symbol value 'm' invalid for FB_BACKLIGHT /boot/config-6.0.0-5-rt-amd64:9215:warning: symbol value 'm' invalid for ANDROID_BINDER_IPC # # configuration written to .config #

JT

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

More
3 years 10 months ago #259000 by JT
Replied by JT on topic Building RT Kernel on Debian 12
I tried again and only selected the rt kernel it seems to be building... the first time I deselected stuff like wifi and bluetooth and industrial and a few other things... maybe that was not a good idea.

JT

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

More
3 years 10 months ago #259001 by JT
Replied by JT on topic Building RT Kernel on Debian 12
This is what I ended up doing for 4.19.265:
Code:
cd ~ sudo apt update sudo apt install build-essential bison flex bin86 qtbase5-dev sudo apt install libncurses-dev pkg-config libelf-dev libssl-dev mkdir k4-19-265 cd k4-19-265 wget https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/linux-4.19.265.tar.xz wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/4.19/patch-4.19.265-rt117.patch.gz tar -xpf linux-4.19.265.tar.xz gunzip patch-4.19.265-rt117.patch.gz cp patch-4.19.265-rt117.patch linux-4.19.265 cd linux-4.19.265 cat patch-4.19.265-rt117.patch | patch -p1 make xconfig make -j $(nproc) sudo make modules_install sudo make install

JT

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

More
3 years 10 months ago #259003 by JT
Replied by JT on topic Building RT Kernel on Debian 12
Hmm maybe you can't build a 4.x kernel on:
Code:
john@cave:~$ uname -a Linux cave 6.0.0-5-rt-amd64 #1 SMP PREEMPT_RT Debian 6.0.10-1 (2022-11-26) x86_64 GNU/Linux

I got the same error as before with sudo make modules_install

JT

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

Time to create page: 0.363 seconds
Powered by Kunena Forum