Re: How can SATA power management feature be controlled?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/01/2010 03:49 AM, Peter van Hooft wrote:
>> How can I control the automatic power management feature of my SATA disk
>> drives?  Right now the heads are unloading so frequently that within
>> one year I will have exceeded the rated number of load/unload cycles for
>> the drives.  The drives are Western Digital model WD10EADS.  I tried
>> using "hdparm -B 254" and "hdparm -B 0", but neither works:
>>
>>     # hdparm -B 254 /dev/sda
>>
>>     /dev/sda:
>>     setting Advanced Power Management level to 0xfe (254)
>>     HDIO_DRIVE_CMD failed: Input/output error
>>     HDIO_DRIVE_CMD(identify) failed: Input/output error
>>     # hdparm -B 0 /dev/sda
>>
>>     /dev/sda:
>>     setting Advanced Power Management level to 0xfe (254)
>>     HDIO_DRIVE_CMD failed: Input/output error
>>     HDIO_DRIVE_CMD(identify) failed: Input/output error
>>
>> My efforts to find anything useful with 'sdparm' have been fruitless.
>>
>
> Hi,
>
> I use both:
> hdparm -q -S 0 /dev/sda
> hdparm -q -B 255 /dev/sda
> which seems to work.

On what make and model of drive?  I know that works on my other drives,
but the WD10EADS doesn't support whatever ATA command "hdparm -B" uses.
Here:

     # hdparm -B 255 /dev/sda

     /dev/sda:
      setting Advanced Power Management level to disabled
      HDIO_DRIVE_CMD failed: Input/output error
      HDIO_DRIVE_CMD(identify) failed: Input/output error
     # hdparm -B  /dev/sda

     /dev/sda:
      APM_level	= not supported

The drive does claim to support "Power Management feature set".  See
below:

     # hdparm -I /dev/sda

     /dev/sda:

     ATA device, with non-removable media
     	Model Number:       WDC WD10EADS-65M2B0
     	Serial Number:      WD-WCAV53157295
     	Firmware Revision:  01.00A01
     	Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, 
SATA Rev 2.6
     Standards:
     	Supported: 8 7 6 5
     	Likely used: 8
     Configuration:
     	Logical		max	current
     	cylinders	16383	16383
     	heads		16	16
     	sectors/track	63	63
     	--
     	CHS current addressable sectors:   16514064
     	LBA    user addressable sectors:  268435455
     	LBA48  user addressable sectors: 1953525168
     	Logical/Physical Sector size:           512 bytes
     	device size with M = 1024*1024:      953869 MBytes
     	device size with M = 1000*1000:     1000204 MBytes (1000 GB)
     	cache/buffer size  = unknown
     Capabilities:
     	LBA, IORDY(can be disabled)
     	Queue depth: 32
     	Standby timer values: spec'd by Standard, with device specific minimum
     	R/W multiple sector transfer: Max = 16	Current = 16
     	Recommended acoustic management value: 128, current value: 254
     	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
     	     Cycle time: min=120ns recommended=120ns
     	PIO: pio0 pio1 pio2 pio3 pio4
     	     Cycle time: no flow control=120ns  IORDY flow control=120ns
     Commands/features:
     	Enabled	Supported:
     	   *	SMART feature set
     	   *	Power Management feature set
     	   *	Write cache
     	   *	Look-ahead
     	   *	WRITE_BUFFER command
     	   *	READ_BUFFER command
     	   *	NOP cmd
     	   *	DOWNLOAD_MICROCODE
     	    	Power-Up In Standby feature set
     	   *	SET_FEATURES required to spinup after power up
     	   *	Automatic Acoustic Management feature set
     	   *	48-bit Address feature set
     	   *	Device Configuration Overlay feature set
     	   *	Mandatory FLUSH_CACHE
     	   *	FLUSH_CACHE_EXT
     	   *	SMART error logging
     	   *	SMART self-test
     	   *	General Purpose Logging feature set
     	   *	64-bit World wide name
     	   *	WRITE_UNCORRECTABLE_EXT command
     	   *	{READ,WRITE}_DMA_EXT_GPL commands
     	   *	Segmented DOWNLOAD_MICROCODE
     	   *	Gen1 signaling speed (1.5Gb/s)
     	   *	Gen2 signaling speed (3.0Gb/s)
     	   *	Native Command Queueing (NCQ)
     	   *	Phy event counters
     	   *	NCQ priority information
     	   *	DMA Setup Auto-Activate optimization
     	    	Device-initiated interface power management
     	   *	Software settings preservation
     	   *	SMART Command Transport (SCT) feature set
     	   *	SCT Long Sector Access (AC1)
     	   *	SCT LBA Segment Access (AC2)
     	   *	SCT Error Recovery Control (AC3)
     	   *	SCT Features Control (AC4)
     	   *	SCT Data Tables (AC5)
     	    	unknown 206[12] (vendor specific)
     	    	unknown 206[13] (vendor specific)
     Logical Unit WWN Device Identifier: 50014ee203885dba
     	NAA		: 5
     	IEEE OUI	: 0014ee
     	Unique ID	: 203885dba
     Checksum: correct




-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux