Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

<< kernel without PREEMPT_RT? >>

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
icamps
Posts: 5
Joined: 2021-04-08 19:22

<< kernel without PREEMPT_RT? >>

#1 Post by icamps »

Hello,

I setup a box with Debian:

Code: Select all

# cat /etc/debian_version
9.13

# uname -a
Linux orange 4.9.0-15-amd64 #1 SMP Debian 4.9.258-1 (2021-03-08) x86_64 GNU/Linux
And now, I am trying to install CUDA but I am getting the error:
-> Performing PREEMPT_RT check.
ERROR: The PREEMPT_RT sanity check failed:

The kernel you are installing for is a PREEMPT_RT kernel!

The NVIDIA driver does not support real-time kernels. If you
are using a stock distribution kernel, please install
a variant of this kernel that does not have the PREEMPT_RT
patch set applied; if this is a custom kernel, please
install a standard Linux kernel. Then try installing the
NVIDIA kernel module again.
For what I read about real-time kernels, I don't need them. So, my question is: How can I install a non real-time kernel in my Debian box without reinstalling/formatting it?

The box is a server used only to run simulations (no graphical interface) with access only via SSH. We need CUDA to move some simulations to GPU.

I installed Debian from the official site. As shown, the uname didn't return a real-time kernel (-rt).

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: << kernel without PREEMPT_RT? >>

#2 Post by LE_746F6D617A7A69 »

The default Debian kernel is not configured for PREEMPT_RT -> You are not using default Debian kernel OR the CUDA installer has a bug.

Can You please post the output of:

Code: Select all

uname -a; cat /boot/config-$(uname -r) | grep PREEMPT
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

icamps
Posts: 5
Joined: 2021-04-08 19:22

Re: << kernel without PREEMPT_RT? >>

#3 Post by icamps »

Here is the output:

Code: Select all

# uname -a; cat /boot/config-$(uname -r) | grep PREEMPT

Linux orange 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: << kernel without PREEMPT_RT? >>

#4 Post by Bloom »

I would say the installation procedure for CUDA has a bug in it.

icamps
Posts: 5
Joined: 2021-04-08 19:22

Re: << kernel without PREEMPT_RT? >>

#5 Post by icamps »

I am thinking the same :(

icamps
Posts: 5
Joined: 2021-04-08 19:22

Re: << kernel without PREEMPT_RT? >>

#6 Post by icamps »

Update: using the CUDA version 11.3.0_465.19.01 works.

Post Reply