I was trying to compile a kernel driver for
via usb wifi. Everything worked fine for compilation and installation. Then I try to install it with insmod:
I get this error:
Quote:
insmod: error inserting 'vntwusb.ko' : -1 Invalid module format
|
Here is the corresponding line on dmesg
Quote:
vntwusb: version magic '2.6.21.5-smp SMP mod_unload 686 ' should be '2.6.21.5 mod_unload 486 '
|
on my /lib/modules/ folder I have both:
on my /usr/src/ folder I have:
Quote:
linux@ symlink to ->linux-2.6.21.5/
linux-2.6.21.5/
rpm/
|
I found a similar problem on
here
His problem is the inverted of mine. Someone provided a working solution but I don't actually understand it. I thought it would be easier to track my problem in a separate thread.
Thanks all in advance.