Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble installing driver for GPIB-USB-HS on Linux

I need to install a GPIB-USB-HS driver for my Linux system:

Red Hat Enterprise Linux Client release 5.2

2.6.18-92.el5 kernel

 

I have tried installing NI-488.2 v2.5 1b1 (beta 32-bit) and NI-488.2 v2.5.4b1 (beta 64-bit). Both installs gave me the same error:

 

ERROR: make of nikal kernel module failed, not installing kernel module.
   updateNIDrivers should be called again after fixing the problem.
   Logging failure...
   Include the file /tmp/niSystemReport.out.gz when contacting
   National Instruments for support.

 

When I run the updateNIDrivers it gives me the following:

*********************************** ERROR ************************************
*                   ERROR: . kernels are not supported!                    *
* Running a 2.4.x or 2.6.x kernel is required to continue this installation. *
*********************************** ERROR ************************************
/usr/bin/id: unrecognized option `--skip-alias'
Try `/usr/bin/id --help' for more information.
./uninstall.sh: line 24: [: !=: unary operator expected
/usr/bin/cat: unrecognized option `--skip-alias'
Try `/usr/bin/cat --help' for more information.
/bin/uname: unrecognized option `--skip-alias'
Try `/bin/uname --help' for more information.
Removing NI-KAL (nikal): /usr/bin/rm: unrecognized option `--skip-alias'
Try `/usr/bin/rm --help' for more information.
/usr/bin/rmdir: unrecognized option `--skip-alias'
Try `/usr/bin/rmdir --help' for more information.
done
/bin/rm -rf objects
Updating NI-KAL:
 NI-KAL successfully updated.
Updating client modules:
/usr/local/natinst/nikal/src
 ni488lock.ko successfully updated.
/usr/local/natinst/nikal/src
 ni488k.ko successfully updated.
/usr/local/natinst/nikal/src
 nipalk.ko successfully updated.
/usr/bin/cat: unrecognized option `--skip-alias'
Try `/usr/bin/cat --help' for more information.
/bin/uname: unrecognized option `--skip-alias'
Try `/bin/uname --help' for more information.
Rebooting is required to ensure that National Instruments drivers
have been successfully updated.
Would you like to reboot now? [yes|no]

 

I have also attached the niSystemReport.out.gz file.  What driver should I be using?  Any suggestions would be appreciated.

0 Kudos
Message 1 of 3
(3,620 Views)

kesselg,

 

I would suggest trying a couple of things to see if we can eliminate this error. 

 

1) Try installing the latest version of the NI-KAL driver (NI-KAL 1.10) separately and then install the NI-488.2 driver.  If the version of the NI-KAL shipped with NI-488.2 is too old, it may cause the failed installation. The driver can be found at the location below.

 

http://joule.ni.com/nidu/cds/view/p/id/1304/lang/en

 

2) If this does not work, I would suggest installing an older version of the GPIB driver and see if the same error persists.

Raj
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(3,600 Views)

Raj,

 

Thanks for your response.  I ended up going back to NI-488.2 v2.5 1b0 (Beta0) which worked.

 

Thanks,

Grant

0 Kudos
Message 3 of 3
(3,583 Views)