[Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

Bart Samwel bart at samwel.tk
Wed Oct 29 13:44:31 UTC 2008


Milan wrote:
> Igor: AFAIK, laptop-mode is not enabled by default. You need to tweak
> /etc/laptop-mode/laptop-mode.conf and switch the
> ENABLE_LAPTOP_MODE_ON_BATTERY option so that CONTROL_HD_POWERMGMT=1
> really takes effect. So the bug does not come from here.

The problem is that the acpi-support code does not check if laptop mode
is enabled or not. It ALWAYS disables the check if
CONTROL_HD_POWERMGMT=1, even if ENABLE_LAPTOP_MODE=false in
/etc/default/acpi-support. The reason for this is that in Debian (from
which this fix was ported), the ENABLE_LAPTOP_MODE setting does not
exist. The check in acpi-support should be adapted to also take
ENABLE_LAPTOP_MODE into account.

Cheers,
Bart

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.




More information about the kernel-bugs mailing list