Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6534 not found anymore

Hi all,

I had a PCI 6534 plugged into a Linux machine running OpenSUSE 11.2 with a realtime patch. It was working earlier this year using the NI-DAQmx 8.0.2, but ever since it was transfered to another machine (running Windows with LabView 2011) and back, it stopped working. I tried to put it back to the Windows machine to see if there was anything I could do through MAX, but it was not successful. Also tried running updateNIDrivers without any luck.

lspci finds the card

nilsdev does not return anything

lsdaq can't be found in the system

all modules seem to be up and running according to https://decibel.ni.com/content/docs/DOC-15450

I'm working on reinstalling the drivers now. Any help is welcome.

Edit:

"uname -a": Linux grable20 2.6.33.7.2-rt30-0.1-desktop #1 SMP PREEMPT RT Mon Mar 19 10:32:32 EDT 2012 i686 i686 i386 GNU/Linux

running "nidaqmxconfig --export config" as in http://forums.ni.com/t5/Digital-I-O/nidaqmxconfig-gives-error-2147220712/m-p/1007441/highlight/true#... gives "Error -2147220721"

running "DAQmxTestPanels" gives

"Can't load LabVIEW runtime library /usr/local/lib/liblvrt.so.8.0

libOSMesa.so.4: cannot open shared object file: No such file or directory"

0 Kudos
Message 1 of 2
(4,349 Views)

Reinstallation step-by-step

- Uninstalling the drivers

     lsmod (shows ni module)

     wget http://ftp.ni.com/support/softlib/multifunction_daq/nidaqmx/8.0.2LinuxOnly/DAQmx802f0.iso

     mkdir -p /mnt/iso

     sudo mount -t iso9660 -o loop DAQmx802f0.iso /mnt/iso

     sudo /mnt/iso/UNINSTALL

     lsmod (shows no ni module)

     sudo /sbin/reboot

     lsmod (still shows no ni module - ok)

- Start following these instructions https://decibel.ni.com/content/docs/DOC-15450

- Install NI-KAL

     cd lucas/spi/

     mkdir DAQmxInstall

     cd DAQmxInstall

     mkdir VISA

     cd VISA

     (skipping the installation of tools and kernel source since that was already done)

     cd rpm

     sudo rpm -ivh nikali-2.0.0-f0.noarch.rpm

     cd /usr/local/natinst/nikal/bin

     . nikaliInstallerUtility.sh

     nikaliPostInstall (gives error about not being root when running /usr/local/bin/updateNIDrivers)

     sudo /usr/local/bin/updateNIDrivers

     sudo /sbin/reboot

     (rebooting)

     sudo modprobe nikal

     lsmod (nikal is there - "nikal                  59011  0")

- Install DAQmx with the script

     cd lucas/spi/DAQmxInstall/DAQmx (to daqmx path)

     sudo ./INSTALL --nodeps

     [y, y, y, <enter>, y, <enter>, y, <enter>, y, <enter>, y, (installing...)]

     (NI-DAQmx for Linux Installer Distribution Installation completed successfully.)

     sudo /sbin/reboot

     (rebooting...)

     cd /lib/modules/$(uname -r)/build/include/linux

     sudo ln -s ../generated/utsrelease.h

     sudo ln -s ../generated/autoconf.h

- Re-install NI-KAL

     cd lucas/spi/DAQmxInstall/VISA/rpms

     sudo rpm -e --nodeps nikali

     sudo rpm -ivh nikali-2.0.0-f0.noarch.rpm

     cd /usr/local/natinst/nikal/bin

     . nikaliInstallerUtility.sh

     nikaliPostInstall (gives error about not being root when running /usr/local/bin/updateNIDrivers. trying again as sudo su)

     sudo su -

     cd /usr/local/natinst/nikal/bin

     . nikaliInstallerUtility.sh

     nikaliPostInstall ("WARNING: could not unload module nimru2k from memory"? "WARNING: could not unload module nipxirmk from memory"?)

     sudo /sbin/reboot

     (rebooting...)

     sudo su -

     cd /usr/local/natinst/nikal/bin

     ./updateNIDrivers ("WARNING: could not unload module nimru2k from memory"? "WARNING: could not unload module nipxirmk from memory"? Said yes to rebooting)

     (rebooting...)

     lsmod | grep ni (ALMOST exactly the same)

     ("nimru2k               427897  1

     nimxpk                 33632  0

     nipxirmk              115018  1

     nidimk                320599  4 nimru2k,nipxirmk

     nimsdrk               231242  0

     nidmxfk               373944  1 nimsdrk

     nimxdfk               477896  4 nimru2k,nimsdrk,nidmxfk

     nimstsk                78141  2 nimsdrk,nidmxfk

     nimdbgk               360232  6 nimru2k,nimsdrk,nidmxfk,nimxdfk,nimstsk

     niorbk                 95647  8 nimru2k,nipxirmk,nidimk,nimsdrk,nidmxfk,nimxdfk,nimstsk,nimdbgk

     nipalk               1225168  13 nimru2k,nimxpk,nipxirmk,nidimk,nimsdrk,nidmxfk,nimxdfk,nimstsk,nimdbgk,niorbk

     nikal                  59011  1 nipalk")

     nilsdev (doesn't return a single thing)

     sudo nilsdev (doesn't return a single thing)

     /sbin/lspci ("04:02.0 Class ff00: National Instruments Device 12b0 (rev 01)")

    

     sudo find / -name lsdaq (returns nothing)

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