Compiling kernel modules version mismatch - line6usb
Free Ekanayaka wrote:
It would be interesting to see if the problem occurs with other
modules as well.
I've solved (or worked around) this issue. I compiled my own kernel and used
the in-tree version of alsa (instead of an out-of-tree version, as is done in 64
Studio). Now when I compile and load the driver, everything works fine. (FYI,
I used 2.6.26.5-rt9 and line6usb 0.7.4-pre-SVN-495.)
Since it has been a few months since I reported this issue, here's the original
post:
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
_______________________________________________
64studio-devel mailing list
64studio-devel@64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-devel
|