07-13-2010 07:01 PM
I am a newborn when it comes to linux kernels and installing on linux.
I am trying to install DAQMX Base 3.3 on CentOS 5.4 with linux kernel 2.6.26.8 and Xenomai 2.4.6 micro-kernel. Xenomail is a real-time development framework.
Installation of NI-KAL fails with a warning and multiple messages by nikal stating "Unknown symbol init_mm"
As an attempt to solve this I modified /usr/src/kernels/linux-2.6.26.8_xenomai-2.4.6/arch/x86/kernels/init_task.c by changing the line 'EXPORT_UNUSED_SYMBOL(init_mm)' with 'EXPORT_SYMBOL(init_mm)'
Attached are two report from updateNIDrivers, the 'before' log is using the lines 'EXPORT_UNUSED_SYMBOL(init_mm)' and the 'after' log is replacing that line with 'EXPORT_SYMBOL(init_mm)'.
I've successfully installed NI-KAL on linux kernel 2.6.26.8 without Xenomai, but it seems that Xenomai does something to not allow use of init_mm symbol.
Any suggestions?
Thanks.
Santos.
07-13-2010 08:16 PM
Actually, I successfully installed daqmax base 3.3 on linux kernel 2.6.18 without Xenomai.
07-14-2010 04:19 PM
Hi Santos,
There are known issues that come up with running our Linux drivers on versions of Linux that have not been tested on yet and are not officially supported. Linux OS like SUSE, RedHat, and Mandriva are officially support. I would recommend looking at our Linux Users' Community and search for similar Xenomai problems or post a new topic. The board is fast becoming a good development tool as many of our Linux Users are joining. I would recommend taking a look as they are always working through similar problems. Hope this helps