[Pkg-dkms-maint] #600803 tp-smapi-dkms: Invalid module format

Evgeni Golov evgeni at debian.org
Mon Nov 1 08:19:55 UTC 2010


Hi,

> Using current tp-smapi through dkms results in:
> # modprobe tp-smapi
> FATAL: Error inserting tp_smapi (/lib/modules/2.6.35-trunk-amd64/updates/dkms/tp_smapi.ko): Invalid module format
> 
> Even after clean successful rebuild the error remains
> dpkg-reconfigure tp-smapi-dkms
> 
> # uname -a                      
> Linux z 2.6.35-trunk-amd64 #1 SMP Tue Aug 3 21:31:37 UTC 2010 x86_64 GNU/Linux

Actually the problem is a bit dkms related. ;)
[thus adding pkg-dkms-maint to CC]

I am running linux-image-2.6.35-trunk-amd64
2.6.35-1~experimental.3 and tp-smapi works fine, but I had exactly your
problem before. At some point, the kernel changed ABI, without bumping
the package-name (that does happen with the experimental kernels). Thus
the modules built for the older version of the ABI are not loadable any
more, despite being marked as built for the correct kernel.

What happens on dpkg-reconfigure tp-smapi-dkms?
dkms is called to uninstall tp-smapi, then again to build and install.
For some reason it did not for you.
Could you please share
/var/lib/dkms/tp-smapi/0.40/2.6.35-trunk-amd64/x86_64/log/make.log
Also the output of dkms status -m tp-smapi please.

Now to pkg-dkms, is my usage of version here maybe wrong? should I use
0.40-8 (thus incl the debian revision). Or I think I should just switch
to dh_dkms :)

Regards
Evgeni



More information about the Pkg-dkms-maint mailing list