While trying to install the RTXI software and RT-kernel, I ran into some installation problems.
Basic Information:
RTXI Version: 2.2Installed from live CD?: No, downloaded with git and compiled from sourceUbuntu version: 20.04 LTS
Error Description:
What happened?
When trying to install the Xenomai kernel, I stumbled upon some installation issues. A lot of packages were not installed but I was able to circumvent or find a solution for. However, there are two remaining (1 non-essential I think, and 1 that makes the kernel compilation crash).
What was supposed to happen?
The kernel was supposed to compile.
What steps will trigger the error?
I followed the steps for installing RTXI under the "custom installation" tab.
Step 1: Download a generic Linux installation image. --> I downloaded and installed the latest Ubuntu version, 20.04 LTS. Kernel 5.4.0-40-generic.
Step 2: Burn the image to a DVD or a USB drive.
I installed a live-USB.
Step 3. Follow the built-in installer and install the operating system.
Done, all works.
Step 4. Clone the RTXI repository using git.
Done, perfectly works.
Step 5. Install RTXI and real-time kernel dependencies.
Here I get the first issue that gksu is not found any more since it is deprecated.
Step 6. Compile and install the real-time kernel.
Here I run into the error after selecting and deselecting the recommended options, in following this sentence: Compilation, depending on your system, can take 10 minutes to a few hours. You are free to leave the system. The install_rt_kernel.sh script will compile the kernel and install it automatically.
Own ideas
I found a solution for the broken kernel part, but I don't know how to install it. You can find the post here:
https://github.com/torvalds/linux/commit/ad343a98e74e85aa91d844310e797f96fee6983b#diff-89b6591452f7b3e17de375ff48d012c8
I am a bit afraid to just install random things, since I am no kernel expert and I know it might screw up the whole system. Plus, it's for a different kernel version than the one I currently have installed, although it is the correct kernel version for the RTXI-kernel.
Error Message:
Two things actually:
The 1st one (I don't think it's that big of a problem):
Package gksu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
The 2nd one (is a problem because the compilation crashes):
pager.c: In function ‘pager_preexec’:
pager.c:35:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
35 | select(1, &in, NULL, &in, NULL);
| ^~~ ~~~
cc1: all warnings being treated as errors
I hope you can help me out.
With kind regards,
Tim
Here, the full terminal output of the cpuinfo and the install_rt_kernel.sh command to be complete:
Hi,
While trying to install the RTXI software and RT-kernel, I ran into some installation problems.
Basic Information:
RTXI Version: 2.2 Installed from live CD?: No, downloaded with git and compiled from source Ubuntu version: 20.04 LTS
Error Description:
What happened? When trying to install the Xenomai kernel, I stumbled upon some installation issues. A lot of packages were not installed but I was able to circumvent or find a solution for. However, there are two remaining (1 non-essential I think, and 1 that makes the kernel compilation crash).
What was supposed to happen? The kernel was supposed to compile.
What steps will trigger the error? I followed the steps for installing RTXI under the "custom installation" tab. Step 1: Download a generic Linux installation image. --> I downloaded and installed the latest Ubuntu version, 20.04 LTS. Kernel 5.4.0-40-generic. Step 2: Burn the image to a DVD or a USB drive. I installed a live-USB. Step 3. Follow the built-in installer and install the operating system. Done, all works. Step 4. Clone the RTXI repository using git. Done, perfectly works. Step 5. Install RTXI and real-time kernel dependencies. Here I get the first issue that gksu is not found any more since it is deprecated. Step 6. Compile and install the real-time kernel. Here I run into the error after selecting and deselecting the recommended options, in following this sentence: Compilation, depending on your system, can take 10 minutes to a few hours. You are free to leave the system. The install_rt_kernel.sh script will compile the kernel and install it automatically.
Own ideas I found a solution for the broken kernel part, but I don't know how to install it. You can find the post here: https://github.com/torvalds/linux/commit/ad343a98e74e85aa91d844310e797f96fee6983b#diff-89b6591452f7b3e17de375ff48d012c8 I am a bit afraid to just install random things, since I am no kernel expert and I know it might screw up the whole system. Plus, it's for a different kernel version than the one I currently have installed, although it is the correct kernel version for the RTXI-kernel.
Error Message:
Two things actually: The 1st one (I don't think it's that big of a problem):
The 2nd one (is a problem because the compilation crashes):
I hope you can help me out.
With kind regards, Tim
Here, the full terminal output of the cpuinfo and the install_rt_kernel.sh command to be complete:
output for "install_rt_kernel.sh" can be found in the attachment. xenomai_error.txt