KB 933073 - Using dmesg and Kernel Module Checks to Troubleshoot NVIDIA GPU Issues

KB 933073 - Using dmesg and Kernel Module Checks to Troubleshoot NVIDIA GPU Issues

 Overview

This article outlines how to use dmesg logs and kernel module commands to diagnose issues where the operating system fails to detect NVIDIA GPUs—even though they appear in the system's BMC (Baseboard Management Controller).
When to Use This
You may need this guide if:
  • nvidia-smi reports: NVRM: No NVIDIA GPU found
  • GPUs are visible in BMC or IPMI but not in the OS

  • You're seeing driver or hardware initialization errors during boot

Step 1: Check Kernel Ring Buffer (dmesg) for Errors

The dmesg command shows messages from the kernel that are helpful for low-level diagnostics.
  1. sudo dmesg | grep -iE "nvidia|gpu|pci|acpi|firmware" | grep -iE "fail|error|not found|disable"
What to Look For:
  • module verification failed — Indicates Secure Boot is blocking the NVIDIA kernel module.
  • No NVIDIA GPU found — The NVIDIA driver was loaded but no GPUs were detected on the PCI bus.

  • firmware: failed to load — A required firmware blob was missing.

  • ACPI: device not enabled — BIOS/UEFI settings may have disabled PCIe devices.

Step 2: Check if the NVIDIA Kernel Module is Loaded

Linux uses kernel modules (drivers) to interface with hardware like NVIDIA GPUs.

  1. lsmod | grep nvidia

If you get output like:

  1. nvidia_uvm 860160 0
  2. nvidia_drm 57344 2
  3. nvidia_modeset 1114112 4 nvidia_drm nvidia
  4. nvidia 23474176 260 nvidia_uvm,nvidia_modeset

→ The driver is loaded and likely functioning.

If there is no output:

The module didn’t load. Check dmesg again or try loading it manually:

  1. sudo modprobe nvidia

Step 3: Check for Secure Boot Blocking the Driver

Secure Boot can prevent unsigned kernel modules like NVIDIA’s from loading.
  1. mokutil --sb
  • SecureBoot enabled → You'll see SecureBoot enabled

  • Disable it from the BIOS or sign the NVIDIA module with MOK (Machine Owner Key).

Step 4: Check PCI Bus for NVIDIA Devices

This helps confirm whether the GPU is physically present and detected at the PCIe level.
  1. lspci | grep -i nvidia

If no output appears, the GPU is not even seen by the PCIe bus. Potential causes:

  • Hardware issue

  • GPU seated improperly

  • PCIe slot/bifurcation misconfigured in BIOS

  • Faulty riser or cable

Check if nvidia kernel module is available:
  1. modinfo nvidia

If modinfo says "module not found", the driver installation might be corrupted or incomplete.

    • Recent Articles

    • KB-630208 | How to use Find and Locate to search for files in Linux

      Purpose To provide Linux administrators and Field Engineers with guidance on using the find and locate utilities to efficiently search for files and directories within a Linux filesystem based on criteria such as name, type, size, timestamps, ...
    • KB-630164 | How to use rsync to Synchronize Files

      Purpose To provide a clear and practical procedure for using the rsync utility to synchronize files and directories between local systems and remote hosts, including push and pull operations, while preserving file attributes and optimizing data ...
    • KB-630107 | How to create a Linux swap file

      Purpose To provide Field Engineers and Linux administrators with a standardized procedure for creating, configuring, and validating a Linux swap file. This procedure helps ensure sufficient virtual memory is available when physical RAM is exhausted ...
    • MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims

      MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims MSI's standard warranty does not cover physical or accidental damage to an All-in-One (AIO) PC. If the damage is determined to be caused by external factors rather than a ...
    • KB 134833 - Troubleshooting NVSM Alert NV-CPU-XX – Unrecoverable CPU Internal Error

      Purpose This document provides a general troubleshooting procedure for the NVIDIA System Management (NVSM) alert NV-CPU-XX, which indicates that a CPU has reported an internal error. The article outlines how to verify whether the alert represents an ...
    • Popular Articles

    • CP Plus Camera and NVR Configuration

      NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
    • KB 775235 - Kerberos Authentication – Overview

      What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
    • How to Remove and Reinstall NVIDIA Drivers on Ubuntu

      This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
    • KB 692001 - Personal Computers and Servers - Classification and Point of Contact

      We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
    • KB 298031 - M.2 SSD Tier List

      The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...