[Gllug] Strange problem loading freshly compiled kernel module

John Winters john at sinodun.org.uk
Fri Apr 7 16:57:09 UTC 2006


I'm having an odd problem trying to set up MythTV on a new box, or more
precisely trying to get the appropriate V4L kernel modules installed.

The odd thing is that my existing box is using precisely the same kernel
version (although not the build) and version of V4L software.

The kernel is 2.6.14.5 and the V4L drivers were taken as a CVS snapshot.

I compiled the kernel from scratch, using the standard Sarge
distribution config file updated with a "make oldconfig".  The only
thing I have actively changed is the processor type (to an Athlon 64).

Then I took the V4L drivers and did a "make distclean", "make" and "make
install".  The drivers compiled and installed without complaint, but...

when I try to "modprobe saa7134" I get the following error:

WARNING: Error inserting ir_kbd_i2c
(/lib/modules/2.6.14.5-knight2/kernel/drivers/media/video/ir-kbd-i2c.ko): Unknown symbol in module, or unknown parameter (see dmesg)

and dmesg gives:

ir_kbd_i2c: disagrees about version of symbol ir_input_init
ir_kbd_i2c: Unknown symbol ir_input_init
ir_kbd_i2c: disagrees about version of symbol ir_input_nokey
ir_kbd_i2c: Unknown symbol ir_input_nokey
ir_kbd_i2c: disagrees about version of symbol ir_input_keydown
ir_kbd_i2c: Unknown symbol ir_input_keydown

I've done a bit of research about what the "disagrees about version of
symbol" message is trying to say and it seems (I'm open to correction
here) that it means that the module loader thinks the module which I'm
trying to load was compiled for a different kernel.  And yet it seems to
match exactly.  "uname -a" returns:

Linux knight 2.6.14.5-knight2 #1 PREEMPT Fri Apr 7 15:06:58 BST 2006
i686 GNU/Linux

and running strings on the kernel module (ir-kbd-i2c.ko) gives:

vermagic=2.6.14.5-knight2 preempt K8 gcc-3.3

exactly the same as all the other modules in the module tree (and all
the rest seem to load successfully).

Can anyone offer any enlightenment here?

TIA,
John

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list