ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

libnipalu.so failed to initialize openSUSE 11.2 nidaqmxbase-3.4.0

Hi,

I've been trying to detect NI USB-6501 on lsdaq but it's giving me the following error:

libnipalu.so failed to initialize
Perhaps you need to run updateNIDrivers
/usr/local/bin/lsdaq: line 7:  7391 Aborted                 /etc/natinst/nidaqmxbase/bin/daqmxbase_listdevices

The same happens even after I run updateNIDrivers

Elsewhere I found that having more than 4GB ram on 32-bit system may be a problem, so I removed 4 GB (out of the 8 GB originally) to see if it works, but the problem persists.

I have attached the output from "sudo niSystemReport"

and here is the output from rpm -qa

>> rpm -qa| grep "^ni"

niorbi-1.9.3-f0.i386

nivisaserver-5.0.0-f0.i386

nicvirte-8.0-7.i386

nispyi-2.7.2-f0.i386

nidaqmxbase-usb-support-3.4.0-f2.i386

nirpci-4.2.0-f0.i386

nipalki-2.5.4-f0.i386

nivisak-5.0.0-f0.i386

nivisa-config-5.0.0-f0.i386

nimdnsresponder-1.1.0-f3.i386

nipali-2.5.4-f0.i386

nivisa-5.0.0-f0.i386

nivisa-devel-5.0.0-f0.i386

nidaqmxbase-common-3.4.0-f2.i386

nikali-2.0.0-f0.noarch

nipxirmi-1.6.0-f0.i386

nidaqmxbase-cinterface-3.4.0-f2.i386

nidimi-1.10.0-f0.i386

nidaqmxbase-board-support-3.4.0-f2.i386

Also, here is how my /usr/src directory looks:
>> /usr/src> ls -lrt
total 16
drwxr-xr-x  8 root root 4096 2009-11-02 17:37 packages
lrwxrwxrwx  1 root root   18 2011-01-11 22:44 linux -> linux-2.6.31.5-0.1
drwxr-xr-x  3 root root 4096 2011-01-11 23:06 linux-obj
drwxr-xr-x  3 root root 4096 2011-01-11 23:06 linux-2.6.31.5-0.1-obj
drwxr-xr-x 25 root root 4096 2011-01-12 22:06 linux-2.6.31.5-0.1
lrwxrwxrwx  1 root root   18 2011-01-12 22:21 linux-2.6.31.5-0.1-default -> linux-2.6.31.5-0.1
Please note the symbolic link of linux-XXX-default to linux-XXX. I couldn't find the source for this exact name so I ran INSTALL after making the link (could this be a problem?)
Thanks for your time!

0 Kudos
Message 1 of 23
(15,306 Views)

Hi,

have you tried as root

cd /usr/src/linux\
make mrproper
zcat /boot/symvers-<version>.gz > Module.symvers
make cloneconfig
make modules_prepare
updateNIDrivers

additionally you can/should specify the kernel option mem=4096M. Removing the physical memory is not necessary, afaik.

You may want to follow this instruction, to avoid performance issues.

0 Kudos
Message 2 of 23
(7,089 Views)

That sounds like a great idea.

I found this: "[   16.671263] nikal: no symbol version for module_layout" in line 2995 of your system report..

Smells like Module.symvers problem.

Try MTer idea. Thx MTer!

0 Kudos
Message 3 of 23
(7,088 Views)

Got it to work!!

The device was detected and needed a firmware update.

Thanks very much MTer and irwan.

0 Kudos
Message 4 of 23
(7,088 Views)

Can you help me?

I got error on:

"zcat /boot/symvers-<version>.gz > Module.symvers"

Module.symvers : access denied.

0 Kudos
Message 5 of 23
(7,089 Views)

Hello Decadence,

are you superuser?

kind regards,

Robert

0 Kudos
Message 6 of 23
(7,089 Views)

Hello RobertH!

Thanks for your quick response.

I forgot to login as root, now problem is solved. But I have the next one - I followed instruction above, "updateNIDrivers" successfully completed, but "lsdaq" return the same message:

"libnipalu.so failed to initialize".

I have a NI PCI-6731.

0 Kudos
Message 7 of 23
(7,089 Views)

Do you have 4GB or more RAM?

If so you can append "memmap=60G$0x100000000" as kernel parameter, see here.

0 Kudos
Message 8 of 23
(7,089 Views)

Yes I do.

I read that topic but I don't understand where exactly I should use this parameter? Could you help me?

0 Kudos
Message 9 of 23
(7,089 Views)

Assuming you have the grub bootloader, you can put the parameter in the file "/boot/grub/menu.lst" at the end of the kernel line of the kernel you use i.e.:

kernel <kernel-image> root=<root-filesystem> ... parameters ...  memmap=60G$0x100000000

0 Kudos
Message 10 of 23
(7,089 Views)