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

Re: ide: failed opcode was: unknown

James Vahn <jvahn@short.circuit.com> writes:

> >> Try turning the write-cache off: hdparm -W0 /dev/hda
> > 
> > Tried that and didn't see any difference... It's really annoying...
> It was a stab in the dark. "hdparm /dev/hda", "hdparm -I /dev/hda".

# hdparm -I /dev/hda


ATA device, with non-removable media
        Model Number:       TOSHIBA MK8025GAS
        Serial Number:      24580773A
        Firmware Revision:  KA023A
        Supported: 6 5 4 3
        Likely used: 6
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  156301488
        device size with M = 1024*1024:       76319 MBytes
        device size with M = 1000*1000:       80026 MBytes (80 GB)
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 48     Queue depth: 1
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = ?
        Advanced power management level: unknown setting (0x0080)
        DMA: sdma0 sdma1 sdma2 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=120ns  IORDY flow control=120ns
        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
           *    SET MAX security extension
           *    Advanced Power Management feature set
           *    SMART self-test
           *    SMART error logging
        Master password revision code = 65534
        not     enabled
        not     locked
        not     expired: security count
        not     supported: enhanced erase
        72min for SECURITY ERASE UNIT.
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by CSEL
Checksum: correct

> You can test performance of any changes you make with "hdparm -tT
> /dev/hda". 

# hdparm -tT /dev/hda

 Timing cached reads:   2008 MB in  2.00 seconds = 1003.15 MB/sec
 Timing buffered disk reads:   14 MB in  3.00 seconds =   4.66 MB/sec


"Progress might be a circle, rather than a straight line."  
- Eberhard Zeidler

Reply to: