Acoustic management of SATA drive via hdparm - Hardware

This is a discussion on Acoustic management of SATA drive via hdparm - Hardware ; Hi, When I try to do: hdparm -M128 /dev/sda I get: /dev/sda: setting acoustic management to 128 HDIO_SET_ACOUSTIC failed: Inappropriate ioctl for device HDIO_GET_ACOUSTIC failed: Inappropriate ioctl for device Any idea how I can get around the above problem? As ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Acoustic management of SATA drive via hdparm

  1. Acoustic management of SATA drive via hdparm


    Hi,

    When I try to do:

    hdparm -M128 /dev/sda

    I get:

    /dev/sda:
    setting acoustic management to 128
    HDIO_SET_ACOUSTIC failed: Inappropriate ioctl for device
    HDIO_GET_ACOUSTIC failed: Inappropriate ioctl for device

    Any idea how I can get around the above problem? As indicated by hdparm -I
    my drive supports acoustic management:

    /dev/sda:

    ATA device, with non-removable media
    ¬* ¬* ¬* ¬* Model Number: ¬* ¬* ¬* Maxtor 6V250F0
    ¬* ¬* ¬* ¬* Serial Number: ¬* ¬* ¬*V507LKQG
    ¬* ¬* ¬* ¬* Firmware Revision: ¬*VA111630
    Standards:
    ¬* ¬* ¬* ¬* Used: ATA/ATAPI-7 T13 1532D revision 0
    ¬* ¬* ¬* ¬* Supported: 7 6 5 4
    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: ¬*490234752
    ¬* ¬* ¬* ¬* device size with M = 1024*1024: ¬* ¬* ¬*239372 MBytes
    ¬* ¬* ¬* ¬* device size with M = 1000*1000: ¬* ¬* ¬*251000 MBytes (251 GB)
    Capabilities:
    ¬* ¬* ¬* ¬* LBA, IORDY(can be disabled)
    ¬* ¬* ¬* ¬* Queue depth: 32
    ¬* ¬* ¬* ¬* Standby timer values: spec'd by Standard, no device specific minimum
    ¬* ¬* ¬* ¬* R/W multiple sector transfer: Max = 16 ¬*Current = 16
    ¬* ¬* ¬* ¬* Advanced power management level: unknown setting (0x0000)
    ¬* ¬* ¬* ¬* Recommended acoustic management value: 192, 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
    ¬* ¬* ¬* ¬* ¬* ¬* ¬* ¬* Security Mode feature set
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Power Management feature set
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Write cache
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Look-ahead
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Host Protected Area feature set
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*WRITE_VERIFY command
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*WRITE_BUFFER command
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*READ_BUFFER command
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*NOP cmd
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*DOWNLOAD_MICROCODE
    ¬* ¬* ¬* ¬* ¬* ¬* ¬* ¬* Advanced Power Management feature set
    ¬* ¬* ¬* ¬* ¬* ¬* ¬* ¬* SET_MAX security extension
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*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
    ¬* ¬* ¬* ¬* ¬* ¬* ¬* ¬* Media Card Pass-Through
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*General Purpose Logging feature set
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*WRITE_{DMA|MULTIPLE}_FUA_EXT
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*64-bit World wide name
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*URG for READ_STREAM[_DMA]_EXT
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*URG for WRITE_STREAM[_DMA]_EXT
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*SATA-I signaling speed (1.5Gb/s)
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*SATA-II signaling speed (3.0Gb/s)
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Native Command Queueing (NCQ)
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Host-initiated interface power management
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*Software settings preservation
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*SMART Command Transport (SCT) feature set
    ¬* ¬* ¬* ¬* ¬* ¬** ¬* ¬*SCT Data Tables (AC5)
    Security:
    ¬* ¬* ¬* ¬* Master password revision code = 65534
    ¬* ¬* ¬* ¬* ¬* ¬* ¬* ¬* supported
    ¬* ¬* ¬* ¬* not ¬* ¬* enabled
    ¬* ¬* ¬* ¬* not ¬* ¬* locked
    ¬* ¬* ¬* ¬* not ¬* ¬* frozen
    ¬* ¬* ¬* ¬* not ¬* ¬* expired: security count
    ¬* ¬* ¬* ¬* not ¬* ¬* supported: enhanced erase
    Checksum: correct


    Thanks!

  2. Re: Acoustic management of SATA drive via hdparm

    I forgot to mention that I am running openSUSE 10.2.

  3. Re: Acoustic management of SATA drive via hdparm

    Alexander Filep wrote:
    > Hi,
    >
    > When I try to do:
    >
    > hdparm -M128 /dev/sda
    >
    > I get:
    >
    > /dev/sda:
    > setting acoustic management to 128
    > HDIO_SET_ACOUSTIC failed: Inappropriate ioctl for device
    > HDIO_GET_ACOUSTIC failed: Inappropriate ioctl for device


    Did you run that command as root or a regular user? I suspect it'll
    only work for root.

  4. Re: Acoustic management of SATA drive via hdparm

    John-Paul Stewart wrote:

    > Did you run that command as root or a regular user? I suspect it'll
    > only work for root.


    Yes, I ran it as root.

  5. Re: Acoustic management of SATA drive via hdparm

    [snip]
    >
    > Yes, I ran it as root.


    Did you get the same results if you used the "recommended" value of 192? I
    saw that in the information you gave about the drive.

    Rodney


  6. Re: Acoustic management of SATA drive via hdparm

    Rodney wrote:

    > [snip]
    >>
    >> Yes, I ran it as root.

    >
    > Did you get the same results if you used the "recommended" value of 192? I
    > saw that in the information you gave about the drive.
    >
    > Rodney


    Yes, tried that with the same result. I've done a little more reading over
    the past couple of days and, as far as I can tell, this feature is not yet
    supported with SATA drives.

  7. Re: Acoustic management of SATA drive via hdparm

    Alexander Filep wrote:

    > Yes, tried that with the same result. I've done a little more reading over
    > the past couple of days and, as far as I can tell, this feature is not yet
    > supported with SATA drives.


    It works here with hdparm v6.9 and kernel 2.6.21 (surely with 2.6.20
    too, not sure about 2.6.18):

    # hdparm -M128 /dev/sda

    /dev/sda:
    setting acoustic management to 128
    HDIO_GET_ACOUSTIC failed: Inappropriate ioctl for device


    Although the HDIO_GET_ACOUSTIC failed, I can hear the difference and I
    can see it in hdparm -I output.

    That's a real SATA drive, not a libata PATA drive.

    Regards...
    Michael

+ Reply to Thread