You are not logged in.

#1 2011-06-21 07:57:59

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

HDAPSD fails to load. Thinkpad users need help!

Who does use HDAPS (hdd shock protection)? I installed it recently from aur and managed to run it once, after that I can't make it run and get:

Tue Jun 21 10:53:13 2011: Starting hdapsd
Tue Jun 21 10:53:13 2011: WARNING: You did not supply any devices to protect, trying autodetection.
Tue Jun 21 10:53:13 2011: Adding autodetected device: sda
Tue Jun 21 10:53:13 2011: Could not find a suitable interface

or

sudo /etc/rc.d/hdapsd start
:: Starting hdapsd        [FAIL] 

added to rc.conf:

MODULES=(thinkpad_acpi thinkpad_ec acpi-cpufreq)
DAEMONS=(hal hdapsd @network @alsa)

HDAPS config cat:

#
# Settings for hdapsd
# 
# DEVICE specifies the device to monitor, defaults to 'sda'
#
# SENSITIVITY is self explanatory, defaults to '15'
#
# Set ADAPTIVE to 'yes' to enable adaptive threshold
# (automatic increase when the built-in keyboard/mouse are used).
#
# Set SYSLOG to 'yes' to have the daemon report errors to syslog
# (instead of stderr/stdout).
#
# Set FORCE to 'yes' to force the kernel to use the unload heads feature
# on some old hard drives for which support cannot be autodetected.
# (don't use this unless you're absolutely sure your hard drive
# really do support unloading heads)
#
DEVICE='/dev/sda'
SENSITIVITY='10'
#ADAPTIVE='yes'
SYSLOG='yes'
#FORCE='yes'

Any ideas?

Last edited by tasty_minerals (2011-06-21 15:09:08)


lenovo thinkpad EDGE 13'

Offline

#2 2011-06-21 10:56:59

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: HDAPSD fails to load. Thinkpad users need help!

is module tp_smapi loaded? try adding it to MODULES in rc.conf if not.

Offline

#3 2011-06-21 11:30:02

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

this is what I have in rc.conf:

MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(snd-usb-audio tp_smapi thinkpad_acpi thinkpad_ec !snd_pcsp !pcspkr loop powernow-k8 cpufreq_ondemand cpufreq_performance cpufreq_conservative cpufreq_powersave)

then DAEMONS:

DAEMONS=(dbus hal syslog-ng hdapsd tlp !network !dhcdbd !networkmanager @alsa @wicd)

dmesg tail gave me this:

[  226.531600] thinkpad_ec: thinkpad_ec_read_row: failed requesting row: (0x01:0x00)->0xfffffff0
[  226.531605] thinkpad_ec: initial ec test failed

