Could not load thinkpad_ec on Karmic (ThinkPad X61s)

Bug #493120 reported by Thomas Schewe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tp-smapi (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I got an error while modpobing thinkpad_ec:

thosch@Thinka:/etc$ sudo modprobe thinkpad_ec tp_smapi hdaps
FATAL: Error inserting thinkpad_ec (/lib/modules/2.6.31-16-generic/extra/thinkpad_ec.ko): Unknown symbol in module, or unknown parameter (see dmesg)

What dmesg tells me:
[52633.650326] thinkpad_ec: Unknown parameter `tp_smapi'

Output of lsb_release -rd:
Description: Ubuntu 9.10
Release: 9.10

tp-smapi-source:
  Installiert: 0.40-5
  Kandidat: 0.40-5
  Versions-Tabelle:
 *** 0.40-5 0
        500 http://de.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

I think this is just incorrect usage of modprobe, see --help output, it only accepts one module at a time and interprets the following pieces as module-options:

$ modprobe -h
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]

So the correct way would be to do this in separate steps like this:
 sudo modprobe thinkpad_ec
 sudo modprobe tp_smapi
 sudo modprobe hdaps

Therefore I am closing this as invalid, please try it this way and reopen if there are other errors reported in dmesg this way.

Changed in tp-smapi (Ubuntu):
status: New → Invalid
Revision history for this message
Thomas Schewe (thosch66) wrote :

@Dominik
Thanks for information and sorry for the unnecessary work.

I copied the command-line from an artikel in the ThinkWiki. The author used this syntax and I didn't check it. :-(

Revision history for this message
Dominik Stadler (dominik-stadler) wrote :

You can also use option "-a" with modprobe to load multiple modules at once.

I fixed the description at http://www.thinkwiki.org/wiki/Installing_Ubuntu_9.04_%28Jaunty_Jackalope%29_on_a_ThinkPad_T61#Enabling_Active_Protection_System

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.