I have Slackware 14.2 with 5.1.2 kernel. Trying to install 340.107 Nvidia driver. After couple of patches, it has compiled successfully, but installer gives me error trying to load kernel module.
nvidia-install.log is in attached file. I hit same errors copying the built kernel module to kernel modules directory and trying to load it via modprobe nvidia. Nouveau is blacklisted and not loaded during install. All operations performed at runlevel 3 as root.
Applied patches (module doesn’t compile without it):
My graphic card is GeForce 9400 GT.
nvidia-installer.log (893 KB)