Linux Device Drivers 2023 Q4 Bug Fixes

Overview

The following items are notable issues fixed between the release of Linux Device Drivers 2023 Q3  and Linux Device Drivers 2023 Q4, including additional patches and service packs. If you have an issue ID, you can search this list to validate that the issue has been fixed. This is not an exhaustive list of issues fixed in the current version of Linux Device Drivers.

Bug Number

Legacy ID

Description

Details

2338904, 2371610

NI Driver software fails to install on Linux kernel 5.16 or later with "stdbool.h: No such file or directory"

When installing certain NI drivers onto a Linux system using kernel version 5.16 or later, the installation fails at the "dkms autoinstall" step with an error such as:
Error! Bad return status for module build on kernel: 5.19.0-32-generic (x86_64)
Consult /var/lib/dkms/xxxxx/xxx/build/make.log for more information.

And the make.log file shows:
stdbool.h: No such file or directory

As of the 2023Q3 release, this affects the following drivers:
NI-Sync

Workaround:

After running
sudo apt install <ni-driver> 

(or equivalent yum or zypper command)


Edit the /usr/src/{driver}-{version}/Kbuild (or /usr/src/ni-sync-pxi6683-{version}/src/Makefile) file and add the following under the existing EXTRA_CFLAGS lines:
EXTRA_CFLAGS += -isystem $(shell $(CC) -print-file-name=include)


Then rerun
sudo apt install <ni-driver> 

(or equivalent yum or zypper command)

Reported Version:

NI Linux Device Drivers 2022 Q4 | NI-488.2 2022 Q4 | NI-Sync 2023 Q1

Resolved Version:

NI Linux Device Drivers 2023 Q4

Added:

Apr 27, 2023

Additional Patch Information

Installing some patches may require certain additional steps or considerations. Please refer to the following table for more information about patches for this release.

These patches currently do not have any special instructions.

Glossary of Terms

 

  • Bug ID - When an issue is reported to NI, you may be given this ID or find it on ni.com.  You may also find IDs posted by NI on the discussion forums or in KnowledgeBase articles.
  • Legacy ID – An older issue ID that refers to the same issue.  You may instead find this issue ID in older known issues documents.
  • Description - A few sentences which describe the problem. The brief description given does not necessarily describe the problem in full detail.
  • Workaround - Possible ways to work around the problem.
  • Reported Version - The earliest version in which the issue was reported.
  • Resolved Version - Version in which the issue was resolved or was no longer applicable. "N/A" indicates that the issue has not been resolved.
  • Date Added - The date the issue was added to the document (not the reported date).