11-15-2013 02:29 PM - edited 11-15-2013 02:30 PM
I am using a NI PCI-6123 in a redhat 5 system.
I tried running the DAQmxTestPanels
I get the following error:
libnipalu.so failed to initialize
I have attached niSystemReport output.
Eric
11-18-2013 09:16 AM
Hi EricYChoi,
Unfortunately I am unable to view the attached system report and I just wanted to ask a few questions.
What version of NI-DAQmx Base do you have installed?
Are you running Red Hat Enterprise Linux Desktop and Workstation 5.0?
Have you been able to connect to this device on a Linux machine before? If yes, what changes have occurred since?
11-18-2013 03:56 PM - edited 11-18-2013 04:06 PM
Sam,
I am not sure what is going on with the log. I will try to extract it again.
I am using Red Hat Enterprise Linux Client release 5.10
the NI-DAQmx I have installed is 8.0.2
this is my first attempt at using Linux with NI devices. I am new to linux as well. My project requires use of linux.
Eric
11-19-2013 05:40 PM
EricYChoi,
I am looking through the log currently, thank you for providing it the second time.
Are you able to see your NI PCI-6123 in the device manager?
I also wanted to ask if you could provide the output of:
rpm -qa | grep ^ni
11-19-2013 06:05 PM
[d3m195@WE12341_Linux5 ~]$ rpm -qa | grep ^ni
niscarabmm-1.2.1-f0.i386
nidimi-1.9.0-f0.i386
nidaqmxcapihelp-1.6.1-f0.i386
niscxi-1.5.1-f0.i386
nimxpi-1.4.1-f0.i386
nidaqmxef-1.4.1-f3.i386
nidaqmxswitch-1.6.1-f0.i386
nidaqmxhelp-1.0.2-f0.i386
nipali-2.6.3-f0.i386
nimxdfi-1.4.1-f1.i386
nipxirmi-1.6.0-f0.i386
nimxs-4.0.1-3007.i386
nidaqmxcfgi-1.4.0-f0.i386
nidaqmxcapii-1.6.1-f0.i386
nirpci-4.0.0-f1.i386
nipalki-2.6.3-f0.i386
nimdbgi-1.3.1-f0.i386
nimru2i-2.4.1-f0.i386
nidaqmxcapiexmp-1.6.1-f0.i386
nitimingi-1.5.2-f0.i386
ni653x-1.1.1-f0.i386
nikali-2.1.0-f0.noarch
nistci-1.3.3-f0.i386
nicdigi-1.5.1-f0.i386
nidsai-1.5.1-f0.i386
niorbi-1.9.0-f0.i386
nidaqmxinfi-8.0.1-f0.i386
nimioi-1.7.2-f0.i386
[d3m195@WE12341_Linux5 ~]$
how do I find device manager? is it in gnome? or a command?
11-19-2013 06:10 PM
[d3m195@WE12341_Linux5 ~]$ sudo scanpci
pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x25c0
Intel Corporation Workstation Memory Controller Hub
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x25e2
Intel Corporation Server PCI Express x4 Port 2
pci bus 0x0000 cardnum 0x03 function 0x00: vendor 0x8086 device 0x25e3
Intel Corporation Server PCI Express x4 Port 3
pci bus 0x0000 cardnum 0x04 function 0x00: vendor 0x8086 device 0x25fa
Intel Corporation Server PCI Express x16 Port 4-7
pci bus 0x0000 cardnum 0x05 function 0x00: vendor 0x8086 device 0x25e5
Intel Corporation Server PCI Express x4 Port 5
pci bus 0x0000 cardnum 0x06 function 0x00: vendor 0x8086 device 0x25e6
Intel Corporation Server PCI Express x4 Port 6
pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x8086 device 0x25e7
Intel Corporation Server PCI Express x4 Port 7
pci bus 0x0000 cardnum 0x10 function 0x00: vendor 0x8086 device 0x25f0
Intel Corporation Server Error Reporting Registers
pci bus 0x0000 cardnum 0x10 function 0x01: vendor 0x8086 device 0x25f0
Intel Corporation Server Error Reporting Registers
pci bus 0x0000 cardnum 0x10 function 0x02: vendor 0x8086 device 0x25f0
Intel Corporation Server Error Reporting Registers
pci bus 0x0000 cardnum 0x11 function 0x00: vendor 0x8086 device 0x25f1
Intel Corporation Reserved Registers
pci bus 0x0000 cardnum 0x13 function 0x00: vendor 0x8086 device 0x25f3
Intel Corporation Reserved Registers
pci bus 0x0000 cardnum 0x15 function 0x00: vendor 0x8086 device 0x25f5
Intel Corporation Server FBD Registers
pci bus 0x0000 cardnum 0x16 function 0x00: vendor 0x8086 device 0x25f6
Intel Corporation Server FBD Registers
pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x269a
Intel Corporation Enterprise Southbridge High Definition Audio
pci bus 0x0000 cardnum 0x1c function 0x00: vendor 0x8086 device 0x2690
Intel Corporation Enterprise Southbridge PCI Express Root Port 1
pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x2688
Intel Corporation Enterprise Southbridge UHCI USB #1
pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x2689
Intel Corporation Enterprise Southbridge UHCI USB #2
pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x268a
Intel Corporation Enterprise Southbridge UHCI USB #3
pci bus 0x0000 cardnum 0x1d function 0x03: vendor 0x8086 device 0x268b
Intel Corporation Enterprise Southbridge UHCI USB #4
pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x268c
Intel Corporation Enterprise Southbridge EHCI USB
pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e
Intel Corporation 82801 PCI Bridge
pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x2670
Intel Corporation Enterprise Southbridge LPC
pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x269e
Intel Corporation Enterprise Southbridge PATA
pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x2681
Intel Corporation Enterprise Southbridge SATA AHCI
pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x269b
Intel Corporation Enterprise Southbridge SMBus
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x8086 device 0x3500
Intel Corporation Enterprise Southbridge PCI Express Upstream Port
pci bus 0x0001 cardnum 0x00 function 0x03: vendor 0x8086 device 0x350c
Intel Corporation Enterprise Southbridge PCI Express to PCI-X Bridge
pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x8086 device 0x3510
Intel Corporation Enterprise Southbridge PCI Express Downstream Port E1
pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x8086 device 0x3514
Intel Corporation Enterprise Southbridge PCI Express Downstream Port E2
pci bus 0x0005 cardnum 0x06 function 0x00: vendor 0x1093 device 0x27a0
National Instruments Device unknown
pci bus 0x0005 cardnum 0x0b function 0x00: vendor 0x1000 device 0x0054
LSI Logic / Symbios Logic SAS1068 PCI-X Fusion-MPT SAS
pci bus 0x0007 cardnum 0x00 function 0x00: vendor 0x10de device 0x00cd
nVidia Corporation NV41 [Quadro FX 3450/4000 SDI]
pci bus 0x000b cardnum 0x00 function 0x00: vendor 0x14e4 device 0x1600
Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express
pci bus 0x000c cardnum 0x0a function 0x00: vendor 0x104c device 0x8023
Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
[d3m195@WE12341_Linux5 ~]$
11-20-2013 12:46 PM
I also found something on the forums to try this command:
[root@WE12341_Linux5 d3m195]# grep -E "nipal|nikal|nidaqmx" /var/log/messages | tail
Nov 20 10:26:26 WE12341_Linux5 nipalsm: [nipalu] Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/lib/linux/linLoadKern.cpp:168 - libKernelDriverLoad: Failed to open nipalk, errno: 2
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/initcln/initcln.cpp:147 - Posix: Init kInitClnPackage: kernelDriver: failed! status=-50204
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204
Nov 20 10:41:45 WE12341_Linux5 nilsdev: [nipalu] Warning: source/package/posix/ulibEntry.cpp:179 - initialize: unable to load NI-PAL. status=-50204
[root@WE12341_Linux5 d3m195]#
11-20-2013 07:08 PM
Hi EricYChoi,
In your system log file I was able to track down these lines.
[nipal] More than 4GB of addressable memory detected
[nipal] This configuration is not supported
Unfortunately you will have to have to pass "mem=4096M" as kernel boot parameter because NI PAL does not support addressable memory that is greater than 4GB.