While I can use lsmod in order to show currently active kernel modules, how can I see which drivers are statically built into the kernel AND currently active?
|
|
||||
|
|
|
You could do a From the Kernel Documentaton modules.builtinThis file lists all modules that are built into the kernel. This is used by modprobe to not fail when trying to load something builtin. |
|||
|
|
|
If your linux has a /proc/config.gz That has all the built modules. Copy it elsewhere and unzip it. Open the file everything with a "=M" is built as a module. Everything with a "=Y" is statically built. hwinfo will list the "Driver:" check the above file to see if it is statically built. FYI: All statically built drivers are always loaded into memory and ready for action. Without the corresponding hardware they will not do anything, but use memory. |
|||||||||||||
|