Package: hdparm
Version: 9.43-1.1
Severity: normal

Dear Maintainer,

I'm using hdparm.conf to spin down my secondary media HDD when not in
use. Disk spins down after reboots or invoking service hdparm restart 
but it does not when resuming from suspend (which I use a lot).

This happens because my disk (Seagate Barracuda ST3500320AS_5QM12E6M)
doesn't support AdvancedPM (APM_level  = not supported) even if it can
spin down with no issues via hdparm -y or hdparm -S.

This bug is similar to Ubuntu #1225169: when resuming from suspend
/usr/lib/pm-utils/power.d/95hdparm-apm is executed which checks for
AdvancedPM support before reapplying hdparm.conf options. In my case
this script fails silently and the disk doesn't spin down.

I guess I could comment out the AdvancedPM check to fix things. Is there
a cleaner solution?

Thanks!

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages hdparm depends on:
ii  libc6     2.19-9
ii  lsb-base  4.1+Debian13

Versions of packages hdparm recommends:
ii  powermgmt-base  1.31+nmu1

Versions of packages hdparm suggests:
pn  apmd  <none>

-- Configuration Files:
/etc/hdparm.conf changed:
quiet 
/dev/sdb {
        spindown_time = 2m
}


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to