Find which Linux modules are used or needed

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.


With lspci

In the sample output below, see the kernel driver in use, and those available:

$ man lspci
# lspci -k
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
        Subsystem: Gigabyte Technology Co., Ltd GM107 [GeForce GTX 750 Ti]
        Kernel driver in use: nouveau
        Kernel modules: nvidiafb, nouveau

With lsmod

See the "used by" field:

$ man lsmod
# lsmod
Module                  Size  Used by
cfg80211              552960  0
rfkill                 24576  3 cfg80211
snd_hda_codec_hdmi     53248  1
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_intel          36864  4
snd_hda_codec         126976  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
nouveau              1515520  8
kvm                   520192  0
snd_hda_core           65536  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               102400  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              32768  1 snd_pcm

With dmidecode

Check the output of dmidecode.

Online tools

Debian GNU/Linux device driver check page:

LKDDb: Linux Kernel Driver DataBase The last news items dates back to 2007. It is unclear whether the database itself is still maintained.

[Unmaintained] Pre-made kernel seeds to help you get your Linux system up and running:
Working with Kernel Seeds:

With a Live CD / within a chroot

When you are in a live CD chroot, do:

make localyesconfig
// or:
make localconfig


In /var/log/kern.log, Kernel module messages are prefixed by the name of the kernel module.

See also