Installing Separate Kernel Modules
You should list the modules you want automatically loaded in one of the relevant files listed below. You can add extra options to the modules too if you want.
- /etc/modules.autoload.d/kernel-2.4 - Kernel 2.4 only
- /etc/modules.autoload.d/kernel-2.6 - Kernel 2.6 only
- /etc/modules.autoload - All Kernels
Therefore, if you have a kernel module that you want to load -- which is common to both 2.4 and 2.6, then place it in /etc/modules.autoload. Otherwise it can be placed in the appropriate file.
To view all available modules, run the following find command. Don't forget to substitute "
# find /lib/modules/kernel-version/ -type f -iname '*.o' -or -iname '*.ko'
For instance, to automatically load the 3c59x.o module, edit the appropriate file and enter the module name in it.
# nano -w /etc/modules.autoload.d/kernel-2.4
This can be also done in a one-liner: # echo '3c59x' >> /etc/modules.autoload.d/kernel-2.4
Taken from Gentoo Linux Documentation.
Komen: chapter ni penting utk kita load modules masa boot. means tak yah gune coldplug utk detect hardware kita. modules ni mcm driver hardware la bagi pengguna windows.
Mood: >.<