How To Reload All Kernel Modules And List Required Moduels for Each Device - Linux Mint Debian Ubuntu Troubleshooting

One easy way is to use lspci -k like this:

sudo lspci -k|grep modules|sort -nr|uniq
    Kernel modules: snd_hda_intel
    Kernel modules: shpchp
    Kernel modules: pata_acpi
    Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
    Kernel modules: mei_me
    Kernel modules: lpc_ich
    Kernel modules: isci
    Kernel modules: ioatdma
    Kernel modules: i2c_i801
    Kernel modules: e1000e
    Kernel modules: ahci
 

This is a great way of troubleshooting what modules your system actually needs and uses.  It's also good for troubleshooting in the case that a device like a NIC or soundcard does not work.  It could be that the kernel module is missing and this is an easy way of finding it.

That is the clean version but you could use the full output to understand which device each module is related to.

Let's say you wanted to load the e1000e NIC driver, you would use "modprobe e1000e".  If it didn't work or was not found, then you know the issue is a missing kernel module.  This either means your kernel does not support the device OR it does not have all of the kernel modules available, installed.

See this for how to install 'extra' kernel modules

 


Tags:

reload, kernel, modules, moduels, linux, mint, debian, ubuntu, troubleshootingone, lspci, sudo, grep, nr, uniq, snd_hda_intel, shpchp, pata_acpi, nvidiafb, nouveau, nvidia_drm, nvidia, mei_me, lpc_ich, isci, ioatdma, c_i, ahci, troubleshooting, nic, soundcard, module, output, quot, modprobe, didn, installed, install,

Latest Articles

  • FreePBX 17 How To Add a Trunk
  • Docker Container Onboot Policy - How to make sure a container is always running
  • FreePBX 17 How To Add Phones / Extensions and Register
  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist