RHEL 6 Install driver for TeslaK40c

Hello,

I’m hoping some of you experts can assist me with getting the drivers and cuda toolkit 8.0 installed on a RHEL 6.9 server for my customer. The Tesla K40c is installed and visible via lspci but I’ve attempted both the rpm and runfile installs with both failing to complete. I’ve narrowed it down to a Segmentation Fault when trying to rebuild initrd via DKMS but not sure how to resolve it. Customer requires the 8.0 Toolkit as they mentioned Tenserflow is not available for 9.0. See error log and server environment details below:

Install error:
Installing DKMS kernel module:
Adding to DKMS: [ ] 0%sh: line 1: 276704 Segmentation fault (core dumped) /usr/sbin/dkms add -m nvidia -v 375.26 -k 2.6
.32-696.3.1.el6.x86_64 2>&1

ERROR: Failed to run /usr/sbin/dkms add -m nvidia -v 375.26 -k 2.6.32-696.3.1.el6.x86_64:

Adding to DKMS: [##############################] 100%

ERROR: Failed to install the kernel module through DKMS. No kernel module
was installed; please try installing again without DKMS, or check
the DKMS logs for more information.

Server details:

rpm -qa *\nvidia* *\kernel*|sort;uname -r;lsmod |grep -e nvidia -e nouveau;cat /etc/X11/xorg.conf

abrt-addon-kerneloops-2.0.8-43.el6.x86_64
dracut-kernel-004-409.el6_8.2.noarch
kernel-2.6.32-504.el6.x86_64
kernel-2.6.32-642.13.1.el6.x86_64
kernel-2.6.32-696.3.1.el6.x86_64
kernel-devel-2.6.32-696.3.1.el6.x86_64
kernel-firmware-2.6.32-696.3.1.el6.noarch
kernel-headers-2.6.32-696.3.1.el6.x86_64
libreport-plugin-kerneloops-2.0.9-33.el6.x86_64
nvidia-kmod-384.66-2.el6.x86_64
xorg-x11-drv-nvidia-384.66-1.el6.x86_64
xorg-x11-drv-nvidia-devel-384.66-1.el6.x86_64
xorg-x11-drv-nvidia-gl-384.66-1.el6.x86_64
xorg-x11-drv-nvidia-libs-384.66-1.el6.x86_64
2.6.32-696.3.1.el6.x86_64

RPM Fusion - nvidia-xorg.conf

Section “Device”
Identifier “Videocard0”
Driver “nvidia”
EndSection
cuda_install_240916.log (1.07 MB)
nvidia-bug-report.log.gz (105 KB)

Attached Install log and bug report for more information.

This looks a bit strange, a lot of normal processes segfault including nfs failing. Maybe file-max is set too low? Is nfs involved in the process at all? A second guess would be to disable selinux.
The package list shows 384 kernel driver as installed, and you’re trying to install 375? From .run file?