Public bug reported:

Binary package hint: acpi-support


/etc/acpi/power.sh sets fixed hdparm values but gets called only when switching 
from/to AC.

Disk spin-down and head parking should not be activated without controlled disk 
idling. The regular uncoordinated logging or journaling activity may spin the 
disks back up almost imediately after spinning down and lead to excessive load 
cycling.
(https://wiki.ubuntu.com/PowerManagement)

Laptop drives may default to park their heads quickly when powered on.
Thus hdparm -B255 should be set during boot. (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 be ok for
desktop machines, too.)


Flexible approach: 
Let laptop-mode-tools switch hdparm settings for harddisks to -B 255 on AC. 
(And even when laptop_mode kernel feature is not activated. (the default case))

Package acpi-support:
Remove laptop_mode start/stop calls and hdparm stuff from power.sh
Remove ENABLE_LAPTOP_MODE setting from /etc/default/acpi-support. (And point to 
laptop-mode.conf for LM on battery, empty battery and AC.)

Package laptop-mode-tools:
Include scripts that call "/usr/bin/laptop_mode auto" in  in /etc/acpi/ac.d, 
battery.d, resume.d and start.d. Then its the users choice to put scripts after 
or before the laptop-mode symlinks.
(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.)

** Affects: acpi-support (Ubuntu)
     Importance: Undecided
         Status: New

-- 
missing hdparm -B setting during boot
https://bugs.launchpad.net/bugs/244832
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to