After installing slackware64 13.37 and going into runlevel 3, I downloaded the NVIDIA-Linux-x86_64-285.05.09.run file from the nvidia website. I ran it with
Code:
sh NVIDIA-Linux-x86_64-285.05.09.run
as root. Seems that slackware64 13.37 comes with the kernel headers already installed because the nvidia install had no problems. I see that it built the nvidia module as well as compatible 32 bit opengl libs. I do see also that the nvidia script added
to a file in /etc/modprobe.d
Now for my question. How and where exactly does this module get loaded at boot? I do see it's located at
Code:
/lib/modules/2.6.37.6/kernel/drivers/video/nvidia.ko
yet there's no mention of it in /etc/modprobe.conf(seems like this file is not even used anymore in slackware64 13.37). The module does not load in /etc/rc.d/rc.modules-2.6.37.6 either. Is it just because the module is behind rc.modules-2.6.37.6, then it automatically gets loaded at boot?
If that were true, then all the other modules in
Code:
/lib/modules/2.6.37.6/kernel/drivers/video/
would get loaded as well. What makes nvidia.ko special? Which file actually modprobes the module?
Trying to understand exactly how it works.
In dmesg I see this pertinent output.
Code:
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 285.05.09 Fri Sep 23 17:31:57 PDT 2011
Which script exactly loads the nvidia.ko module?