missing hdparm -B setting during resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: acpi-support
/etc/acpi/power.sh sets fixed hdparm values but gets called only when switching power supply.
Disk spin-down and head parking should not be activated without controlled disk idling. The regular uncoordinated logging or journaling activity may spin up the disks back up almost imediately after spinning down and lead to excessive load cycling.
(https:/
Since laptop drives may default to park quickly after resume hdparm -B255 should be set during resume. (hdparm -B255 does not set undefined value 255 but switches the drives apm feature off.) (Testing for the minimal value without head parking occurances may prevent overheating of hotty drives and be ok for desktop machines, too.)
Let laptop-mode-tools switch hdparm settings for harddisks on resume. (Even when laptop_mode kernel feature is not activated. (the default case))
laptop_mode *might* need to be called with "auto force" on resume events. (To reapply hdparm settings even though AC state has not changed.)
Package acpi-support:
Remove laptop_mode start/stop calls and hdparm stuff from power.sh
Remove ENABLE_LAPTOP_MODE setting from /etc/default/
Package laptop-mode-tools:
Include scripts that call "/usr/bin/
(Adapt the approach from the original laptop-mode-tools debian package to current ubuntu acpi-support)
(The current laptop-mode disk-idleing approach seems to be a left-over from the droped ubuntu-laptop-mode package config.)
There is now an overview about the related bugs in the wiki. /wiki.ubuntu. com/PowerManage ment#head- ab94c99627b86e9 fbb29a09d331617 8269c3e764
https:/