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

angel chen angelchen1111 at gmail.com
Sun Nov 9 22:59:00 UTC 2008


bojo42  says:
""
@angel chen: i can confirm that on intrepid with all updates applied, the four 90-hdparm.sh scripts never come to hdparm, cause $DO_HDPARM is always set to "n". just like you said, it really needs to be changed otherwise the scripts won't fix load cycling on ac.

but as your change will finally result in $DO_HDPARM=y on my side, it also does the same when running the script from battery.d. and AFAIK laptop mode should be enabled on battery and therefore $DO_HDPARM should be "n". the same should be the case with the script in start.d, when you booting your laptop on battery. am i right?
""
Yes, we do need to update all files. Also how come the file /etc/init.d/laptop-mode says 

# FIXME: this shouldn't be configured there
if [ -f /etc/default/acpi-support ]; then
. /etc/default/acpi-support;
fi

if [ x$ENABLE_LAPTOP_MODE = xfalse ]; then
exit 0;
fi

which causes the laptop mode tools script won't be able to execute at
all if ENABLE_LAPTOP_MODE is set to false.

-- 
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