Compiling realtime kernel

More
10 Jan 2022 11:43 #231298 by Tady
Hello
I have been trying to compile a 5.14.2 version kernel with real time capabilities.
After some problems it compiled but I cannot boot it. GRUB says that kernel does not support efi handover 
There is little info about this problem
On this page someone suggested to change settings in the menuconfig but I do not have these settings
stackoverflow.com/questions/40344484/can...ompiled-linux-kernel
It has been a very long time since I last compiled a realtime kernel. But this was never an issue
 

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

More
10 Jan 2022 12:48 #231301 by Tady
Replied by Tady on topic Compiling realtime kernel
Sorry I found the settings. The kernel is up and running sorry for the false alarm

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

More
10 Jan 2022 13:49 #231304 by robertspark
why do you want to compile a kernel?

if you are running a debian OS you can just install a RT kernel

sudo apt install linux-image-rt-amd64

or one of the alternative rt kernels.
packages.debian.org/search?keywords=linux-image-rt

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

More
11 Jan 2022 07:09 #231409 by Tady
Replied by Tady on topic Compiling realtime kernel
Well I was under the impression that you need to build your self a RT kernel ... At least that how I used to do it a few years ago :)

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

More
11 Jan 2022 08:12 #231412 by ALittleOffTheRails
No problem if you compile your own. I suppose you can target it towards your system rather than something generic.

Yeah first time with EFI can be a bit tricky to begin with.

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

More
11 Jan 2022 09:35 #231418 by Tady
Replied by Tady on topic Compiling realtime kernel
Just a small question.
Is run in place working on jammy? so I don't waste time :)

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

More
11 Jan 2022 09:49 #231419 by rodw
Replied by rodw on topic Compiling realtime kernel

Well I was under the impression that you need to build your self a RT kernel ... At least that how I used to do it a few years ago :)

That used to be the case. Brings back horrific memories...

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

More
11 Jan 2022 10:01 - 11 Jan 2022 10:02 #231421 by Tady
Replied by Tady on topic Compiling realtime kernel
Seems I'm doing something wrong. But python 3 is installed 

./configure --with-realtime=uspace 

checking for python build information... 
checking for python3.10... python3.10
checking for main in -lpython3.10... no
checking for main in -lpython3.10m... no
checking for python3.9... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.8... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.7... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.6... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.5... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.4... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.3... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.2... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.1... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python3.0... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.7... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.6... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.5... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.4... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.3... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.2... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python2.1... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
checking for python... (cached) python3.10
checking for main in -lpython3.10... (cached) no
checking for main in -lpython3.10m... (cached) no
  results of the Python check:
    Binary:      python3.10
    Library:     no
    Include Dir: no
checking for python3.10... /usr/bin/python3.10
checking for python3... (cached) /usr/bin/python3.10
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python >='3.6'... no
configure: error: this package requires Python >='3.6'.
If you have it installed, but it isn't the default Python
interpreter in your system path, please pass the PYTHON_VERSION
variable to configure. See ``configure --help'' for reference.

Last edit: 11 Jan 2022 10:02 by Tady.

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

More
11 Jan 2022 10:05 #231422 by rodw
Replied by rodw on topic Compiling realtime kernel
It tells you what to do there. at the end.
This is the crap that chased me to Debian 10 Bullseye.  No more Python fights and no need to compile the kernel.

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

More
11 Jan 2022 10:12 #231425 by rodw
Replied by rodw on topic Compiling realtime kernel
Actually, what OS are you running and what version of python3 do you have?

Master branch requires 3.7 or higher as used by Buster. Mint and others use an earlier version.

Bullseye uses 3.9

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

Time to create page: 0.294 seconds
Powered by Kunena Forum