Debian Bug report logs -
#600803
dkms: Invalid module format
Reported by: Michael Gebetsroither <michael@mgeb.org>
Date: Wed, 20 Oct 2010 08:57:02 UTC
Severity: normal
Fixed in version tp-smapi/0.42-1
Done: Evgeni Golov <evgeni@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, michael@mgeb.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#600803; Package dkms.
(Wed, 20 Oct 2010 08:57:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Gebetsroither <michael@mgeb.org>:
New Bug report received and forwarded. Copy sent to michael@mgeb.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Wed, 20 Oct 2010 08:57:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dkms
Version: 2.1.1.2-5
Severity: normal
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
greets,
michael
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dkms depends on:
ii build-essential 11.5 Informational list of build-essent
ii coreutils 7.5-6 GNU core utilities
ii dpkg-dev 1.15.4.1 Debian package development tools
ii gcc 4:4.4.4-2 The GNU C compiler
ii make 3.81-7 An utility for Directing compilati
ii module-init-tools 3.11-1 tools for managing Linux kernel mo
Versions of packages dkms recommends:
ii fakeroot 1.14.3 Gives a fake root environment
ii linux-headers-2. 2.6.31-1 Header files for Linux 2.6.31-1-am
ii linux-headers-2. 2.6.32-8 Header files for Linux 2.6.32-2-am
ii linux-headers-2. 2.6.32-15 Header files for Linux 2.6.32-5-am
ii linux-headers-2. 2.6.35-1~experimental.3 Header files for Linux 2.6.35-trun
ii linux-image-2.6. 2.6.31-1 Linux 2.6.31 for 64-bit PCs
ii linux-image-2.6. 2.6.32-8 Linux 2.6.32 for 64-bit PCs
ii linux-image-2.6. 2.6.32-19 Linux 2.6.32 for 64-bit PCs
ii linux-image-2.6. 2.6.32-12 Linux 2.6.32 for 64-bit PCs, OpenV
ii linux-image-2.6. 2.6.32-5 Linux 2.6.32 for 64-bit PCs
ii linux-image-2.6. 2.6.35-1~experimental.1 Linux 2.6.35 for 64-bit PCs
ii patch 2.6-2 Apply a diff file to an original
ii sudo 1.7.2p1-1 Provide limited super user privile
dkms suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#600803; Package dkms.
(Fri, 22 Oct 2010 02:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Gilbert <michael.s.gilbert@gmail.com>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.
(Fri, 22 Oct 2010 02:21:03 GMT) (full text, mbox, link).
Message #10 received at 600803@bugs.debian.org (full text, mbox, reply):
reassign 600803 tp-smapi-dkms
thanks
On Wed, 20 Oct 2010 10:52:50 +0200 Michael Gebetsroither wrote:
> Package: dkms
> Version: 2.1.1.2-5
> Severity: normal
>
> 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
dkms itself is not the culprit here. you're running an experimental
kernel, and the tp-smapi module source may not be compatible with that
yet.
mike
Bug reassigned from package 'dkms' to 'tp-smapi-dkms'.
Request was from Michael Gilbert <michael.s.gilbert@gmail.com>
to control@bugs.debian.org.
(Fri, 22 Oct 2010 02:21:05 GMT) (full text, mbox, link).
Bug No longer marked as found in versions dkms/2.1.1.2-5.
Request was from Michael Gilbert <michael.s.gilbert@gmail.com>
to control@bugs.debian.org.
(Fri, 22 Oct 2010 02:21:05 GMT) (full text, mbox, link).
Message sent on
to Michael Gebetsroither <michael@mgeb.org>:
Bug#600803.
(Fri, 22 Oct 2010 02:21:08 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#600803; Package tp-smapi-dkms.
(Mon, 01 Nov 2010 08:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Evgeni Golov <evgeni@debian.org>:
Extra info received and forwarded to list.
(Mon, 01 Nov 2010 08:21:03 GMT) (full text, mbox, link).
Message #22 received at 600803@bugs.debian.org (full text, mbox, reply):
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
Message sent on
to Michael Gebetsroither <michael@mgeb.org>:
Bug#600803.
(Mon, 01 Nov 2010 08:21:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Evgeni Golov <evgeni@debian.org>:
Bug#600803; Package tp-smapi-dkms.
(Mon, 01 Nov 2010 13:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Gilbert <michael.s.gilbert@gmail.com>:
Extra info received and forwarded to list. Copy sent to Evgeni Golov <evgeni@debian.org>.
(Mon, 01 Nov 2010 13:33:06 GMT) (full text, mbox, link).
Message #30 received at 600803@bugs.debian.org (full text, mbox, reply):
On Mon, 01 Nov 2010 09:19:55 +0100, Evgeni Golov wrote:
> 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 :)
in all the cases i've seen, the upstream version number is used, and
that is expected to work as long as you don't make binary incompatible
changes in your packaging. hence, your approach is correct in 99.9% of
situations.
not sure how you're doing things right now, but you are probably better
off using dh_dkms.
mike
Message sent on
to Michael Gebetsroither <michael@mgeb.org>:
Bug#600803.
(Mon, 01 Nov 2010 13:33:12 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Evgeni Golov <evgeni@debian.org>:
Bug#600803; Package tp-smapi-dkms.
(Tue, 02 Nov 2010 08:51:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Gebetsroither <michael@mgeb.org>:
Extra info received and forwarded to list. Copy sent to Evgeni Golov <evgeni@debian.org>.
(Tue, 02 Nov 2010 08:51:08 GMT) (full text, mbox, link).
Message #38 received at 600803@bugs.debian.org (full text, mbox, reply):
Evgeni Golov wrote:
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
>
>
> What happens on dpkg-reconfigure tp-smapi-dkms?
[0].
> 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
DKMS make.log for tp-smapi-0.40 for kernel 2.6.35-trunk-amd64 (x86_64)
Tue Nov 2 09:29:03 CET 2010
make: Entering directory `/usr/src/linux-headers-2.6.35-trunk-amd64'
LD /var/lib/dkms/tp-smapi/0.40/build/built-in.o
CC [M] /var/lib/dkms/tp-smapi/0.40/build/thinkpad_ec.o
CC [M] /var/lib/dkms/tp-smapi/0.40/build/tp_smapi.o
CC [M] /var/lib/dkms/tp-smapi/0.40/build/hdaps.o
/var/lib/dkms/tp-smapi/0.40/build/hdaps.c: In function ‘hdaps_dmi_match_invert’:
/var/lib/dkms/tp-smapi/0.40/build/hdaps.c:717: warning: cast from pointer to integer of different size
Building modules, stage 2.
MODPOST 3 modules
CC /var/lib/dkms/tp-smapi/0.40/build/hdaps.mod.o
LD [M] /var/lib/dkms/tp-smapi/0.40/build/hdaps.ko
CC /var/lib/dkms/tp-smapi/0.40/build/thinkpad_ec.mod.o
LD [M] /var/lib/dkms/tp-smapi/0.40/build/thinkpad_ec.ko
CC /var/lib/dkms/tp-smapi/0.40/build/tp_smapi.mod.o
LD [M] /var/lib/dkms/tp-smapi/0.40/build/tp_smapi.ko
make: Leaving directory `/usr/src/linux-headers-2.6.35-trunk-amd64'
> Also the output of dkms status -m tp-smapi please.
# dkms status -m tp-smapi
tp-smapi, 0.40, 2.6.35-trunk-amd64, x86_64: installed
michael
[0]:
BEGIN - dpkg-reconfigure tp-smapi-dkms
# dpkg-reconfigure tp-smapi-dkms
-------- Uninstall Beginning --------
Module: tp-smapi
Version: 0.40
Kernel: 2.6.35-trunk-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
thinkpad_ec.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.35-trunk-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
tp_smapi.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.35-trunk-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
^[7
hdaps.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.35-trunk-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod.......
DKMS: uninstall Completed.
------------------------------
Deleting module version: 0.40
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/tp-smapi/0.40/source ->
/usr/src/tp-smapi-0.40
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.35-trunk-amd64 -C /lib/modules/2.6.35-trunk-amd64/build M=/var/lib/dkms/tp-smapi/0.40/build......
cleaning build area....
DKMS: build Completed.
thinkpad_ec.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.35-trunk-amd64/updates/dkms/
tp_smapi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.35-trunk-amd64/updates/dkms/
hdaps.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/2.6.35-trunk-amd64/updates/dkms/
depmod....
DKMS: install Completed.
END - dpkg-reconfigure tp-smapi-dkms
Added tag(s) pending.
Request was from Evgeni Golov <evgeni@debian.org>
to control@bugs.debian.org.
(Mon, 25 Apr 2016 15:57:04 GMT) (full text, mbox, link).
Reply sent
to Evgeni Golov <evgeni@debian.org>:
You have taken responsibility.
(Mon, 25 Apr 2016 16:36:04 GMT) (full text, mbox, link).
Notification sent
to Michael Gebetsroither <michael@mgeb.org>:
Bug acknowledged by developer.
(Mon, 25 Apr 2016 16:36:04 GMT) (full text, mbox, link).
Message #45 received at 600803-close@bugs.debian.org (full text, mbox, reply):
Source: tp-smapi
Source-Version: 0.42-1
We believe that the bug you reported is fixed in the latest version of
tp-smapi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 600803@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Evgeni Golov <evgeni@debian.org> (supplier of updated tp-smapi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 25 Apr 2016 17:59:39 +0200
Source: tp-smapi
Binary: tp-smapi-dkms
Architecture: source
Version: 0.42-1
Distribution: unstable
Urgency: medium
Maintainer: Evgeni Golov <evgeni@debian.org>
Changed-By: Evgeni Golov <evgeni@debian.org>
Description:
tp-smapi-dkms - ThinkPad hardware/firmware access modules source - dkms version
Closes: 600803 735631 778217 820724
Changes:
tp-smapi (0.42-1) unstable; urgency=medium
.
* Imported Upstream version 0.42
+ builds fine against newer kernels (Closes: #820724)
+ detects X200s as such (Closes: #735631)
* make the build reproducible (Closes: #778217)
* use upstream's dkms.conf
* stop patching upstreams Makefile, it should just work now
* use dh_dkms (Closes: #600803)
* update d/watch
* update Homepage
* do not build tp-smapi-source anymore
* dh rules!
* Standards-Version: 3.9.8
* add readme and sysfs.conf to dkms package
* update Vcs-*
* format 3.0 (quilt)
Checksums-Sha1:
ccfe0076a9628f679a856df06c62c5c50dbcf992 1863 tp-smapi_0.42-1.dsc
08865d736d8c9a48f0a67ae84c5ad67be0178802 39867 tp-smapi_0.42.orig.tar.gz
448bfd6fc09606ea08de1e076b23def42e01002f 4276 tp-smapi_0.42-1.debian.tar.xz
Checksums-Sha256:
79aab9516c3b5f96d01eabf0a1b239c5c2959dfc88375eea60177b737d37ec74 1863 tp-smapi_0.42-1.dsc
7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27 39867 tp-smapi_0.42.orig.tar.gz
8a21c2679f970b318fb7c05c2ec2fa23d71e974669bb469e419758eb86087fce 4276 tp-smapi_0.42-1.debian.tar.xz
Files:
9f5ccbd35dc4366504bbaf24b00f4a54 1863 kernel optional tp-smapi_0.42-1.dsc
9796e92c86a53dd84823ca503a69c49e 39867 kernel optional tp-smapi_0.42.orig.tar.gz
f1dcde2beeb3113e37e6df503af7091e 4276 kernel optional tp-smapi_0.42-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJXHj8wAAoJEKGwm0IzOWHoGhQP/3/XxOAXNGoUtuXXPi3GlkBZ
hCGvl1MGfrbjc2PyNH+vnPgfVN3SRfgmcGhHXHOU1jsTmDorut/CwvpREeqZMDi1
Cobs4L9OOIfW/GttcTLawd5mSt9RXZJWVO1/1vw0HuNiydcVHclzrVwsX6Xv5jwu
nPRY4p4jQBcB5dGL6/Z0VE+AaxaNBr8ji7E9KryVByf8GPmEHr0TTMYnwVLDsGRk
yspoRl57GWB8Meav5fqZO116Jt5rj+0L2DRfl5MBEStqEL4YCfIF13iG4VkPUj6Z
a5JVrMiRvQX6OUCS/TjN1AnkpCqrXUZiAN8OxjOLB+4NyGfPm6/T0AOLGGPhSrR1
HqgqYagD/vqd7y51Ob9nkYOOTakhzGL11Cle+FFYAxSgOhI7nV/469E7FVs1xVG8
sosZ5CJne4T+d5TulPDpttL9NVm5DuvgZU1mX5KQNo7lQMYY45Run4SRzAdIY3ks
TlUIxLorZ/1Sl95/QNRQQfkA/WIytszm4hix0pM/KpVfSNJP2eY1OzSTaBc2kFPQ
8jNY/WGPMqYFi5TPMQAsU0/geviCXDNhIHFHvptvXkH359MuY146TIQJ4skQwDqU
4ogUvMH9rsk1dNrzfWf8zBFUUApBIvvr9qFOBslBzEioGuFDyHZ2J9K6iyhC4cGH
xY26SgcyNt8NeW5fv+80
=4286
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 29 May 2016 07:25:05 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 06:20:28 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.