Linux hardware diagnostics

Is a missing PCIe device failing to enumerate or just missing a Linux driver?

On this page
  1. Capture two inventories
  2. If it enumerates
  3. If it disappears
  4. Try it
  5. Sources

Use PCI enumeration to separate a device the operating system can see from one that has not acquired a usable driver.

Linux hardware diagnostics decision guide
  1. Cold startSave the numeric PCI inventory
  2. Warm startCompare whether the function returns
  3. BranchDetermine enumeration or initialization failure

Capture two inventories

Save lspci -nnk after a cold boot and after the warm restart that sometimes recovers the hardware. Compare numeric IDs. Use the same attached components and firmware settings when comparing them.

If it enumerates

Read the driver in use and kernel log for that exact address. A visible function with a failed device initialization calls for a different next step than a function absent from PCI enumeration.

If it disappears

Check the vendor slot and power requirements, firmware logs and the physical connection with power off. If you move the device, keep one change at a time and compare the same cold start.

Try it

Sources

  1. PCI utilities lspci manual
  2. util-linux dmesg manual
  3. Linux PCIe Advanced Error Reporting guide

Source review . Research and writing prepared with AI assistance.

Choose a part

Make it yours

Your hardware studio.

Saved in this browser. Your parts stay the same.