[ltp] Hard drive constantly spinning down

Eric Van Buggenhaut linux-thinkpad@linux-thinkpad.org
Wed, 19 Oct 2005 00:09:46 +0200


On Sat, Oct 15, 2005 at 11:08:11PM -0700, Bill Sheppard wrote:
> I just replaced the standard 40GB drive in my T42 with a Toshiba 60GB
> drive.  Upon booting it appears the drive is spinning down after only a
> few seconds, as almost every command I type is followed by a slight
> delay, and then I hear the drive spin up.  I've tried "hdparm -B 255
> /dev/hda" to turn off APM on the drive, but this doesn't seem to help. 
> I also think the drive may be operating far slower than it should - I
> tried a "hdparm -t /dev/hda" and only got about 30MB/sec.  If I'm not
> mistaken the old drive got over 100MB/sec, and this drive in it's
> previous laptop (Toshiba Tecra S1) got around 100MB/sec as well.

I'm not sure but 100MB/s seems a lot. I own a 60GB 7200 RPM disk and 
it gives me 36MB/s for buffered reads and 1147MB/s for cached reads


Could other people post their result too ?


hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
        Model Number:       HTS726060M9AT00                         
        Serial Number:      MRH453M4H3JS5B
        Firmware Revision:  MH4OA6DA
Standards:
        Used: ATA/ATAPI-6 T13 1410D revision 3a 
        Supported: 6 5 4 3 
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  117210240
        device size with M = 1024*1024:       57231 MBytes
        device size with M = 1000*1000:       60011 MBytes (60 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 4      Queue depth: 1
        Standby timer values: spec'd by Vendor, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 0
        Advanced power management level: 254 (0xfe)
        Recommended acoustic management value: 128, current value: 254
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    NOP cmd
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
           *    Mandatory FLUSH CACHE command 
           *    Device Configuration Overlay feature set 
                Automatic Acoustic Management feature set 
                SET MAX security extension
                Address Offset Reserved Area Boot
           *    SET FEATURES subcommand required to spinup after power up
                Power-Up In Standby feature set
                Advanced Power Management feature set
           *    SMART self-test 
           *    SMART error logging 
Security: 
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
        38min for SECURITY ERASE UNIT. 
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct


-- 
Eric VAN BUGGENHAUT
Eric.VanBuggenhaut@AdValvas.be