[Pkg-acpi-devel] Bug#664041: acpi-support: load cycles problem revisited

Igor Palmieri palmieri.igor at gmail.com
Thu Mar 15 03:41:39 UTC 2012


Package: acpi-support
Version: 0.138-10
Severity: important

Hi,

Just did a fresh install of Debian Wheezy and noticed that the count
of load cycles of my hard-drive are increasing constantly and at an
undesired frequency.

This issue is famous and was already reported five years ago as #448673

At that time, acpi-support upstream was updated to include some
90-hdparm.sh scripts at /etc/acpi to perform hdparm operations at due
time, which solved the problem for debian package too.

But, Debian´s acpi-support upstream is linked to Ubuntu´s package (as
seen in http://packages.qa.debian.org/a/acpi-support.html). Some time
later, Ubuntu´s own hdparm and pm-utils packages evolved to include a
chain of other scritps that already took care of calling hdparm with
correct parameters, starting from pm-powersave at /etc/acpi/. Those
changes only affected Ubuntu.

So 90hdparm.sh scripts became redundand at Ubuntu, and they were
removed from its package. As it is the upstream for Debian
acpi-support, they were also removed after an update - see Debian
acpi-support 0.129-1 changelog for details.

However, Debian do not have the same solution using pm-utils, so
basically the load cycle bug was free again.

As discussed extensively in the past, this may not even be considered
a bug, and definitely is a hardware manufacturer´s problem. Also, now
there are easy solutions: (i) just installing laptop-mode-tools or
(ii) copying one of the 90-hdparms.sh scripts, now supplied at
/usr/share/doc/acpi-support/examples/acpi/, to /etc/pm/power.d/.

But the fact is, for a fresh new install, even including laptop
packages, some hard drives may start cycling to death. I only noticed
this because of the head parking noise, and when checked already have
~3K cycles in 120 hours of use. Have I noticed only one year later,
maybe the counter was already at number much closer to it´s factory
"limits".

Maybe I'm missing something here, but that's what I've found these days.
Info:

# hdparm -i /dev/sda

/dev/sda:

 Model=WDC WD7500BPVT-75HXZT3, FwRev=03.01A03, SerialNo=WD-WX81E81TDZ47
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=50
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=1465149168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode


$ uname -a
Linux trouble 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux


Many thanks

Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20120315/8add3ad9/attachment-0001.html>


More information about the Pkg-acpi-devel mailing list