[Bug 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime
Ralph Corderoy
ralph at inputplus.co.uk
Thu Jan 15 11:16:03 UTC 2009
After installing acpi-support 0.109-0hardy1 this morning on 8.04, the
motherboard's drive LED on the case stayed on. Executing a `hdparm -B
254 /dev/sdb' half an hour later turned it off. /var/log/apt/term.log
shows
* Checking battery state...
/dev/sdb:
setting Advanced Power Management level to 0x80 (128)
and hdparm -I confirmed this was the setting while the LED was stuck on.
This is not a laptop; there's no battery and I don't want a -B of 128
but 254. It seems the scripts don't distinguish between on_ac_power(1)
returning 1, we know system is not on mains, and 255, we couldn't find
out either way. On this machine,
$ on_ac_power; echo $?
255
I think it should err on the side of this probably not being a laptop
with a battery if the hardware is such, e.g. old, that on_ac_power
returns 255.
--
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