Hallo @all!
I'm not quite sure if this is the right place to ask, as it might not be specific enough for the Kernel 2.6 Forum. Nevertheless I posted this message in several forums, but so far no one could help me.
My question: which file(s) or scripts determine which modules are loaded at boot time? By that I mean all possibilities BUT /etc/modules. In my case his file contains only 4 modules, but cat /proc/modules tells me that there are more than 20 modules loaded. As far as I know modules.dep defines the dependencies and modprobe.conf only gives aliases and options.
In fact I want to get rid of the capability module, which is loaded at boot time. By the way, I use Debian Sarge and the default Kernel 2.6.6-1-686.
Thank you very much!!!
OK, I found out that a link i
OK, I found out that a link in /etc/rcS.d causes the script /etc/init.d/module-init-tools to load the modules in /etc/modules and in /lib/modules/KERNEL-VERSION/boot, but there are more modules in my /proc/modules...(?)
Dependencies
Loading a single module may load a number of them into the kernel due to dependencies they have on one another. ALSA is a good example of this.
could be hotplug
Hotplug, when run, goes through the installed hardware it sees and loads the modules to handle them. It sounds like you might not be using hotplug though, at least on my system I have 70 modules loaded. You should probably have a similar number...
Why did you want to get rid of the capability module anyway?
hotplug / capability
I want to run antivir which needs the module dazuko.ko which in turn cannot be loaded if the capability module is already present. dazuko.ko provides the same features as capability.ko does.
I have hotplug running though I get several error messages that I want to take care about next. I have more than 20, about 40 modules I think. I wasn't aware about the fact that hotplug loads so many more modules but it is not responsible for the capability.ko module which resides in the boot folder under /lib/modules/2.6.6-1-686.
Thanky you for this piece of information!