Struct_module problem

I'm trying to install comedi to work with a Pentium 4 and a NI PCI-6731
DAQ card.  I'm using the kernel source that came with Centos 4.0 which
is 2.6.9-5.0.5EL-smp.

#make install seems to work.  The .ko files end up in the
/lib/modules/2.6.9-5.0.5ELsmp/comedi directory

#make dev seems to work.  "ls /dev/comedi*" shows all of the devices

#modprobe ni_pcimio works (after an initial depmod which isn't in the
INSTALL document)

#dmesg spits out
-----------------------------
...
comedi: no version for "struct_module" found: kernel tainted.
comedi: version 0.7.70 - David Schleef <ds_at_schleef.org>
Available NI device IDs: 0x2430
-----------------------------

0x2430 is the device ID for PCI-6731 cards.  I noticed on the webpage it
says the device ID is unknown.  Does this help fix that?

And 

#comedi_config /dev/comedi0 ni_pcimio
Configure failed!: Input/output error
Check kernel log for more information
Possible reasons for failure:
  Driver not found


This seems a lot like the problem from
https://cvs.comedi.org/pipermail/comedi/2004-October/006480.html

When I run lsmod, it lists comedi, 8255, and ni_pcimio.

I've tried downloading a fresh kernel from kernel.org, but when I try to
build it I get device-mapper errors and the kernel panics when it first
starts.  Instead of trying to fix that, I'm wondering if there's an
easier/better way to get comedi running.

Thanks a bunch in advance.

Ben

Received on 2005-06-15Z18:42:27