seems like thinkpad EDGE(this is what I'm running) has some issues with it.

Last edited by tasty_minerals (2011-06-21 11:30:18)


lenovo thinkpad EDGE 13'

Offline

#4 2011-06-21 11:36:37

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

miro279 wrote:

is module tp_smapi loaded? try adding it to MODULES in rc.conf if not.

I don't think so, lsmod doesn't output any tp_smapi module to be loaded, seems like it fails.(


lenovo thinkpad EDGE 13'

Offline

#5 2011-06-21 14:52:45

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: HDAPSD fails to load. Thinkpad users need help!

Unrelated sidenote: hal is not needed for anything anymore.

Edit:

Please use a saner thread title. Preferable one that says something about the actual problem you have........

Last edited by Mr.Elendig (2011-06-21 14:54:14)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2011-06-21 15:09:51

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

Mr.Elendig wrote:

Unrelated sidenote: hal is not needed for anything anymore.

Edit:

Please use a saner thread title. Preferable one that says something about the actual problem you have........

it is a dep for console kit. But anyway I took this example from archwiki without editing.

Last edited by tasty_minerals (2011-06-21 15:11:43)


lenovo thinkpad EDGE 13'

Offline

#7 2011-06-21 17:01:11

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: HDAPSD fails to load. Thinkpad users need help!

consolekit does not require hal. (unless your system is HORRIBLE outdated)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2011-06-22 12:56:59

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: HDAPSD fails to load. Thinkpad users need help!

I don't think so, lsmod doesn't output any tp_smapi module to be loaded, seems like it fails.(

did you try modprobing tp_smapi?  what happens when you do?

Unrelated sidenote: hal is not needed for anything anymore.

what is used instead?

Offline

#9 2011-06-22 14:12:55

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

rmmod hdaps

ERROR: Module hdaps does not exist in /proc/modules

modprobe tp_smapi

FATAL: Error inserting tp_smapi (/lib/modules/2.6.39-ARCH/extra/tp_smapi.ko.gz): No such device or address

modprobe hdaps

FATAL: Error inserting hdaps (/lib/modules/2.6.39-ARCH/updates/hdaps.ko.gz): No such device or address

heh, wtf?

cat /etc/rc.conf

MODULES=(snd-usb-audio tp_smapi thinkpad_acpi thinkpad_ec !snd_pcsp !pcspkr loop powernow-k8 cpufreq_ondemand cpufreq_performance cpufreq_conservative cpufreq_powersave)
DAEMONS=(dbus !hal syslog-ng hdapsd tlp !network !dhcdbd !networkmanager @alsa @wicd)

I have no idea why.

Last edited by tasty_minerals (2011-06-22 14:14:12)


lenovo thinkpad EDGE 13'

Offline

#10 2011-06-22 14:14:51

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: HDAPSD fails to load. Thinkpad users need help!

You should really move away from blacklisting modules in rc.conf !!


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2011-06-22 14:16:41

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

Inxsible wrote:

You should really move away from blacklisting modules in rc.conf !!

this is not a reason for HDAPS not to work. (getting behind in current arch trends)

I wonder are there users here who actually use HDAPS on thinkpads now? Where are you guys?

Last edited by tasty_minerals (2011-06-22 14:19:48)


lenovo thinkpad EDGE 13'

Offline

#12 2011-06-22 14:19:07

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: HDAPSD fails to load. Thinkpad users need help!

Didn't say it was, but it seems that your system uses a mix of old conf files which may or may not cause other issues in the future.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#13 2011-06-22 14:21:00

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

Inxsible wrote:

Didn't say it was, but it seems that your system uses a mix of old conf files which may or may not cause other issues in the future.

I will fix it, of course.


lenovo thinkpad EDGE 13'

Offline

#14 2011-06-22 16:52:44

Haptic
Member
Registered: 2009-09-03
Posts: 149

Re: HDAPSD fails to load. Thinkpad users need help!

Any of the newer Thinkpads are not currently supported by tp_smapi.

Offline

#15 2011-06-22 18:36:19

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: HDAPSD fails to load. Thinkpad users need help!

I use a T61p with tp_smapi..
Are you sure the modules where realy compiled using the current kernel and headers? Can you find them in /lib//modules/2.6.39-ARCH/... How did you install? I'd try reinstalling those packages.

Offline

#16 2011-06-25 07:38:34

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: HDAPSD fails to load. Thinkpad users need help!

and here you have what should work.. http://www.thinkwiki.org/wiki/Tp_smapi

Offline

#17 2011-06-25 08:25:39

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: HDAPSD fails to load. Thinkpad users need help!

Haptic wrote:

Any of the newer Thinkpads are not currently supported by tp_smapi.

https://wiki.archlinux.org/index.php/Tp … ed_Laptops

Plus I find that I have to install tp_smapi anew every time I get a new kernel!?

EDIT:

Just did it on my T61 and it worked as advertised after reinstalling.

Last edited by toad (2011-06-25 09:52:50)


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#18 2011-06-25 13:55:35

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: HDAPSD fails to load. Thinkpad users need help!

Plus I find that I have to install tp_smapi anew every time I get a new kernel!?

this is true for every additional kernel module, at least when there was a version update..

Offline

#19 2011-07-10 14:11:01

dir2cas
Member
From: Sofia, Bulgaria
Registered: 2010-11-21
Posts: 13

Re: HDAPSD fails to load. Thinkpad users need help!

I am currently running Arch Linux on my ThinkPad X41.

I am having troubles trying to get tp_smapi work on my system after the full system update that I did yesterday. I jumped from (12.2010) 2.6.36 to kernel 2.6.39. Since yesterday, tp_smapi was working perfectly, but after the update, it seems that the new kernel cannot recognize the tp_smapi module. I tried to remove and insert it again with modprobe tp_smapi, but I am getting: "FATAL: Module tp_smapi not found" every time.

As I have build tp_smapi from AUR, I removed it with pacman -Rd tp_smapi and installed my package again. Even removed hdapsd and reinstalled it again after tp_smapi and I am getting the same - the module could not be found.

I saw that there is a slightly newer tp_smapi in AUR, but currently I am not able to build the package, as I am getting some build() errors like: "gcc: error -pg and -fomit-frame-pointer are incompatible."
This PKGBUILD seems a patch for 2.6.37 kernel and probably could not build directly under the new kernel. Anyway, I am still not able to bring the good old tp_smapi to working condition.

Anyone with a working solution about this?

Offline

#20 2011-08-30 18:43:09

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

same issue, tp_smapi still fails all the way through on Thinkpad EDGE 13(
getting the same error and it seems like no solution so far.


lenovo thinkpad EDGE 13'

Offline

#21 2011-08-30 22:32:40

measure
Member
Registered: 2009-07-17
Posts: 62

Re: HDAPSD fails to load. Thinkpad users need help!

What it the output of  `# modprobe thinkpad_ec`?  This module is required by tp_smapi

It is my understanding that tp_smapi has issues with the edge series Thinkpads.  See http://www.thinkwiki.org/wiki/Talk:Tp_smapi#Edge_series


Thanks,
Ryan

Offline

#22 2011-08-31 05:25:06

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

measure wrote:

What it the output of  `# modprobe thinkpad_ec`?  This module is required by tp_smapi

It is my understanding that tp_smapi has issues with the edge series Thinkpads.  See http://www.thinkwiki.org/wiki/Talk:Tp_smapi#Edge_series


Thanks,
Ryan

modprobe thinkpad_ec
FATAL: Error inserting thinkpad_ec (/lib/modules/3.0-ARCH/extra/thinkpad_ec.ko): No such device or address

lenovo thinkpad EDGE 13'

Offline

#23 2011-08-31 06:13:52

measure
Member
Registered: 2009-07-17
Posts: 62

Re: HDAPSD fails to load. Thinkpad users need help!

Just to be sure: Have you built tp_smapi using AUR (or some other method)?  Have you tried to build it and it fails?  If you've built it and it successfully finished, what is the output of `ls /lib/modules/3.0-ARCH/extra/`?


Thanks,
Ryan

Offline

#24 2011-12-05 08:56:20

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: HDAPSD fails to load. Thinkpad users need help!

there is nothing I can do for my particular model of thinkpad sad
https://github.com/evgeni/tp_smapi/issues/2


lenovo thinkpad EDGE 13'

Offline

#25 2011-12-05 09:01:35

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: HDAPSD fails to load. Thinkpad users need help!

If it is on the list you're fine but I don't think it has been updated for a while...

http://www.thinkwiki.org/wiki/Tp_smapi# … fic_status


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

Board footer

Powered by FluxBB