05-28-2011 01:03 PM
Hi all,
I have been trying finish to install my NI-PCI 5122, when I run nilsdev it
gives me the error:
libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
Aborted
I ran updateNIDrivers but it didn't help. I have been checking the NI Developer Zone regarding similar issues. I made sure Module.symvers corresponded to the kernel I am running, and I did make cloneconfig and modules_prepare as in https://decibel.ni.com/content/thread/8785. niSystemReport accused the following:
>> cat system.log | grep nipal
May 28 14:24:16 ssoct nilsdev: [libnipalu.so.2.5] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
May 28 14:24:16 ssoct nilsdev: [libnipalu.so.2.5] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
May 28 14:24:16 ssoct nilsdev: [libnipalu.so.2.5] Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204
May 28 14:24:24 ssoct nilsdev: [libnipalu.so.2.5] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
May 28 14:24:24 ssoct nilsdev: [libnipalu.so.2.5] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
May 28 14:24:24 ssoct nilsdev: [libnipalu.so.2.5] Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204
/lib/modules/2.6.34.8-0.2-pae/kernel/natinst/nipal/nipalk.ko:
nNIVersion_OriginalFilename=nipalk-unversioned.o
nNIVersion_Comments=2010/06/02 16:10:24, nipalk-unversioned/linux-2.4K/i386/gcc-3.2/release
/usr/local/natinst/nipal/lib/libnipalu.so.2.5.4:
nNIVersion_OriginalFilename=libnipalu.so.2.5.4
nNIVersion_Comments=2010/06/02 16:10:24, libnipalu.so.2.5/linuxU/i386/gcc-3.2/release
/usr/local/natinst/nipal/etc/services/libnidevldu.so.1.4.1:
/usr/local/natinst/nipal/etc/services/libnipxirmu.so.1.6.0:
[ 38.900931] [nipal] More than 4GB of addressable memory detected.
[ 38.900934] [nipal] This configuration is not supported. Check the release notes for more information.
I tried to start nipal manually using the following:
>> sudo /etc/init.d/nipal start
root's password:
FATAL: Error inserting nipalk (/lib/modules/2.6.34.8-0.2-pae/kernel/natinst/nipal/nipalk.ko): Kernel does not have module support
error: nipalk failed to load
possible causes:
nipalk was not versioned for this kernel (2.6.34.8-0.2-pae)
modules are not enabled for this kernel (CONFIG_MODULES)
unresolved symbols
possible solution:
if you recently installed a new kernel or have rebooted to
a different kernel then you were previously running then run
/usr/local/bin/updateNIDrivers
to version your NI drivers for kernel 2.6.34.8-0.2-pae
the "Kernel does not have module support" is does not make sense to me since:
>> cat /usr/src/linux/.config | grep CONFIG_MODULES
CONFIG_MODULES=y
more details below, I attached the niSystemReport too, can somebody help?
I am using openSUSE 11.3
>> rpm -qa| grep ^ni
nivisak-5.0.0-f0.i386
niIviEngine-2.4.0-f3.i386
nihsd-1.7.0-f0.i386
nivisa-devel-3.5.0-f1.i386
nimru2i-2.4.1-f0.i386
nidaqmxcfgi-1.4.0-f0.i386
nipalki-2.5.4-f0.i386
nimdnsresponder-1.1.0-f3.i386
nidimi-1.3.1-f0.i386
nimxpi-1.4.1-f0.i386
nidaqmxinfi-8.0.1-f0.i386
nigpl-1.0.7-f1.i386
nirpci-4.2.0-f0.i386
nikali-2.1.0-f0.noarch
nicvirte-5.0.1-3.i386
nipali-2.5.4-f0.i386
nivisa-5.0.0-f0.i386
nimdbgi-1.3.1-f0.i386
nipxirmi-1.6.0-f0.i386
nimxs-4.0.1-3007.i386
nitclk-1.4.1-f1.i386
niorbi-1.9.3-f0.i386
nivisa-config-3.5.0-f1.i386
nimxdfi-1.4.1-f1.i386
nidaqmxef-1.4.1-f2.i386
nidaqmxhelp-1.0.0-f0.i386
niscope-3.1.0-f0.i386
05-31-2011 09:52 AM
[ 38.900931] [nipal] More than 4GB of addressable memory detected.
[ 38.900934] [nipal] This configuration is not supported. Check the release notes for more information.
Sorry, you'll have to pass "mem=4096M" as kernel boot parameter as nipal won't work if addressable memory is > 4G on 32bit machines.
If you need > 4G, you'll need 64bit Linux.. but I don't know if DAQ or other things support it..
I know it's a pain, sorry man
05-31-2011 09:59 AM
If you need > 4G, you'll need 64bit Linux.. but I don't know if DAQ or other things support it..
I know it's a pain, sorry man
Only NI-VISA and NI-488.2 support 64-bit Linux.
05-31-2011 12:12 PM
It worked! thank you so much!