** Summary changed:

- [natty] Cannot spin down hard drives
+ [natty] Cannot spin down hard drives while APM_level=254

** Description changed:

  Binary package hint: hdparm
  
+ Some hard drives (tested with Samsung HD154UI) refuse to spin down on
+ demand (hdparm -y and -Y options) or on inactivity timeout (-S) while
+ the APM level (-B) is at 254. Setting it to another value (tested 255
+ and 253) makes the drive respect the set spindown time and spin down on
+ demand as well.
+ 
+ -----------------------------------------
+ Old description:
  On an update natty ubuntu-server installation (hdparm version 9.32-1ubuntu1) 
with nothing accessing the hard-drives running, I can't get them to spin down. 
The drives (sd[ab]) are in an LVM setup but only used for 2 data-directories, 
the system itself is on a USB flashstick (sdc) mounted directly:
  # mount
  /dev/sdc1 on / type ext4 (rw,errors=remount-ro)
  ...
  /dev/mapper/DATA_VG-DATA_LV on /data type ext4 (rw)
  /dev/mapper/DATA_VG-ZALOHY_LV on /zalohy type ext4 (rw)
  # pvdisplay 
    --- Physical volume ---
    PV Name               /dev/sda1
    VG Name               DATA_VG
  ...   
    --- Physical volume ---
    PV Name               /dev/sdb1
    VG Name               DATA_VG
  ...
  hdparm -y seems to do nothing at all, while hdparm -Y seems to put the SATA 
links to sleep:
  Jan 10 19:32:11 johny kernel: [13313.493918] ata3.00: exception Emask 0x0 
SAct 0x1 SErr 0x0 action 0x6
  Jan 10 19:32:11 johny kernel: [13313.506875] ata3.00: waking up from sleep
  Jan 10 19:32:11 johny kernel: [13313.514994] ata3: hard resetting link
  Jan 10 19:32:12 johny kernel: [13313.832117] ata3: SATA link up 1.5 Gbps 
(SStatus 113 SControl 300)
  Jan 10 19:32:12 johny kernel: [13313.845403] ata3.00: configured for UDMA/133
  Jan 10 19:32:12 johny kernel: [13313.845439] ata3: EH complete
  Jan 10 19:32:12 johny kernel: [13313.852572] ata5.00: exception Emask 0x0 
SAct 0x1 SErr 0x0 action 0x6
  Jan 10 19:32:12 johny kernel: [13313.865560] ata5.00: waking up from sleep
  Jan 10 19:32:12 johny kernel: [13313.873618] ata5: hard resetting link
  Jan 10 19:32:12 johny kernel: [13314.192119] ata5: SATA link up 1.5 Gbps 
(SStatus 113 SControl 300)
  Jan 10 19:32:12 johny kernel: [13314.205402] ata5.00: configured for UDMA/133
  Jan 10 19:32:12 johny kernel: [13314.205436] ata5: EH complete
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: hdparm 9.32-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.37-12.26-generic-pae 2.6.37
  Uname: Linux 2.6.37-12-generic-pae i686
  Architecture: i386
  Date: Mon Jan 10 19:23:08 2011
  InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Alpha i386 (20110106)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: hdparm

** Tags added: apm
** Tags removed: i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701144

Title:
  [natty] Cannot spin down hard drives while APM_level=254

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to