Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't install NI-KAL on Centos 5.4

Hello,

 

I am having difficulty installing NI-KAL (tried up to version 1.10) on my Centos 5.4 system.

 

When running updateNIDrivers it fails to start, but with no usefull messages (see below).

 

Running modprobe nikal gives the message "FATAL: Error inserting nikal (/lib/modules/2.6.18-164.6.1.el5PAE/kernel/natinst/nikal/nikal.ko): Kernel does not have module support"

 

.. and then looking a dmesg I see (in addition to the warning about non-GPL module)

 

[nikal] More than 4GB of addressable memory detected.
[nikal] This configuration is not supported.  Check the release notes for more information.

although this machine has exactly 4GB of RAM so should not be a problem.

 

I believe I have all the kernel sources and other necessary stuff installed (have done this procedure many times before on other systems) and have LabVIEW 2009, daqMXbase etc installed without problem.

 

I already tried the procedure suggested here [http://forums.ni.com/ni/board/message?board.id=250&message.id=36537] and also tried adding mem=4096MB to my grub kernel config.

 

Any help would be much appreciated as I need to get this working asap.

--

Richard

 

 

Build messages:

 

Updating NI-KAL:
 NI-KAL update failed.
 
/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.18-164.6.1.el5PAE/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.6.1.el5-PAE-i686'
  CC [M]  /usr/local/natinst/nikal/src/objects/nikal.o
In file included from /usr/local/natinst/nikal/src/objects/nikal.c:33:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from /usr/local/natinst/nikal/src/objects/nikal.c:33:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
  Building modules, stage 2.
  MODPOST
WARNING: modpost: GPL-incompatible module nikal.ko uses future GPL-only symbol 'usb_deregister'
WARNING: modpost: GPL-incompatible module nikal.ko uses future GPL-only symbol 'usb_register_driver'
  CC      /usr/local/natinst/nikal/src/objects/nikal.mod.o
  LD [M]  /usr/local/natinst/nikal/src/objects/nikal.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.6.1.el5-PAE-i686'
Installing NI-KAL (nikal): Starting NI-KAL failed!
make: *** [install] Error 1
 
ERROR: make of nikal kernel module failed, not installing kernel module.
   updateNIDrivers should be called again after fixing the problem.
   Logging failure...
   Include the file /tmp/niSystemReport.out.gz when contacting
   National Instruments for support.
 

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

It turns out the problem was that the kernel installed in centos 5.4 was compiled with PAE support.

Installing the regular version from the repo solved the problem.

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

Why can't NI make a driver that is compatible with the PAE kernel? In our application we need the extra memory that is allowed with PAE enabled. We do not have the option of going to a true 64 bit OS at this time as it is man years of effort to even qualify the millions of lines of code that our software is built from.

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