Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

nipalk fails to compile on Centos 7, NI-software 2019

Solved!
Go to solution
Highlighted

We are attempting to use ni-software-2019-19.2.0.49152-0+f0.el7

 

Everything installs without error, but the nipalk driver does not build, even after rebooting. Thus we're unable to use our pci interface.

 

 

cat /var/lib/dkms/nipalk/19.0.0f0/build/make.log
DKMS make.log for nipalk-19.0.0f0 for kernel 3.10.0-1127.13.1.el7.x86_64 (x86_64)
Tue Jul 7 18:38:57 EDT 2020
Making nipalk.ko
SHIPPED /var/lib/dkms/nipalk/19.0.0f0/build/nipalk-bin.o
CC [M] /var/lib/dkms/nipalk/19.0.0f0/build/nipalk-interface.o
/bin/sh: line 1: 7665 Killed ./tools/objtool/objtool check "/var/lib/dkms/nipalk/19.0.0f0/build/nipalk-interface.o"
make[2]: *** [/var/lib/dkms/nipalk/19.0.0f0/build/nipalk-interface.o] Error 137
make[1]: *** [_module_/var/lib/dkms/nipalk/19.0.0f0/build] Error 2
make: *** [nipalk.ko] Error 2

 

Our machine details:

CentOS Linux release 7.8.2003 (Core)

Kernel: 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Hardware: 1gig of ram. CPU: Intel(R) Core(TM)2 CPU 6600

 

 

0 Kudos
Message 1 of 4
(278 Views)
Highlighted

More details on our issue. From /var/log/messages:

 

Jul 16 15:40:35 rac14rac0 nipal: error: nipalk.ko not found
Jul 16 15:40:35 rac14rac0 nipal: possible cause:
Jul 16 15:40:36 rac14rac0 nipal: nipalk was not versioned for kernel 3.10.0-1127.13.1.el7.x86_64
Jul 16 15:40:36 rac14rac0 systemd: nipal.service: control process exited, code=exited status=1
Jul 16 15:40:36 rac14rac0 systemd: Failed to start LSB: NI Core Driver Services.
Jul 16 15:40:36 rac14rac0 systemd: Unit nipal.service entered failed state.

 

In the past we could fix issues like this by running the updateNIdriver command, but that isn't provided anymore with the 2019 software.

0 Kudos
Message 2 of 4
(167 Views)
Highlighted

Just adding more details. This is from /var/log/messages

 

Jul 16 16:33:16 rac14rac0 sh: Consult /var/lib/dkms/nipalk/19.0.0f0/build/make.log for more information.
Jul 16 16:33:19 rac14rac0 systemd: Started Builds and install new kernel modules through DKMS.
Jul 16 16:33:21 rac14rac0 systemd: Starting LSB: NI Core Driver Services...
Jul 16 16:33:21 rac14rac0 systemd: Starting LSB: rebind_nismbusd...
Jul 16 16:33:23 rac14rac0 nipal: error: nipalk.ko not found
Jul 16 16:33:23 rac14rac0 nipal: possible cause:
Jul 16 16:33:23 rac14rac0 systemd: nipal.service: control process exited, code=exited status=1
Jul 16 16:33:23 rac14rac0 nipal: nipalk was not versioned for kernel 3.10.0-1127.13.1.el7.x86_64
Jul 16 16:33:23 rac14rac0 systemd: Failed to start LSB: NI Core Driver Services.
Jul 16 16:33:23 rac14rac0 systemd: Unit nipal.service entered failed state.
Jul 16 16:33:23 rac14rac0 systemd: nipal.service failed.
Jul 16 16:33:23 rac14rac0 systemd: Starting LSB: niroco...
Jul 16 16:33:23 rac14rac0 systemd: Starting LSB: nipxicmsd...
Jul 16 16:33:23 rac14rac0 systemd: Starting LSB: NI GPIB enumeration service...
Jul 16 16:33:24 rac14rac0 gpibenumsvc: /etc/rc.d/init.d/gpibenumsvc: line 87: error:: command not found
Jul 16 16:33:25 rac14rac0 kernel: ni488k: Unknown symbol _46020aaee934d79ec654a9e2d2c1b3b9 (err 0)
Jul 16 16:33:25 rac14rac0 kernel: ni488k: Unknown symbol _ZNK21tTimerTimebasePrecise15getCounterValueEPi (err 0)

 

In the past we could fix issues like this by running updateNIdrivers, but this command is not provided with the 2019 software.

0 Kudos
Message 3 of 4
(168 Views)
Highlighted
Solution
Accepted by topic author Kevitivity

Update: Adding more ram to this computer fixed the issue. The drivers build and load fine now.

 

Many Thanks to Marina and support for putting up with us!

0 Kudos
Message 4 of 4
(135 Views)