I have compiled a kernel with some modules, for example the ath9k
for my wireless card. I don't have anything in the autoload configuration (i.e my file /etc/modules.autoload.d/kernel-2.6
is empty). However, lsmod
still shows that the module has been loaded. I also notice that when I compile filesystem support as modules (reiserfs, jfs, xfs etc.) they also get autoloaded.
Who is doing this? Can and should I disable it? I am using Gentoo.
Thanks
Best Answer
Udev loads modules automatically depending on what kind of hardware it finds. You can "blacklist" modules in order to stop them being autoloaded as described in the Gentoo udev guide.