On 6/30/2010 11:38 AM, Josep M. wrote:
Hello.

I have a SATA HD, installed as SATA HD (not as ide in motherboard) and
Debian squeeze detects me this as IDE.

What can I do for change his?

Appended there is is the output of hdparm and sdparm

Thanks
Josep

mail:/etc/modprobe.d# sdparm  --all /dev/sda
     /dev/sda: ATA       ST31500541AS      CC34
Read write error recovery mode page:
   AWRE        1
   ARRE        0
   TB          0
   RC          0
   EER         0
   PER         0
   DTE         0
   DCR         0
   RRC         0
   COR_S       0
   HOC         0
   DSOC        0
   WRC         0
   RTL         0
Caching (SBC) mode page:
   IC          0
   ABPF        0
   CAP         0
   DISC        0
   SIZE        0
   WCE         1
   MF          0
   RCD         0
   DRRP        0
   WRP         0
   DPTL        0
   MIPF        0
   MAPF        0
   MAPFC       0
   FSW         0
   LBCSS       0
   DRA         0
   NV_DIS      0
   NCS         0
   CSS         0
Control mode page:
   TST         0
   TMF_ONLY    0
   D_SENSE     0
   GLTSD       1
   RLEC        0
   QAM         0
   QERR        0
   RAC         0
   UA_INTLCK   0
   SWP         0
   ATO         0
   TAS         0
   AUTOLOAD    0
   BTP        -1
   ESTCT      30
mail:/etc/modprobe.d#




mail:/etc/modprobe.d#
mail:/etc/modprobe.d# hdparm  -iI /dev/sda

/dev/sda:

  Model=ST31500541AS, FwRev=CC34, SerialNo=XXXXXXXX
  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=off
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=2930277168
  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  mdma0 mdma1 mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
  AdvancedPM=yes: unknown setting WriteCache=enabled
  Drive conforms to: unknown:  ATA/ATAPI-4,5,6,7

  * signifies the current active mode


ATA device, with non-removable media
        Model Number:       ST31500541AS
        Serial Number:      XXXXXXXX
        Firmware Revision:  CC34
        Transport:          Serial
Standards:
        Used: unknown (minor revision code 0x0029)
        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: 2930277168
        Logical/Physical Sector size:           512 bytes
        device size with M = 1024*1024:     1430799 MBytes
        device size with M = 1000*1000:     1500301 MBytes (1500 GB)
        cache/buffer size  = unknown
        Nominal Media Rotation Rate: 5900
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 = ?
        Advanced power management level: 192
        Recommended acoustic management value: 254, current value: 0
        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_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
                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
           *    General Purpose Logging feature set
           *    WRITE_{DMA|MULTIPLE}_FUA_EXT
           *    64-bit World wide name
                Write-Read-Verify feature set
           *    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
                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)
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
                supported: enhanced erase
        328min for SECURITY ERASE UNIT. 328min for ENHANCED SECURITY ERASE
UNIT.
Logical Unit WWN Device Identifier: 5000c5001b7ea807
        NAA             : 5
        IEEE OUI        : 000c50
        Unique ID       : 01b7ea807
Checksum: correct
mail:/etc/modprobe.d#




It did pick up that its Transport is Serial.. Technically speaking, SATA is only a Serial variant of ATA (which normally runs in parallel, hence PATA). Even though the drive may show up as a general ATA device that seems to be the norm (also for the fact that the kernel did put the drive in /dev/sda as opposed to /dev/hda) everything looks good though. If anyone has a second opinion, please correct me if I'm wrong.

Thanks


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c2b945d.9050...@4195tech.com

Reply via email to