[ltp] Re: tp_smapi

Xun Wang linux-thinkpad@linux-thinkpad.org
Mon, 29 Dec 2008 06:15:27 -0500


> Hi Michael,
> Try the  force_io=1 option when you load. I've been having the same  
> issue for the past 3 days because it kept telling me that it was not  
> able to insert the module. Force_io did the trick for me. You can  
> find out more info on it on the thinkwiki tp_smapi page, just search  
> for "force_io=1" for instruction.
>
> Although I still can't load hdaps & to_smapi automatically on boot..
>
> Cheers,
>
> Xun
>
> Sent from my iPhone
>
> On Dec 29, 2008, at 6:04 AM, Michael Meese <pelennor@online.de> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Ahhh!
>> Than I misunderstud your problem! I thought you arent able to load  
>> it in
>> anyway like me.
>>
>> For my speciall problem I still get no fix. But I also dont have an
>> solution for your problem...
>>
>> Sorry!
>>
>> xun wang schrieb:
>>> Hi Michael,
>>> right, i did not get your previous reply because i set my delivery  
>>> mode
>>> to daily digest(now I've changed it to evevery post).
>>> So did you find a solution to your problem?
>>> i can make the tp_smapi work just fine when i'm in the OS, i just  
>>> don't
>>> know how to boot with tp_smapi enabled automatically.
>>>
>>> cheers,
>>>
>>> Xun
>>>
>>> On Mon, Dec 29, 2008 at 5:46 AM, Michael Meese <pelennor@online.de
>>> <mailto:pelennor@online.de>> wrote:
>>>
>>> Good morning!
>>>
>>> I think you dont found my answer. I replied to the list and your
>>> message, an hour ago:
>>>
>>>> Good morning!
>>>
>>>> I've tried the same on my R61 yesterday. I followed the german  
>>>> Ubuntu
>>>> Wiki. There I have to use the modules hdaps_ec and tp_smapi.
>>>> They are saying, that there (in Hardy and newer) should be two  
>>>> hdaps
>>>> modules. The older hdaps and the newer hdaps_ec module. It's  
>>>> strongly
>>>> recommended to use the newer hdaps_ec module. Because the old  
>>>> version
>>>> dont support the parking of the disk head and won't work with
>>> tp_smapi.
>>>
>>>> In one of the last kernel-updates, the newer module gets lost:
>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213
>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/274510
>>>
>>>> Since yesterday I'm searching for a solution, to get back hdaps_ec.
>>>
>>>> Also, the old module dont like to get started on my system with
>>>> tp_smapi. If tp_smapi is loaded and I try to get hdaps up:
>>>
>>>> | WARNING: Error inserting hdaps
>>>> (/lib/modules/2.6.27.2/kernel/drivers/hwmon/hdaps.ko
>>> <http://2.6.27.2/kernel/drivers/hwmon/hdaps.ko>): No such device or
>>>> address
>>>
>>>> The otherway round isn't also working. I only get a different
>>> error-message:
>>>
>>>> | WARNING: Error inserting thinkpad_ec
>>>> (/lib/modules/2.6.27.2/kernel/ubuntu/misc/thinkpad_ec.ko
>>> <http://2.6.27.2/kernel/ubuntu/misc/thinkpad_ec.ko>): No such
>>>> device or address
>>>> | WARNING: Error inserting tp_smapi
>>>> (/lib/modules/2.6.27.2/kernel/ubuntu/misc/tp_smapi.ko
>>> <http://2.6.27.2/kernel/ubuntu/misc/tp_smapi.ko>): Unknown symbol
>>>> in module, or unknown parameter (see dmesg)
>>>
>>>> I think, without the hdaps_ec module, you can stop trying...
>>>
>>>> Greetings!
>>>
>>>> Michael
>>>
>>>
>>> xun wang schrieb:
>>>> Hello, just to add one more thing.
>>>> I've added a line "options thinkpad_ec force_io=1" to the
>>> "options" file
>>>> under "/etc/modprobe.d/". but I still could not boot with any of  
>>>> these
>>>> modules loaded('tp_smapi', 'hdaps' & "thinkpad_ec"). "tp_smpai" &
>>>> "hdaps" have also been appended to the "/etc/modules" file.
>>>> does anyone why it doesn't load?
>>>> thanks,
>>>
>>>> xun
>>>
>>>> On Sun, Dec 28, 2008 at 9:30 PM, xun wang <xun911@gmail.com
>>> <mailto:xun911@gmail.com>
>>>> <mailto:xun911@gmail.com <mailto:xun911@gmail.com>>> wrote:
>>>
>>>> Hello, I've managed to make the tp_smapi working on my t400, but
>>>> there is one part of the instruction i don't understand(from the
>>>> thinkwiki site). it says:
>>>
>>>>     "add the force_io=1 module parameter to thinkpad_ec in
>>>>     /etc/modprobe.conf (or your distribution's equivalent"
>>>
>>>> I'm running ubuntu 8.10 intrepid, there is no modprobe.conf file,
>>>> only "modprobe.d/" folder, and I couldn't find "tinkpad_ec" in
>>> there
>>>> in any of the files. which file should I edit and how should I
>>> edit it?
>>>
>>>> thanks for your help.
>>>
>>>> xun
>>>
>>>
>>>
>>
>> - --
>> Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x77A44977
>>
>> "Quis custodiet ipso custodus"
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAklYrrkACgkQsen3pXekSXcMOACfbea9nY0slfv/Vsl+TMRChUQk
>> NnAAn15sOVWrCh3dS4cIkmTyW2PAoKxy
>> =Taz4
>> -----END PGP SIGNATURE-----
>