linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.4.20 AMD 74xx IDE cable detection problem
  2003-05-27 17:34 2.4.20 AMD 74xx IDE cable detection problem William Gallafent
@ 2003-05-27 17:04 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2003-05-27 17:04 UTC (permalink / raw)
  To: William Gallafent; +Cc: Linux Kernel Mailing List

On Maw, 2003-05-27 at 18:34, William Gallafent wrote:
> Hi,
> 
> I've found mention of similar problems (80w cables being incorrectly
> detected as 40w under various circumstances) in the list archives, but
> not of exactly this. I'm using stock SuSE 8.2 kernel 2.4.20-64GB-SMP
> at the moment.

Should be fixed by 2.4.21rc4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* 2.4.20 AMD 74xx IDE cable detection problem
@ 2003-05-27 17:34 William Gallafent
  2003-05-27 17:04 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: William Gallafent @ 2003-05-27 17:34 UTC (permalink / raw)
  To: linux-kernel


Hi,

I've found mention of similar problems (80w cables being incorrectly
detected as 40w under various circumstances) in the list archives, but
not of exactly this. I'm using stock SuSE 8.2 kernel 2.4.20-64GB-SMP
at the moment.

M/B: Tyan S2460 Tiger MP, with AMD 760MP chipset.

Each IDE channel has an ATA-133 capable HDD as master, and an ATA-33
capable CD/DVD drive as slave. Both channels have 80 wire cables.

If I only connect the master devices to each IDE channel, the cable
detect works fine, detecting an 80 wire cable on each channel, and
enabling ATA-100 for both drives. If I connect the slave on either
channel, though, the detection reports a 40w cable, and therefore
limits all drives on that channel to ATA-33.

Here's the contents of /proc/ide/amd74xx with all the drives
connected, and the cable detection wrong:

----------AMD BusMastering IDE Configuration----------------
Driver Version:                     2.10
South Bridge:                       Advanced Micro Devices [AMD] AMD-766 [ViperPlus] IDE
Revision:                           IDE 0x1
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xf000
PCI clock:                          33.3MHz
-----------------------Primary IDE-------Secondary IDE------
Prefetch Buffer:               no                  no
Post Write Buffer:             no                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   40w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA      UDMA      UDMA      UDMA
Address Setup:       30ns      30ns      30ns      30ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns      90ns
Data Recovery:       30ns      30ns      30ns      30ns
Cycle Time:          60ns      60ns      60ns      60ns
Transfer Rate:   33.3MB/s  33.3MB/s  33.3MB/s  33.3MB/s

If I disconnect the slave device from channel 1, though, the cable on
that channel is correctly detected, so that drive runs at ATA-100. The
same is true for the other channel:

----------AMD BusMastering IDE Configuration----------------
Driver Version:                     2.10
South Bridge:                       Advanced Micro Devices [AMD] AMD-766 [ViperPlus] IDE
Revision:                           IDE 0x1
Highest DMA rate:                   UDMA100
BM-DMA base:                        0xf000
PCI clock:                          33.3MHz
-----------------------Primary IDE-------Secondary IDE------
Prefetch Buffer:               no                  no
Post Write Buffer:             no                  no
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA       PIO      UDMA      UDMA
Address Setup:       30ns      90ns      30ns      30ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns     180ns      90ns      90ns
Data Recovery:       30ns     450ns      30ns      30ns
Cycle Time:          20ns     630ns      60ns      60ns
Transfer Rate:   99.9MB/s   3.1MB/s  33.3MB/s  33.3MB/s

Can anyone tell me what's wrong here, and where I should look to fix
it?

-- 
Bill Gallafent.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-27 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 17:34 2.4.20 AMD 74xx IDE cable detection problem William Gallafent
2003-05-27 17:04 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).