Is the bug #59695 fixed in Gutsy Gibbon ?

Asked by Krzisch on 2007-11-04

Lately, I read that a bug was threatening my dear hddrive : in laptop mode, the script resume.sh
The bug has been reported as follows :

When switching to battery power, /etc/acpi/power.sh issues the command hdparm -B 1 to all block devices. This leads to extremely frequent load cycles. For example, my new thinkpad has already done well over 7000 load cycles -- in only 100 hours. That's at least one unloading per minute. Googling for "load unload cycles notebook OR laptop" shows that most laptop drives handle up to 600,000 such cycles. As these values clearly show, this issue is of high importance and should be fixed sooner rather than later.

I'd like to know if I must use the fix of the post on my Toshiba A200. Presently I have only modified /etc/laptop-mode/laptop-mode.conf to assign the control of my hdd to laptop-mode-tools correcting CONTROL_HD_POWERMGMT=1 instead of 0.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jan-Philipp Litza
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

If the bug is fixed you will see the status as "fixed" here https://launchpad.net/bug59695.html

HTH

Revision history for this message
Best Jan-Philipp Litza (jplitza) said :
#2

Well, it's kinda fixed. /etc/acpi/power.sh checks for the variable ENABLE_LAPTOP_MODE in /etc/default/acpi-support to be set to true. By default, this variable is set to false, thus the script doesn't run hdparm -B 1 for any device. If you want to enable laptop mode but disable the hdparm thing, just comment it out in /etc/acpi/power.sh

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#3

The bug is not fixed. It is confirmed which means the bug is reproducible. Also the priority is wishlist: the bug is not important and it is only a proposed feature or a small problem that appears only with special configurations.

Revision history for this message
Krzisch (krzisch-claude) said :
#4

well, It's a work around. Thank you very much.