Why is NVIDIA driver installer trying to rebuild all kernel modules?
by ljb643 from LinuxQuestions.org on (#5279J)
When I tried to install the NVIDIA driver on Slackware64-current (kernel 5.4.32), it seemed to hang at Building kernel module 100%. I checked its log file and it is building the entire kernel module set. As in: cd /usr/src/linux; make modules. I gave up waiting for this to finish after 4 hours.
I've installed the 32-bit version of the same NVIDIA driver on a Slackware-14.2(32-bit) system many times, and it does not do this. All I have to do is install the Slackware kernel-source package, then run the NVIDIA installer. It builds the NVIDIA module only. The whole thing takes no more than 5 minutes.
Does anyone know what is going on? Why would nvidia-installer need to rebuild all of the kernel modules on Slackware64-current?


I've installed the 32-bit version of the same NVIDIA driver on a Slackware-14.2(32-bit) system many times, and it does not do this. All I have to do is install the Slackware kernel-source package, then run the NVIDIA installer. It builds the NVIDIA module only. The whole thing takes no more than 5 minutes.
Does anyone know what is going on? Why would nvidia-installer need to rebuild all of the kernel modules on Slackware64-current?