NI Linux Drivers DKMS Error on Ubuntu Kernel 6.14.0

Updated Aug 12, 2025

Reported In

Driver

  • NI Linux Device Drivers

Operating System

  • Linux

Issue Details

When attempting to install the NI Linux Device Drivers as part of NI-DAQmx 2025 Q2, Q3, or 2024 Q2 on a clean Ubuntu 24.04.2 LTS system, the installation fails due to a DKMS build error in the nipalk kernel module. This failure causes cascading dependency issues with other NI packages.

OS: Ubuntu 24.04.2 LTS (Noble Numbat)

Kernel: 6.14.0-24-generic (x86_64)

Error Details: 

DKMS make.log for nipalk-25.3.0f141 for kernel 6.14.0-24-generic (x86_64)
ni-pal-dkms 25.3.0.49293-0+f141: nipalk kernel module failed to build

Solution

The issue was caused by a compatibility mismatch between the installed NI Linux Device Drivers (version 25.3, corresponding to the 2025 Q2 release) and the system's kernel version (6.14.0-24-generic, x86_64). This kernel version is not supported by the 2025 Q2 release, which led to a failure in building the nipalk kernel module via DKMS.

To solve the issue, please follow these steps:

  1. Fully remove all components of the 2025 Q2 NI Linux Device Drivers.
  2. Update the system to use the 2025 Q3 release of the NI Linux Device Drivers.
  3. Install the updated driver package.

After this steps the DKMS modules will build successfully with the supported kernel version (6.14.0).