07-09-2009 10:39 AM
I am working with red hat enterprise linux kernel 2.6.18-128.1.14.el5 and when i try and run updateNIDrivers i get the following output
[root@eden base]# /usr/local/bin/updateNIDrivers
Configuring for linux kernel version 2.6.18-128.1.14.el5.
********************************* NOTE *********************************
Using kernel headers found in /lib/modules/2.6.18-128.1.14.el5/source.
If this does not correspond to the location of the 2.6.18-128.1.14.el5 headers,
then define KERNELHEADERS in your environment to point to the location
of the kernel headers, define KERNELTARGET as the version of the
kernel for which to compile, and then rerun ./configure.
********************************* NOTE *********************************
Kernel has reparent_to_init(): no
Number of arguments for do_munmap(): 3
pte_offset function: pte_offset_kernel()
Levels in page table: 4
Kernel has remap_pfn_range: yes
USB altsetting name: cur_altsetting
Kernel has usb_get_intf(): yes
Kernel has intf_cache member in usb_host_config: yes
Kernel has ep[] members in usb_device: yes
Kernel exports usb_set_configuration(): no
Units of USB_CTRL_GET_TIMEOUT: msec
Kernel has owner member in usb_driver: no
Kernel has put_page_testzero(): yes
Kernel has mutex method: yes
Kernel has kthread: yes
Kernel has config.h: yes
Kernel has ioctl32.h: yes
IRQ handlers have pt_regs: yes
Kernel has work_struct and delayed_work: no
Kernel supports fault method in vm_operations_struct: no
Storing configuration in Makefile.in
If the values stored are incorrect they can be changed before running make.
Uninstalling NI-KAL (nikal): done
/bin/rm -rf objects
Updating NI-KAL:
NI-KAL update failed.
/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.18-128.1.14.el5/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.1.14.el5-i686'
CC [M] /usr/local/natinst/nikal/src/objects/nikal.o
In file included from /usr/local/natinst/nikal/src/objects/nikal.c:33:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from /usr/local/natinst/nikal/src/objects/nikal.c:33:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
Building modules, stage 2.
MODPOST
WARNING: modpost: GPL-incompatible module nikal.ko uses future GPL-only symbol 'usb_deregister'
WARNING: modpost: GPL-incompatible module nikal.ko uses future GPL-only symbol 'usb_register_driver'
CC /usr/local/natinst/nikal/src/objects/nikal.mod.o
LD [M] /usr/local/natinst/nikal/src/objects/nikal.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.1.14.el5-i686'
Installing NI-KAL (nikal): Starting NI-KAL failed!
make: *** [install] Error 1
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.
any help would be greatly appreciated
07-10-2009 05:13 PM
I want to verify that your machine does not have any more than 4GB of RAM As is outlined in the following KnowledgeBase artcile NI-KAL will NOT start if there is more than 4GB of ram on the machine: http://digital.ni.com/public.nsf/allkb/20789C3E4A3DCAFB8625708B00693CF9?OpenDocument.
Also which drivers are installed on the machine and which drivers are you trying to update when you use
updateNIdrivers.
The next thing I might suggest is looking at the Labview for linux community group where linux users gather and discuss difficult linux questions. You may want to post this question there. http://decibel.ni.com/content/groups/linux-users?view=overview.
I hope this helps,
07-13-2009 10:14 AM
10-03-2013 10:02 AM
Hello,
Did you solve the problem ?
I'm having exactly the same one.
thanks,
Cosimo
10-04-2013 10:13 AM
Hi Cosimo.
If you create a new thread about this issue, it is much more likely to get noticed and answered quickly. It would be a good idea to provide a link to this thread in that post as well as details about the specific linux kernal you are using and which update you are installing.
09-07-2017 12:30 PM
There are 2 problems
1) The configure script for the nikal is written poorly and does not properly identify the form of do_munmap from the (kernel-src)/include/linux/mm.h file.
2) The nikal.c file probably is not using the do_munmap function properly. It sets uf=1 if the four parameter version of the file.
This problem is associated with kernel 4.10 and newer. I got around it by changing the configure script and forcing the kFourParameterDoMunmap to be defined for the compiler. This got around the compile issue, but I can't yet say if it causes any instability problems.
09-08-2017 05:24 PM
Hello pd-x,
Since this forum has not had any activity for nearly 4 years, I recommend beginning a new post if you have any new questions you would like to have addressed or new information to share regarding the original issue of this post. Thanks