04-06-2010 01:31 PM
Hi,
I am trying to install Ni-DAQmx Base 3.2 and (as a prerequisite) NI-VISA 4.4.
I am using CentOS 4.8.
Linux dhcp0.lab 2.6.9-89.0.23.EL #1 Wed Mar 17 06:22:05 EDT 2010 i686 i686 i386 GNU/Linux
I used yum to get /usr/src/kernels/2.6.9-89.0.23.EL-i686. At first I was getting an error about the kernel-source being missing but I edited nikal/src/configure because I believe that the kernel source that I have corresponds to the one on the system.
When I run the ni-visa INSTALL, I get an error about nipal/nipalk.ko being missing:
NI-VISA Runtime 4.4.0 requires NI-VISA Runtime Kernel 4.4.0.
This component has been selected automatically.
NI-VISA Development 4.4.0 requires CVI Runtime 8.0.
NI-VISA Configuration 4.4.0 requires CVI Runtime 8.0.
This component has been selected automatically.
NI-VISA Runtime 4.4.0 requires NI-ORB 1.9.0.
PXI Services 1.6.0 requires NI-ORB 1.9.0.
NI-ORB 1.9.0 (f0) already installed.
PXI Services 1.6.0 requires NI-DIM 1.9.0.
NI-DIM 1.9.0 (f0) already installed.
NI-ORB 1.9.0 requires NI-RPC 4.0.0.
NI-RPC 4.0.0 (f1) already installed.
NI-VISA Runtime 4.4.0 requires NI-PAL 2.3.0.
PXI Services 1.6.0 requires NI-PAL 2.3.0.
NI-DIM 1.9.0 requires NI-PAL 2.3.0.
NI-ORB 1.9.0 requires NI-PAL 2.3.0.
NI-PAL 2.3.0 (f1) already installed.
NI-PAL 2.3.0 requires NI-PAL Kernel Support 2.3.0.
NI-PAL Kernel Support 2.3.0 (f1) already installed.
NI-PAL 2.3.0 requires NI-KAL 1.8.0.
NI-KAL 1.8.0 (f0) already installed.
NI-VISA Development 4.4.0 requires LabVIEW Runtime 8.2.1.
NI Spy 2.6.0 requires LabVIEW Runtime 8.2.1.
LabVIEW Runtime 8.2.1 (2) already installed.
The following components will be installed using rpm:
NI-VISA Runtime 4.4.0 3113 KB (in /usr/local/vxipnp)
NI-VISA Runtime Kernel 4.4.0 109 KB (in /usr/local/vxipnp)
NI-VISA Development 4.4.0 9685 KB (in /usr/local/vxipnp)
NI-VISA Configuration 4.4.0 500 KB (in /usr/local/vxipnp)
NI-VISA Server 4.4.0 236 KB (in /usr/local/vxipnp)
CVI Runtime 8.0 8555 KB (in /usr/local/natinst/cvirte)
Total space required: 22198 KB
Space available: 222036856 KB
Continue? [Yn] y
Installing selected components ...
Preparing... ########################################### [100%]
1:nicvirte ########################################### [ 17%]
2:nivisak ########################################### [ 33%]
3:nivisa ########################################### [ 50%]
4:nivisa-devel ########################################### [ 67%]
5:nivisa-config ########################################### [ 83%]
6:nivisaserver ########################################### [100%]
Running NI-VISA Runtime Kernel Post Installation Script ...
Running NI-VISA Runtime Post Installation Script ...
error: /lib/modules/2.6.9-89.0.23.EL/kernel/natinst/nipal/nipalk.ko not found
error: Please compile and install nipalk.ko by running
error: updateNIDrivers
When I run updateNIDrivers, I see that nikal/nikal.ko is generated, but no nipal directory or nipal/nipalk.ko exists.
How can I obtain nipalk.ko? Why isn't it being generated? After "Installing selected components" why aren't these percentages all 100%?
Any advice or similar experiences would be very much appreciated. Thank you for your time.
Regards,
Melissa Soriano
Tracking Systems and Applications
Jet Propulsion Laboratory
04-08-2010 12:47 AM
Preparing... ########################################### [100%]
1:nicvirte ########################################### [ 17%]
2:nivisak ########################################### [ 33%]
3:nivisa ########################################### [ 50%]
4:nivisa-devel ########################################### [ 67%]
5:nivisa-config ########################################### [ 83%]
6:nivisaserver ########################################### [100%]After "Installing selected components" why aren't these percentages all 100%?
This is the behavior. The rpm -h output that these hashes come from adds up to 100% after everything is finished. Each line is just showing how far along you are towards completion of installing all rpm packages.
Not getting the nipalk.ko is a little odd though given the information you've posted so far. Could you give some more info? 2 things that might be helpful are:
- output of updateNIDrivers
- output of niSystemReport (this is really big, run `niSystemReport > system.log` and post system.log)
Looking to make sure that updateNIDrivers is actually trying to update nipalk, and niSystemReport will tell us many things including what binaries are installed on your system.
04-26-2010 03:14 PM
It turned out that UNISTALL was not sucessfully uninstalling the current NI-DAQmx Base package completely. Subsequent modifications and installations had no effect because the previous NI-DAQmx package was still in place. We removed the package using "rm", reninstalled, and were able to find the NI card using nilidev and get data back using DAQmxTestPanels.
Please note that at first, the card was installed in slot 2 and was not found by nilidev. We moved the card to slot 0 and the card was recognized successfully.