Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQmx on Ubuntu 22.04 with HWE?

Solved!
Go to solution

Hi,

I would like to use the NI-DAQmx on Ubuntu 22.04. It seems to work fine with the original kernel, v5.15 (to be precise, v5.15.0-91). However, if I use the newer kernel, from the "hardware enablement" stack, v6.5, the dkms modules fail to build. Essentially, when building nikal, it fails with:

  CC [M]  /var/lib/dkms/nikal/23.8.0f102/build/nikal.o
  MODPOST /var/lib/dkms/nikal/23.8.0f102/build/Module.symvers
ERROR: modpost: "__pte_offset_map" [/var/lib/dkms/nikal/23.8.0f102/build/nikal.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:144: /var/lib/dkms/nikal/23.8.0f102/build/Module.symvers] Error 1
make[1]: *** [Makefile:1989: modpost] Error 2

This newer kernel does work better with my computer, so I'd rather use that one if possible. Is this error known? Is there already a plan to support this newer kernel soon?

Best,

Éric

0 Kudos
Message 1 of 3
(806 Views)
Solution
Accepted by topic author pieleric

This is a known issue.  I would expect this to be corrected in the coming quarterly driver stack release.  In the mean time, if you can somehow use the 6.2 HWE kernel, that may work.

Message 2 of 3
(799 Views)

@pieleric The landing page hasn't been updated yet (that's coming very soon), but the Linux driver feeds have been updated for 2024 Q1.   The top-level Ubuntu 22.04 package can be found here: http://download.ni.com/ni-linux-desktop/2024/Q1/ni-ubuntu2204-firstlook-drivers-2024Q1.deb

 

Edit: The landing page now has links to the 2024 Q1 drivers: https://www.ni.com/en/support/downloads/drivers/download.ni-linux-device-drivers.html

0 Kudos
Message 3 of 3
(538 Views)