Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-KAL in SuSE Linux 11.4

NI-DAQmx Base brings user-mode drivers to Linux for several multifunction DAQ devices 🙂

Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 21 of 47
(1,594 Views)

Hello,

Well, I have decided to try the new version (2.9) of ni4882 in opensuse 11.4 (though in the readme only 11.2 and 11.3 appear as supported). It seemed to work pretty fine but I got the infamous libnipalu.so failed to initialize when executing gpibexplorer, although the installation apparently went well (only a couple of errors related to KDE and some mime types). I decided to uninstall (using the script provided in the package) and install again. The thing is that now, even when reporting a successful installation, nothing is actually installed:

>>

NI-488.2 version 2.9.0f0

is about to be installed using rpm at /usr/local/natinst

Would you like to continue? [Yn]

Installing NI-488.2 version 2.9.0f0...

Pre Installation .

Post Installation .

Pre Installation ............

Post Installation ............

FOR PATENTS COVERING NATIONAL INSTRUMENTS PRODUCTS, REFER TO

THE PATENTS.txt FILE ON /home/joan/Downloads/ni4882-2.9.0f0 AND/OR

www.ni.com/patents

NI-488.2 Installation completed successfully.

pc6113:/home/joan/Downloads/ni4882-2.9.0f0 # cd /usr/local/natinst/

pc6113:/usr/local/natinst # ls

share

pc6113:/usr/local/natinst # cd share/

pc6113:/usr/local/natinst/share # ls

etc

pc6113:/usr/local/natinst/share # cd etc/

pc6113:/usr/local/natinst/share/etc # ls

share.dir

pc6113:/usr/local/natinst/share/etc # cd

pc6113:~ #

>>

I have no gpibexplorer, no gpibtsw...

Any idea on what should I do to be able to actually install the thing again and proceed with the troublshooting?

Thanks.

0 Kudos
Message 22 of 47
(1,595 Views)

Look in your kernel log file (syslog.log or kern.log), typically when nipal doesn't start, it's because nikal could not load. For suse, most of the time, it's because some symbol could not be found.

Try reading: https://decibel.ni.com/content/thread/8785

As far as installation goes, I'm not sure what's going on there.. sorry.

0 Kudos
Message 23 of 47
(1,595 Views)

In regards to Gòl·lum's post...

I am installing Suse 11.4 and will try the same steps you took to reproduce the issue and investigate. I will update this forum when I get some more info about what is happening.

J. "Ox" Gibson
Systems Software / VISA Software Technician
National Instruments
-------------------------------------------------------------------------
That which doesn't kill me, better run REALLY fast.
0 Kudos
Message 24 of 47
(1,594 Views)

Gòl·lum,

     Did you install the 32 bit or 64 bit version of Suse 11.4?

J. "Ox" Gibson
Systems Software / VISA Software Technician
National Instruments
-------------------------------------------------------------------------
That which doesn't kill me, better run REALLY fast.
0 Kudos
Message 25 of 47
(1,594 Views)

32 bit.

0 Kudos
Message 26 of 47
(1,594 Views)

I got the installation to really succeed and now I am again with the

joan@pc6113:~> gpibexplorer

libnipalu.so failed to initialize

Perhaps you need to run updateNIDrivers

Aborted

I tried the operation suggested in the other post, though I had already done it (otherwise the installation would fail). Anyway, I repeated the zcat, cloneconfig and modules_prepare but the libnipalu.so error persists.

This is what I get in /var/log/messages (opensuse does not seem to use sys.log or kern.log):

Aug 23 12:11:35 pc6113 gpibexplorer: [nipalu]  Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2

Aug 23 12:11:35 pc6113 gpibexplorer: [nipalu]  Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204

Aug 23 12:11:35 pc6113 gpibexplorer: [nipalu]  Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204

Thanks for your reply.

0 Kudos
Message 27 of 47
(1,595 Views)

search /var/log/messages for nikal, see what it says

0 Kudos
Message 28 of 47
(1,595 Views)

This is what I get (after executing gpibexplorer)

pc6113:/home/joan # grep nikal /var/log/messages

Aug 23 10:51:11 pc6113 kernel: [  303.825096] nikal: module license 'Copyright (c) 2002-2011 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

Aug 23 10:54:08 pc6113 kernel: [   51.629389] nikal: module license 'Copyright (c) 2002-2011 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

Aug 23 11:00:01 pc6113 kernel: [   50.334596] nikal: module license 'Copyright (c) 2002-2011 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

Aug 23 11:08:25 pc6113 kernel: [   49.106368] nikal: module license 'Copyright (c) 2002-2011 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

Aug 24 16:03:39 pc6113 kernel: [   40.860541] nikal: module license 'Copyright (c) 2002-2011 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

pc6113:/home/joan #

It does not seem to be an error.

0 Kudos
Message 29 of 47
(1,595 Views)

OK, sounds like nikal is loading OK.

grep nipal /var/log/messages and see what it says, could be related to  http://130.164.140.171/content/message/23838

If there's no obvious clue, please attach the output of niSystemReport here, to minimize back-and-forth.

0 Kudos
Message 30 of 47
(1,595 Views)