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.

Table of Contents


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?


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

See also

man lsmod
man modprobe
man modinfo
man sysctl
and also: