Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI6220 / DAQmx801f0 / opensuse - what Kernel?

Moin Guru's,

I have a NI6220 card since yesterday, and I've tried to install the DAQmx801f0 driver on an opensuse, but modprobe fails with:

nikal: Unknown symbol init_mm

I guess nikal driver either requires a specific kernel version (using 2.6.32.8 currently) or a special setting in kernel dot-config.

Any idea, how to proceed?

ciao,Michael Koehne

0 Kudos
Message 1 of 3
(4,268 Views)

It isn't so much that NI-KAL requires a specific version, more that newer versions of the kernel are not supported.  NI also only officially supports distributions and the kernels that come with it.  If you are wanting to try things on your own, you just need to be running a kernel that NI-KAL has understanding of and can compile on.  As far as init_mm, there have been several threads previously talking about that and the 2.6.31+ kernels, so I won't try and repeat all that information in this post.

(using 2.6.32.8 currently)

Are you compiling your own kernel, or running openSUSE 11.3 milestone 1?  That is the version of openSUSE that I was aware was using 2.6.32.  If so you mileage would really vary on being able to support any unreleased distribution version.  If you are compiling your own kernel I would suggest going back to an older kernel version if you can.

http://decibel.ni.com/content/thread/5049

0 Kudos
Message 2 of 3
(3,251 Views)

Moin mhoogend,

thanks for fast reply, I'm compiling and running my own kernel under opensuse 11.2, because the DAQmx installation required a running kernel to match /usr/src/linux/.

I can downgrade to nearly any other kernel version, so thanks for pointing to posting 5049. I'll try 2.6.28.10 or 2.6.27.45 next.

The alternate would be to use the comedi driver. I just need to collect data from the ADC as CSV on a socket. Perhaps someone has a url, of how to use the ni_pcimio driver, because it loads out of the box in Debian with linux 2.6.32.9 and staging drivers enabled as modules.

ciao Michael Koehne

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