Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to get my PCI-6259 recognized using updateNIDrivers - Unable to compile and install nipalk.ko

I was hoping to use the PCI-6259 on a 64-bit processor running a Redhawk 5.1 linux kernel (based off Redhat 5.0).  I realize 64-bit linux processors are not supported and of course when I tryed doing the updateNIDrivers using this kernel I got errors regarding kernel sources not matching ... I don't recall the exact errors now that I completely change my environment.  I tried to regress alittle and booted the redhat 2.6.18-53.1.14.el5 kernel residing on this computer and unistalled previous NIDAQmxBase 3.1.0-f2 driver files and reinstalled for this kernel.   Everything seemed to get installed correctly.  Then in an effort to again try and get my device recognized I ran lsdaq which again complained about libnipalu.so failing to initialize ...
So then I ran updateNIDrivers which complained about nipalk.ko not being found and i need to compile and install it.  How do i do this.  Where is the source and makefile for the nilapk?
 
Thanks in advance,
Alicia
0 Kudos
Message 1 of 4
(3,411 Views)
nipalk.ko is distributed as a 32-bit binary and updateNIDrivers simply configures that binary for your current kernel.  Unfortunately as you may be aware a 64-bit kernel requires 64-bit kernel modules, so the 32-bit nipalk.ko will not work.  At this point we do have a 64-bit version of nipalk.ko, however nipalk.ko is just a core driver component shared by many NI drivers and there are other kernel components needed to make NI-DAQmx Base work on 64-bit Linux.  Until we provide a version of NI-DAQmx Base that does officially support 64-bit Linux you will have to use a 32-bit kernel.

Is there a reason you need a 64-bit kernel?  The only major advantage of using a 64-bit kernel is if your system contains more than 4 GB of RAM.

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 4
(3,400 Views)

I've moved my NI PCI-6259 to a different machine which is 32-bit.  The kernel is also different though ... RHEL 4, 2.6.9-34.EL.  I'm still having problems getting the device recognized.  The make of the nikal module is failing.  I see erros about mismatched gcc compilers.  How can I fix this.  I'm attaching the niSystemReport.out.gz file.

thanks,

Alicia

0 Kudos
Message 3 of 4
(3,361 Views)
Are you sure that making nikal.ko is failing?  Looking at the niSystemReport it appears that everything is compiling.  The niSystemReport does show that the kernel modules are not loaded so there may still be a problem there.  Try rebooting the machine and then run :

dmesg > dmesg.log

That should let us see why they are not loaded.

Shawn Bohrer
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 4 of 4
(3,356 Views)