04-08-2009 02:23 PM
Hi,
I've been test driving openSuSE 11.1 today, and I discovered that DAQmx will not install properly. It looks in /lib/modules/2.6.xx/source for the headers instead of /lib/modules/2.6.xx/build. openSuSE installs the headers to build and the kernel source packages to source.
John
Solved! Go to Solution.
04-08-2009 02:54 PM
After a successful run of updateNIDrivers, none of the modules will load, dmesg shows this:
Symbol init_mm is marked as UNUSED, however this module is using it.
This symbol will go away in the future.
Please evalute if this is the right api to use and if it really is, submit a report the linux kernel mailinglist together with submitting your code for inclusion.
nipalk: no symbol version for nNIKAL100_unregisterPCIDriver
nipalk: Unknown symbol nNIKAL100_unregisterPCIDriver
nipalk: no symbol version for nNIKAL100_waitForSingleUseEventTimeout
nipalk: Unknown symbol nNIKAL100_waitForSingleUseEventTimeout
and so on....
04-08-2009 02:55 PM
04-09-2009 09:53 AM
04-09-2009 02:15 PM
I never figured out how to version the modules, so I just rebuilt the kernel with module versioning turned off. Now it works fine.
# CONFIG_MODVERSIONS is not set
04-09-2009 02:59 PM
Hey ninevoltz,
I'm glad you figured out a work around for the modversions issues. I've been working on solving the problem for NI-KAL 1.10, but it is proving to be difficult so I can't make any guarentees. I currently have it working after you run updateNIDrivers, but a clean install doesn't work.
The comment about the kernel headers in /lib/modules/$(uname-r)/build/ instead of source/ is semi accurate. The kernel-source package on openSUSE installs unconfigured kernel source. If you configure the source it will work fine:
cd /usr/src/linux
make cloneconfig
make modules_prepare
Also since I know you have done a lot of work in the past with some of our Linux products you may want to join our Linux Users Group. You can post tutorials, ask questions, etc..
Shawn Bohrer
National Instruments