03-03-2010 10:20 AM
Hello.
I have a problem to install Daqmx on a Red hat WS5 supposed to be supported.
See below trace of my terminal:
[root@localhost silicom]# mount -o loop NIDAQ800_RedHat.iso /mnt/disk
[root@localhost silicom]# cd /mnt/disk
[root@localhost disk]# ./INSTALL
*****************************************************************************
NI-DAQmx for Linux Installer Distribution
version 8.0.0f1 for Linux/x86 32-bit
*****************************************************************************
To learn about the differences between NI-DAQmx in Linux and Windows, as well
as important device and application software support information, refer to the
readme file in the installer directory.
National Instruments products support the following Linux distributions:
Mandrakelinux Official
SUSE LINUX Professional
Red Hat Enterprise Linux WS
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.
Continue? [Yn] Y
Checking required install tools...
Checking installer tool versions...
rpm 4.4.2.3 can be used with a default installation path
tar 1.15.1
Checking dependencies...
glibc 2.5
Unpacking install files to /tmp/nidaqmx-8.0.0f1.install...
******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.18-164.el5/source does not appear to be
* configured for the 2.6.18-164.el5 kernel.
* Configuration of kernel source is required to continue installation. *
* Refer to the README file for the product you are installing for information *
* about configuring your kernel source. *
******************************** ERROR ****************************************
Installer is aborted.
[root@localhost disk]# uname -r
2.6.18-164.el5
Software versions:
RedHat WS5
Kernel : 2.6.18-164.el5
NI-KAL 1.10
CVI 8.0
I an not a linux specialist, and I don't know what to do with this error.
Thank you for your help.
Olivier
03-03-2010 11:04 AM
Technically NI-DAQmx 8.0 is not supported on RHEL 5 because there are known situations where the driver may overflow the kernel stack and crash the system. Of course depending on your use case you may never run into one of those situations. My guess is that if you try NI-DAQmx 8.0.1 it may fix your installation issue. Your other option is to use NI-DAQmx Base which does support RHEL 5.
--
Shawn
03-03-2010 12:02 PM
Thank you Shawn for your fast answer.
I had choosen RHEL 5 regarding Labwindows compatibility, but I had never check DAQmx compatibility
I don't know if DAQmxBase will be OK for me (no-multithread safe, some functions not supported...)
So, I'm going to try NI-DAQmx 8.0.1 installation (Suse/mandriva package works for Red Hat ???? ),
then I will come back here to report conclusions and change the thread status.
Olivier
03-03-2010 12:19 PM
According to the readme file, DAQmx 8.0.1 does not support RHEL WS5 either. Is there plans for DAQmx to support RHEL 5 in the future? I am not sure I want to rely on DAQmxBase being around in the future. IF LabVIEW 2009 support RHEL 5, why doesn’t the DAQmx support it?
03-03-2010 02:53 PM
Shawn's comment is exactly right. DAQmx does not officially support Red Hat Enterprise Linux due to the stack limitation.
Technically NI-DAQmx 8.0 is not supported on RHEL 5 because there are known situations where the driver may overflow the kernel stack and crash the system.
Because of this issue we are not confident that things will work for our customers so don't want to put our full support behind it. RHEL5 uses a 4k stack and the driver requires an 8k stack. If you want to use RHEL then you are best off going through the steps to recompile your kernel to an 8k stack. openSUSE and Mandriva use 8k stacks for the kernel that they distribute.
This kb references RHEL4, but it also applies to RHEL5.
http://digital.ni.com/public.nsf/allkb/EC1709BFEB576635862570C0006EFF81