$ uname -a
Linux my--T410s 3.13.0-49-generic #81-Ubuntu SMP Tue Mar 24 19:29:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get --reinstall install tp-smapi-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
Need to get 35,8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://de.archive.ubuntu.com/ubuntu/ trusty/universe tp-smapi-dkms all 0.41-1 [35,8 kB]
Fetched 35,8 kB in 0s (436 kB/s)
(Reading database ... 299885 files and directories currently installed.)
Preparing to unpack .../tp-smapi-dkms_0.41-1_all.deb ...
-------- Uninstall Beginning --------
Module: tp-smapi
Version: 0.41
Kernel: 3.13.0-48-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
thinkpad_ec.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/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/3.13.0-48-generic/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.
hdaps.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/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.
-------- Uninstall Beginning --------
Module: tp-smapi
Version: 0.41
Kernel: 3.13.0-49-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
thinkpad_ec.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-49-generic/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/3.13.0-49-generic/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.
hdaps.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-49-generic/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.41
completely from the DKMS tree.
------------------------------
Done.
Unpacking tp-smapi-dkms (0.41-1) over (0.41-1) ...
Setting up tp-smapi-dkms (0.41-1) ...
Creating symlink /var/lib/dkms/tp-smapi/0.41/source ->
/usr/src/tp-smapi-0.41
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.13.0-49-generic -C /lib/modules/3.13.0-49-generic/build M=/var/lib/dkms/tp-smapi/0.41/build....
cleaning build area....
DKMS: build completed.
thinkpad_ec:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-49-generic/updates/dkms/
tp_smapi.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-49-generic/updates/dkms/
hdaps.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/3.13.0-49-generic/updates/dkms/
depmod....
DKMS: install completed.
$ sudo modprobe -v tp_smapi
insmod /lib/modules/3.13.0-49-generic/updates/dkms/thinkpad_ec.ko
modprobe: ERROR: could not insert 'tp_smapi': Exec format error
$ ls -l /lib/modules/3.13.0-49-generic/updates/dkms/thinkpad_ec.ko
-rw-r--r-- 1 root root 12420 Apr 10 17:59 /lib/modules/3.13.0-49-generic/updates/dkms/thinkpad_ec.ko
$ ls -l /lib/modules/3.13.0-49-generic/updates/dkms/
total 88
-rw-r--r-- 1 root root 8944 Apr 9 08:57 acpi_call.ko
-rw-r--r-- 1 root root 27068 Apr 10 17:59 hdaps.ko
-rw-r--r-- 1 root root 12420 Apr 10 17:59 thinkpad_ec.ko
-rw-r--r-- 1 root root 31276 Apr 10 17:59 tp_smapi.ko