Cannot install nvidia driver

Latest response

I have Nouveau disabled. But, something about the kernel is not right. There are some dependencies or repos that I need that I do not have. I am on a gigabyte x299 designare ex motherboard and booting from a Samsung 970 Pro M.2 device. I am trying to install an Nvidia Quadro P5000. I also am on a 10 core intel i series processor along with 128gb of RAM. No matter what version of the driver I try I receive a message ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details. Then, ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built".
See /var/log/nvidia-installer.log for details.; ERROR: The nvidia kernel module was not created. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on
fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. I have seen this problem before on posts about previous versions of Red Hat. However, none of those forums entail a solution to Red Hat Linux 8 and the problem that I am experiencing as I have tried it. I have tried cuda and not even that would install. If anyone could help me ASAP that would be great. I have a project in stall because I cannot get Red Hat squared off. I would really appreciate it! Thanks!

Responses

I think that it has something to do with my subscription. I registered for the 30 day free trial to see if I could get Autodesk Maya up and running on it. When I try to install tools that are needed on CentOS it just responds that such items do not exist. I think that is what is doing it. If someone at Red Hat could respond that would be great.

$ sudo yum group install "Development Tools" $ sudo yum install kernel-devel $ sudo yum -y install epel-release $ sudo yum -y install dkms

All of these were items that were not recognized.

Please note that EPEL-8 is not ready yet, as of this writing.

That is exactly what it is. I checked the Nvidia Installer Log files. I have no way of getting these as of yet unless someone from Red Hat tells me how. Here is the log:

nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Jul 23 17:12:33 2019 installer version: 415.23

PATH: /sbin:/bin:/usr/sbin:/usr/bin

nvidia-installer command line: ./nvidia-installer

Using: nvidia-installer ncurses v6 user interface -> Detected 20 CPUs online; setting concurrency level to 20. -> Tagging shared libraries with chcon -t textrel_shlib_t. -> Installing NVIDIA driver version 415.23. -> Performing CC sanity check with CC="/bin/cc". -> Kernel source path: '/lib/modules/4.18.0-80.4.2.el8_0.x86_64/source' -> Kernel output path: '/lib/modules/4.18.0-80.4.2.el8_0.x86_64/build' -> Performing Compiler check. -> Performing Dom0 check. -> Performing Xen check. -> Performing PREEMPT_RT check. -> Performing vgpu_kvm check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; /bin/make -k -j20 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/source" SYSOUT="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/build"'... rm -f -r conftest make[1]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[2]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[2]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' -> Building kernel modules executing: 'cd ./kernel; /bin/make -k -j20 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/source" SYSOUT="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/build"'... make[1]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[2]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' /usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64/Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop. make[2]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[1]: *** [Makefile:150: sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make: *** [Makefile:79: modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details. -> The command cd ./kernel; /bin/make -k -j20 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/source" SYSOUT="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/build" failed with the following output:

make[1]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[2]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' /usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64/Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop. make[2]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[1]: *** [Makefile:150: sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make: *** [Makefile:79: modules] Error 2 -> Checking to see whether the nvidia kernel module was successfully built executing: 'cd ./kernel; /bin/make -k -j20 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/source" SYSOUT="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/build"'... make[1]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[2]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' /usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64/Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop. make[2]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[1]: *** [Makefile:150: sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make: *** [Makefile:79: modules] Error 2 -> Error. ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details. -> The command cd ./kernel; /bin/make -k -j20 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/source" SYSOUT="/lib/modules/4.18.0-80.4.2.el8_0.x86_64/build" failed with the following output:

make[1]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[2]: Entering directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' /usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64/Makefile:958: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop. make[2]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make[1]: *** [Makefile:150: sub-make] Error 2 make[1]: Target 'modules' not remade because of errors. make[1]: Leaving directory '/usr/src/kernels/4.18.0-80.4.2.el8_0.x86_64' make: *** [Makefile:79: modules] Error 2 ERROR: The nvidia kernel module was not created. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

note it says constantly, please install libelf-dev, libelf-devel or elfutils-libelf-devel".

And as such the solution to that provided by Red Hat in this forum did not work for me. It says that it does not exist.

https://access.redhat.com/solutions/267063

The example command in the referenced solution article has an error. Remove the version number at the end and run:

yum install elfutils-libelf-devel

Example from my RH Satellite shows at least one release is part of the BaseOS repository of RHEL 8

elfutils-libelf-devel-0.174-6.el8.x86_64

Packages elfutils-libelf-devel-0.174-6.el8.x86_64

Repositories
Details
Files
Dependencies
Repositories


Repositories containing package elfutils-libelf-devel-0.174-6.el8.x86_64
Name    Product     
Red Hat Enterprise Linux 8 for x86_64 - BaseOS Kickstart x86_64 8   
Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs x86_64 8 

I fixed it with the solution in these two links. Now the only problem I have is I cannot find a way to get my os booting into a graphical enviorment from the command that I used to boot into a non xserver enviorment and I cannot get it display both monitors with I do go into an x server enviorment.

https://git.beegfs.io/pub/v7-nightly/commit/e9d687299fd568b42b4c65b5b8b96bb23cefa19d

https://www.netadmintools.com/art484.html

i know it is systemctl enable something. However, I do not know if that will get my dual display back even if I do figure it out.

systemctl reenable graphical.target or enable graphical target does not seem to work.

as I read from this documentation that i should make sense.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-services

[root@localhost ~]# sudo systemctl reenable graphical.target The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). 4) In case of template units, the unit is meant to be enabled with some instance name specified.

so after systemctl set-default graphical.target I can boot to a login prompt, but nothing shows after that it just stay on a black screen. I would have thought that should have fixed the issue.

I think I am going to have to try a reinstall and do the xserver stuff for the graphics card with init 3 this time.

every time after I install the graphics card, i receive the login screen prompt. Then it goes black and appears to freeze. I have no access to the terminal. I there anyway to fix this at boot by editing the grub menu?

I think I may have figured it out. I chose the second option at boot and it seems to be up and working /sbin/lspci reported that I am using the nvidia quadro p5000 so I think it should be good to go.

so I can only get in on the standard Wayland Server through the rescue boot, but I think it is running off of my graphics card and the driver that was installed. I cannot get Autodesk Maya installed. Maybe there is someone at Red Hat who can tell me how to install the latest subscription download that there is. Autodesk does not update their instructions and the download contains a completely different file structure than the example listed on their site for installing using the RPM utility. All I can do is run rmp -ivh on the listed rpm's in the download package. However, all I get afterwards is a maya icon in my software list that does nothing and when taken to its properties it claims that maya_2016.desktop cannot be found and this is for a 2019 install. Any help I would really appreciate it.