[64studio-devel] Compiling kernel modules version mismatch - line6usb

Gabriel M. Beddingfield gabriel at teuton.org
Sun Jul 6 23:03:11 BST 2008


Hi guys!

I compiled the line6usb kernel driver, but it wouldn't load unless I force it. 
When I force it, it works fine, but complains about a module/kernel version 
mismatch. However, I built it against the right headers.

Why does the module version not match? How should I go about compiling this 
module? Is it possibly a GCC version mismatch?

More details....

The line6usb kernel driver project is hosted here: 
http://sourceforge.net/projects/line6linux

Every time I load the module, I get these messages:

# dmesg | tail
line6usb: disagrees about version of symbol snd_card_disconnect
line6usb: Unknown symbol snd_card_disconnect
line6usb: disagrees about version of symbol snd_card_register
line6usb: Unknown symbol snd_card_register
line6usb: disagrees about version of symbol snd_card_free
line6usb: Unknown symbol snd_card_free
line6usb: disagrees about version of symbol snd_card_new
line6usb: Unknown symbol snd_card_new
line6usb: disagrees about version of symbol snd_card_disconnect
line6usb: Unknown symbol snd_card_disconnect

When I forced the module it, it worked fine... but added the following messages:

line6usb: no version for "struct_module" found: kernel tainted.
line6usb: no version magic, tainting kernel

I'm using the stock linux-image-2.6.21-1-multimedia-486 kernel and 
linux-headers-2.6.21-1-multimedia-486. This module builds and loads fine on 
Debian Etch 4.0 with the 2.6.18 kernels.

I originally filed this as a bug for the line6usb driver here:
https://sourceforge.net/tracker/index.php?func=detail&aid=1937278&group_id=200399&atid=973346

Note:  I also asked this on the forum (http://64studio.com/node/630) -- and they 
directed me here.

Thanks in advance!
-Gabriel




More information about the 64studio-devel mailing list