Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254314 - app-laptop/hdapsd - patch for >= 2.6.27 kernel
Summary: app-laptop/hdapsd - patch for >= 2.6.27 kernel
Status: RESOLVED DUPLICATE of bug 166166
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://permalink.gmane.org/gmane.linu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-09 14:07 UTC by Arhont
Modified: 2009-10-14 21:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arhont 2009-01-09 14:07:10 UTC
Since 2.6.27 the version of the hdapsd supplied in portage is no longer working and needs to be upgraded to a newver one.

dynomob # /etc/init.d/hdapsd start
 * No protect entry for sda!
 * Make sure your kernel is patched with the blk_freeze patch
 * ERROR: hdapsd failed to start


dynomob # hdapsd -t -v -d sda -s 25 -a -y
Dry run, will not actually park heads or freeze queue.
protect_file: /sys/block/sda/queue/protect
threshold: 25
read_method: poll-sysfs
open(protect_file): No such file or directory


dynomob Desktop # hdapsd -t -v -d sda -s 25 -a
Dry run, will not actually park heads or freeze queue.
protect_file: /sys/block/sda/queue/protect
threshold: 25
read_method: input-dev
open(protect_file): No such file or directory


The latest version of hdapsd and the description of the changes are described here.
http://permalink.gmane.org/gmane.linux.drivers.hdaps.devel/1372



Reproducible: Always

Steps to Reproduce:
1. run hdapsd
2.
3.



Expected Results:  
dynomob # ./hdapsd -t -v -d sda -s 25 -a -y
Dry run, will not actually park heads or freeze queue.
protect_file: /sys/block/sda/device/unload_heads
threshold: 25
read_method: poll-sysfs
sampling_rate: 50
dt=1231509982.073  dpos=(-495,-476)  vel=(  -0.0,  -0.0)*30  acc=(  -0.0,  -0.0)*1800  avg_vel=(  -0.0,  -0.0)*3  thr=25.0
dt=0.021  dpos=(  0,  0)  vel=(   0.0,   0.0)*30  acc=(   0.0,   0.0)*1800  avg_vel=(   0.0,   0.0)*3  thr=25.0
dt=0.021  dpos=(  0,  0)  vel=(   0.0,   0.0)*30  acc=(   0.0,   0.0)*1800  avg_vel=(   0.0,   0.0)*3  thr=25.0
dt=0.021  dpos=(  0, -1)  vel=(   0.0,  -1.6)*30  acc=(   0.0,  -1.3)*1800  avg_vel=(   0.0,  -1.0)*3  thr=25.0
dt=0.021  dpos=(  0,  1)  vel=(   0.0,   1.6)*30  acc=(   0.0,   2.5)*1800  avg_vel=(   0.0,   0.1)*3  thr=25.0
Comment 1 Anton Bolshakov 2009-04-10 22:36:56 UTC
Please mark is as a dup of 166166
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-14 21:42:34 UTC
thanks for the report. tracking the issue at #166166

*** This bug has been marked as a duplicate of bug 166166 ***