Compiling kernel modules version mismatch - line6usb
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.