Your message dated Tue, 09 Oct 2012 14:47:53 +0000
with message-id <[email protected]>
and subject line Bug#684241: fixed in hdparm 9.42-1
has caused the Debian Bug report #684241,
regarding hdparm: on battery, the drive spins down too often, even when standby 
is off
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
684241: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684241
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hdparm
Version: 9.39-1+b1
Severity: important

Since quite recently, the hard drive of my laptop spins down too often
when on battery: about after 20 seconds - 30 seconds, then it usually
spins up again after a few seconds (sometimes less than 1 second). So,
these spin-downs are completely useless, make the system a bit slower
(when waiting for spin-up), and would probably lower the lifetime of
the drive.

I can see 2 solutions:

1. Detect this automatically. However it seems that the system cannot
   do that.

2. Disable spindown via some option. This is what I did, but without
   any effect!

I first tried putting "spindown_time = 0" in /etc/hdparm.conf, then
ran "/etc/init.d/hdparm restart" (not sure whether this is useful).
But the drive still spins down.

I've written a script to see the options:

#!/bin/sh
. /lib/hdparm/hdparm-functions
hdparm_options /dev/sda

and it outputs "-B254 -q -S0" when on AC power, and "-B127 -q -S0"
when on battery, as expected (from /lib/hdparm/hdparm-functions).

Then I ran directly:

# hdparm -B127 -S0 /dev/sda

/dev/sda:
 setting Advanced Power Management level to 0x7f (127)
 setting standby to 0 (off)
 APM_level      = 127

but the drive still spins down.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hdparm depends on:
ii  libc6     2.13-35
ii  lsb-base  4.1+Debian7

Versions of packages hdparm recommends:
ii  powermgmt-base  1.31

Versions of packages hdparm suggests:
ii  apmd  3.2.2-14

-- Configuration Files:
/etc/hdparm.conf changed:
quiet
spindown_time = 0


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: hdparm
Source-Version: 9.42-1

We believe that the bug you reported is fixed in the latest version of
hdparm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated hdparm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 09 Oct 2012 11:19:21 +0200
Source: hdparm
Binary: hdparm hdparm-dbg hdparm-udeb
Architecture: source amd64
Version: 9.42-1
Distribution: unstable
Urgency: low
Maintainer: Stephen Gran <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 hdparm     - tune hard disk parameters for high performance
 hdparm-dbg - debug files for hdparm
 hdparm-udeb - tune hard disk parameters for high performance (udeb)
Closes: 675624 684241
Changes: 
 hdparm (9.42-1) unstable; urgency=low
 .
   * New upstream release
   * Allow udev rule to process large numbers of devices (closes: #675624)
   * Changed hdparm-functions to allow links instead of devices in hdparm.conf.
   * Taken from Ubuntu:
     Set spindown policy back to -B128 instead of -B127. Too many drives
     misbehave too badly with this setting, possibly leading to drive failure.
     We should revisit this once we understand why people's drives are spinning
     back *up* so frequently (closes: #684241)
Checksums-Sha1: 
 7bae8ecde6b9430aef360241d255b9a0084c869d 1201 hdparm_9.42-1.dsc
 0127c7360edef355e01241ac5390b976752c9d84 126941 hdparm_9.42.orig.tar.gz
 9d1dd266ce56fa2a58df15b8b630aea789284f2c 14388 hdparm_9.42-1.diff.gz
 3cfc39dc6605a960bbe9836efe264c80c783c23e 113016 hdparm_9.42-1_amd64.deb
 4d0e89633578975a85667a857e50a34cc1fc5e74 118244 hdparm-dbg_9.42-1_amd64.deb
 baa1bab70a8d253ebdf4005f9c9c5b83f01598cf 43188 hdparm-udeb_9.42-1_amd64.udeb
Checksums-Sha256: 
 254b4c894d373da8a8850fa3d3bc80b7dd8d8d4b754dea7b2a8716d1aa1f224f 1201 
hdparm_9.42-1.dsc
 e50f37819a7133dd5279dcd5b211de225f3f0b9112f086739b53111b21ac2132 126941 
hdparm_9.42.orig.tar.gz
 91433c2a89b6b81e4e4f919a48a8cc390b1abe5e2304430fcbc97e82f91ec099 14388 
hdparm_9.42-1.diff.gz
 df4927a21a4d90ceb2d457e1b3532e29fb6b962c21302cedc21ac0f8a6fab586 113016 
hdparm_9.42-1_amd64.deb
 bf26e4fb208bdb5cb5d27a1cbe463c0444947051f8cc599a9a1c1b6b3c484174 118244 
hdparm-dbg_9.42-1_amd64.deb
 0475e318b4a554c1e7447312569855e845c96f2427ad2d8b3360f769dc3f0493 43188 
hdparm-udeb_9.42-1_amd64.udeb
Files: 
 94d211d18728a13a44d53ae6ffb67db8 1201 admin optional hdparm_9.42-1.dsc
 4cb5483a951e489d1e336c1a390692cb 126941 admin optional hdparm_9.42.orig.tar.gz
 3f7400bd05a4bd304360cb02911fc708 14388 admin optional hdparm_9.42-1.diff.gz
 e3d47afed686665f388b0e5773c3cf09 113016 admin optional hdparm_9.42-1_amd64.deb
 7ad1e2222eb0cc840d3f2a7db40ab78b 118244 debug extra hdparm-dbg_9.42-1_amd64.deb
 9f9e2015a34a597afb129cf5f8790e66 43188 debian-installer optional 
hdparm-udeb_9.42-1_amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFQdDORVkEm8inxm9ERAn4WAJ4/u10S0aqswnkHYzTgSw6tt+BDTACfTfZn
LwM0jlFaJIqceykgO3bV8Vw=
=B8QG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to