Kernel modules
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
lsmod
Output of lsmod:
Module: kernel module name
Size: size in bytes?
Used by: if 0, the module is not loaded nor used. Name of the module using this module? pid of the process using the module?
modinfo
To check kernel options available for specific modules, use modinfo. E.g.:
# modinfo -p nvidia_drm
modeset:Enable atomic kernel modesetting (1 = enable, 0 = disable (default)) (bool)
And to see the current state of that option, see within /sys/module/. E.g.:
# cat /sys/module/nvidia_drm/parameters/modeset
N
See also
See:
man lsmod
man modprobe
man modinfo
man sysctl https://wiki.archlinux.org/index.php/Sysctl
and also:
http://linux.overshoot.tv/wiki/find_which_linux_modules_are_used_or_need...
http://linux.overshoot.tv/wiki/kernel_boot_parameters