Kernel version in binary and source packages differs

Andrey Zhidenkov pensnarik at gmail.com
Thu Feb 5 11:11:45 UTC 2009


Hello.

I want to recompile a kernel module, but I have a problem. My current kernel
version is 2.6.27.11.

When I download a kernel source package and build a module (ipw2200.ko)
modprobe tells me that this module has an incorrect format.

Code:

[ibm-t43][mutex]~/build> sudo modprobe ipw2200
FATAL: Error inserting ipw2200
(/lib/modules/2.6.27-11-generic/kernel/drivers/net/wireless/ipw2200.ko):
Invalid module format

In Makefile I found that EXTRAVERSION for this kernel is 10:

[ibm-t43][mutex]/usr/src/linux-source-2.6.27> cat Makefile | grep
EXTRAVERSION
EXTRAVERSION = .10

Is there a reason? I've also tried to get sources from Ubuntu git tree, but
has the same result.

Differene between modules:

[ibm-t43][mutex]~/backup> diff ok notok
1c1
< filename: ipw2200.ko.ok
---
> filename: ipw2200.ko
29,30c29,30
< depends: ieee80211
< vermagic: 2.6.27-11-generic SMP mod_unload modversions 586
---
> depends:
> vermagic: 2.6.27.10 SMP mod_unload modversions 586

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090205/6c19d41e/attachment.html>


More information about the kernel-team mailing list