ATA 저장 장치를 PIO 모드로 전환

ATA 저장 장치를 PIO 모드로 전환

드라이브를 들어가게 하려고 노력 중이에요피오모드hdparm리눅스에서.

hdparm -X pio0 /dev/sdX

약 4~5개의 디스크(PATA 및 SATA)를 사용해 보았습니다. 나는 항상 같은 오류가 발생합니다.

SG_IO: bad/missing sense data, sb[]: ...

아이디어? 다른 알려진 대체 방법이 있습니까?

/dev/sda:

ATA device, with non-removable media
        Model Number:       Hitachi HDS721616PLA380
        Serial Number:      PVB300Z2R6H4UD
        Firmware Revision:  P22OA70A
Standards:
        Used: ATA/ATAPI-7 T13 1532D revision 1
        Supported: 7 6 5 4 & some of 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:  321672960
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:      157066 MBytes
        device size with M = 1000*1000:      164696 MBytes (164 GB)
        cache/buffer size  = 7384 KBytes (type=DualPortCache)
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: disabled
        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=240ns  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_BUFFER command
           *    READ_BUFFER command
           *    DOWNLOAD_MICROCODE
                Advanced Power Management feature set
                Power-Up In Standby feature set
                SET_FEATURES required to spinup after power up
                Address Offset Reserved Area Boot
                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
           *    Segmented DOWNLOAD_MICROCODE
           *    Gen1 signaling speed (1.5Gb/s)
           *    Gen2 signaling speed (3.0Gb/s)
           *    Native Command Queueing (NCQ)
           *    Host-initiated interface power management
           *    Phy event counters
                Non-Zero buffer offsets in DMA Setup FIS
                DMA Setup Auto-Activate optimization
                Device-initiated interface power management
                In-order data delivery
           *    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)
Security:
        Master password revision code = 65297
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
        64min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000cca321c2f31e
        NAA             : 5
        IEEE OUI        : 000cca
        Unique ID       : 321c2f31e
Checksum: correct

답변1

http://www.kernel.org/doc/Documentation/kernel-parameters.txt

참고:
libata.dma=0, libata.ignore_hpa=1 및 libata.force=

디스크를 수리(스크래핑, 수집)할 때 이 방법을 여러 번 사용했습니다.

답변2

BIOS에서 Ultra DMA를 비활성화해 보십시오.

관련 정보