Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-KAL 1.10 Beta (Latest) & Opensuse

Shawn,

I noticed an update to NI-KAL on ftp.ni.com, version 1.10Beta with support for Opensuse 11.1...although I had thought that there was support for it in the previous release I have a question regarding Opensuse and NI-KAL. The installation notes says that it requires kernel-syms and kernel-source for 11.0 and 11.1. However, I managed to get a backport kernel for 11.0 which is version 2.6.27.x and installed kernel-source and the stock kernel-default rpms. It wouldn't let me install kernel-syms from another repo for want of dependencies.

Now, I followed the installation instructions, prepped the kernel and installed the latest NI-KAL/NI-VISA...the installation was successful.After rebooting the first time, I got an error saying that the modules in /lib/modules could not be inserted and thus nikal wasn't loaded. I then ran the updateNIdrivers script and it was successful again...rebooted. Now, this time around I didn't get the message, NI drivers were loaded:-

anshul@linux-l89b:~> lsmod | grep ni
nipxirmk              121528  1
nidimk                374624  2 nipxirmk
niorbk                118036  2 nipxirmk,nidimk
nipalk               1402928  5 nipxirmk,nidimk,niorbk
nikal                  57672  3 nipalk
anshul@linux-l89b:~>

dmesg from the command line fetches this blurb for nikal:-

nikal: module license 'Copyright (c) 2002-2009 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.
Symbol init_mm is marked as UNUSED, however this module is using it.
This symbol will go away in the future.
Please evalute if this is the right api to use and if it really is, submit a report the linux kernel mailinglist together with submitting your code for inclusion.

My question is, does this mean that the NI-KAL and NI-VISA installation is successful? I hope Labview doesn't crash on me while running VISA

0 Kudos
Message 1 of 3
(3,667 Views)

anshuljain wrote:

Shawn,

I noticed an update to NI-KAL on ftp.ni.com, version 1.10Beta with support for Opensuse 11.1...although I had thought that there was support for it in the previous release

Hmm, that is actually the NI-KAL 1.10 final but it appears the naming and links did not get updated.  I'll work on getting that fixed.  The NI-KAL 1.10 final does provide beta support for openSUSE 11.1.  It is still only beta support because you still need to run updateNIDrivers at least once for it to work.

The installation notes says that it requires kernel-syms and kernel-source for 11.0 and 11.1. However, I managed to get a backport kernel for 11.0 which is version 2.6.27.x and installed kernel-source and the stock kernel-default rpms. It wouldn't let me install kernel-syms from another repo for want of dependencies.

I don't have an openSUSE 11.1 system in front of me at the moment, but what you need to have is the /boot/symvers-<version>.gz file.  I thought that was provided by the kernel-syms package, but maybe not.

I then ran the updateNIdrivers script and it was successful again...rebooted. Now, this time around I didn't get the message, NI drivers were loaded:-

anshul@linux-l89b:~> lsmod | grep ni
nipxirmk              121528  1
nidimk                374624  2 nipxirmk
niorbk                118036  2 nipxirmk,nidimk
nipalk               1402928  5 nipxirmk,nidimk,niorbk
nikal                  57672  3 nipalk
anshul@linux-l89b:~>

My question is, does this mean that the NI-KAL and NI-VISA installation is successful? I hope Labview doesn't crash on me while running VISA

Well, you ran updateNIDrivers and looks like all of the kernel modules loaded, so I would say it was successful.  LabVIEW shouldn't crash when you drop some VISA VIs on the block diagram.

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 3
(2,987 Views)

Thanks for the reply Shawn. I don't wanna upgrade to 11.1 as X.org is seriously borked for Intel Graphics Cards 11.0 works really well for me...and so does Mandriva 2009.0.The

On a slightly different node, I would like to get in touch with you offline over email over NI-KAL, if thats okay with you. My email ID is anshulj (at) tejasnetworks (dot)com

0 Kudos
Message 3 of 3
(2,987 Views)