LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   hdc: host side 80-wire cable detection failed, limiting max speed to UDMA33 (http://www.linuxquestions.org/questions/linux-hardware-18/hdc-host-side-80-wire-cable-detection-failed-limiting-max-speed-to-udma33-768390/)

sampei 11-11-2009 06:32 AM

hdc: host side 80-wire cable detection failed, limiting max speed to UDMA33
 
Hi, i got this problem with debian lenny

Code:

uname -r
2.6.26-2-686

HDD is:
http://www.hitachigst.com/hdd/support/7k80/7k80.htm

Code:

hdparm -i /dev/hdc

/dev/hdc:

 Model=HDS728080PLAT20, FwRev=PF2OA21B, SerialNo=PFD210DYR15HWN
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=51
 BuffType=DualPortCache, BuffSize=1719kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=160836480
 IORDY=on/off, tPIO={min:240,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: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1:  ATA/ATAPI-2,3,4,5,6,7

 * signifies the current active mode

Code:

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        Region 4: I/O ports at d000 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: VIA_IDE
        Kernel modules: via82cxxx

The only thing i'm sure, it's that the cable is an '80-wires' one (i personally changed it some weeks ago) and that motherboard supports 'Ultra DMA/66 Bus Mastering IDE' (Tekram S3 Pro - A Series).

If you nedd some other stuff to know, just ask...i tried to search with Google before posting, but i wasn't able to find a solution.
Thank You :hattip:

salasi 11-11-2009 08:53 AM

Assuming that the title is an error message, where do you see that message?

Anyway, I believe the 80 way cables can be connected the wrong way round and this results in exactly this outcome. Check the manuals!

sampei 11-11-2009 09:22 AM

Quote:

Originally Posted by salasi (Post 3752981)
Assuming that the title is an error message, where do you see that message?

Anyway, I believe the 80 way cables can be connected the wrong way round and this results in exactly this outcome. Check the manuals!

1) syslog
2) en error may always occur. I'll check the cable twice.

sampei 11-12-2009 04:21 AM

ok, i replaced the cable and i get the same results, and i'm quite sure to be able to connect an IDE cable.
TY

P.S. Just booted puppy linux. It's all good (udma4) and device is seen as sd*

onebuck 11-12-2009 08:30 AM

Hi,

I think the OP missed the point about the way the cable is attached. The longest end should be to the motherboard/interface.

I wonder if the hdd is on the correct position of the cable via the proper connector.

I also wonder what 'hdparm -I /dev/hdc' shows?

Quote:

excerpt from 'man hdparm';

-i Display the identification info that was obtained from the drive at boot time, if avail-
able. This is a feature of modern IDE drives, and may not be supported by older devices.
The data returned may or may not be current, depending on activity since booting the sys-
tem. However, the current multiple sector mode count is always shown. For a more
detailed interpretation of the identification info, refer to AT Attachment Interface for
Disk Drives (ANSI ASC X3T9.2 working draft, revision 4a, April 19/93).

-I Request identification info directly from the drive, which is displayed in a new expanded
format with considerably more detail than with the older -i flag.

:hattip:

sampei 11-12-2009 09:30 AM

Quote:

Originally Posted by sampei (Post 3754400)
P.S. Just booted puppy linux. It's all good (udma4) and device is seen as sd*

which part is not clear ?

Code:

# hdparm -I /dev/hdc

/dev/hdc:

ATA device, with non-removable media
powers-up in standby; SET FEATURES subcmd spins-up.
        Model Number:      HDS728080PLAT20
        Serial Number:      PFD210DYR15HWN
        Firmware Revision:  PF2OA21B
Standards:
        Used: ATA/ATAPI-7 T13 1532D revision 1
        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:  160836480
        LBA48  user addressable sectors:  160836480
        device size with M = 1024*1024:      78533 MBytes
        device size with M = 1000*1000:      82348 MBytes (82 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 0
        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
          *    64-bit World wide name
          *    URG for READ_STREAM[_DMA]_EXT
          *    URG for WRITE_STREAM[_DMA]_EXT
Security:
        Master password revision code = 65534
                supported
        not    enabled
        not    locked
        not    frozen
        not    expired: security count
        not    supported: enhanced erase
        44min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000cca3ac08910
        NAA            : 5
        IEEE OUI        : cca
        Unique ID      : 3ac08910
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct


onebuck 11-12-2009 09:40 AM

Hi,

Help thyself!

sampei 11-12-2009 09:48 AM

Quote:

Originally Posted by onebuck (Post 3754297)
Hi,

Help thyself!

I know what you mean, but i've tried to include as much info as i could, i checked the cable first of all, then tried with puppy to be sure: do you expect me to believe the cable is not at the right place ?

You can be a guru, but you're not a fox!
Bye


All times are GMT -5. The time now is 05:25 AM.