Unable to load kernel-drm modulus

the kernel is the same as

uname -r 4.18.0-240.el8.x86_64 ll /usr/src/kernels
total 8
drwxr-xr-x. 23 root root 4096 Mar 12 22:48 4.18.0-240.15.1.el8_3.x86_64
drwxr-xr-x. 23 root root 4096 Mar 11 22:21 4.18.0-240.el8.x86_64

When I install rtx 3070 on centos 8 only, it still says " Unable to load the ‘nvidia-drm’ kernel module"

Can some technicial help to solve this problem? Thank a lot.nvidia-bug-report.log.gz (75.1 KB)

Please try setting kernel parameter
pci=realloc

still " Unable to load the ‘nvidia-drm’ kernel module"nvidia-bug-report.log.gz (74.9 KB)

There’s no pci=realloc in the logs, forgot to run sudo update-grub?

could you show me the commands in detail to set kernel parametter pci=realloc? the system is centos8 thanks a lot!

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/configuring-kernel-command-line-parameters_managing-monitoring-and-updating-the-kernel
so should be
grubby --update-kernel=ALL --args=“pci=realloc”

still " Unable to load the ‘nvidia-drm’ kernel module"nvidia-bug-report.log.gz (75.1 KB)

Looks like a c/p error, wrong quotation marks, please remove again
grubby --update-kernel=ALL --remove-args=“pci=realloc”
and add again
grubby --update-kernel=ALL --args pci=realloc

another error, sorry for thatnvidia-bug-report.log.gz (1008.0 KB)

According to the logs, everything is running fine, nvidia gpu functional, driver loaded.
What kind of issue are you experiencing now?

1 Like

thanks a lot. done!