Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-24 Thread Alan Cox
> But when we see a CF card on a *SATA* controller, we *know* there's a bridge > chip > in there someplace, and we know that the common bridges don't do MWDMA. If we see CF on SATA we already should kill the MWDMA modes as we'll see word 95 showing SATA if the bridge is properly implemented. I g

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-24 Thread Mark Lord
Alan Cox wrote: The solution is beginning to look more and more obvious: default to not use MDMA modes for CF devices at boot. And eventually provide a sysfs or libata parameter (or support/snoop SET_XFER_MODE) to change the mode later. I strongly disagree. We need to understand *why*, we

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-23 Thread Alan Cox
> The solution is beginning to look more and more obvious: default to not use > MDMA > modes for CF devices at boot. And eventually provide a sysfs or libata > parameter > (or support/snoop SET_XFER_MODE) to change the mode later. I strongly disagree. We need to understand *why*, we need to f

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-23 Thread Mark Lord
Alan Cox wrote: I've acquired a new CF card that is capable of UDMA2, and with the same connectors, wiring and adaptor (i.e. I popped out the MWDMA card and inserted the UDMA one), I can now boot and read data on both devices without error at reasonable speeds. Fascinating. Does point more to

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-23 Thread Matt Sealey
Alan Cox wrote: I've acquired a new CF card that is capable of UDMA2, and with the same connectors, wiring and adaptor (i.e. I popped out the MWDMA card and inserted the UDMA one), I can now boot and read data on both devices without error at reasonable speeds. Fascinating. Does point more t

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-22 Thread Alan Cox
> I've acquired a new CF card that is capable of UDMA2, and with the same > connectors, wiring and adaptor (i.e. I popped out the MWDMA card and > inserted the UDMA one), I can now boot and read data on both devices > without error at reasonable speeds. Fascinating. Does point more to a driver

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-09-15 Thread Malcolm Gillies
Alan Cox wrote: Sounds to me like the usual case of people putting CF convertors onto spec compliant cables and ending up with electrical problems. If you stick additional connectors, wires and plugs onto the cable it goes out of spec. I've got reasonable evidence now that this is not the case.

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-20 Thread Malcolm Gillies
Mark Lord wrote: Malcolm Gillies wrote: 2) the HD runs error-free at UDMA/33 when I use a different, PIO-only CF card but otherwise the same cabling, adaptor etc. It would be useful to see the boot log for this scenario. In particular, I'm curious what timings get chosen for the two devices. B

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-19 Thread Alan Cox
> I don't think we can safely assume that UDMA can co-operate with non-UDMA > on the same cable. In this case, it might be causing the CF device to falsely > detect control cycles. Improbable and never observed. The PIO address setup timing requires care but not the rest, and especially not UDMA

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-19 Thread Mark Lord
Malcolm Gillies wrote: Mark Lord wrote: Malcolm Gillies wrote: By swapping around components, I've established that the problem is unlikely due to the cable (which is 50cm long 80-wire), hard disk or controller. When I swap to another, slower CF card (one that only supports PIO rather than MW

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-19 Thread Malcolm Gillies
Mark Lord wrote: Malcolm Gillies wrote: By swapping around components, I've established that the problem is unlikely due to the cable (which is 50cm long 80-wire), hard disk or controller. When I swap to another, slower CF card (one that only supports PIO rather than MWDMA), the error goes awa

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-18 Thread Mark Lord
Malcolm Gillies wrote: My PATA hard disk is crippled by CRC errors when it's on the same cable as a 1GB SanDisk Ultra II CompactFlash card in CF to IDE adaptor. Any ideas why? By swapping around components, I've established that the problem is unlikely due to the cable (which is 50cm long 80-

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-18 Thread Alan Cox
On Sat, 18 Aug 2007 17:00:35 +1000 Malcolm Gillies <[EMAIL PROTECTED]> wrote: > My PATA hard disk is crippled by CRC errors when it's on the same cable > as a 1GB SanDisk Ultra II CompactFlash card in CF to IDE adaptor. Any > ideas why? I would guess the resulting pipe of cables and bits means

Re: CompactFlash and HD unhappy together on the same IDE channel

2007-08-18 Thread Matt Sealey
Having the dual-slot CF-IDE adapter AND a hard disk means you have 3 devices there whether you plug something into the slot or not. You'd get the same error if you had a 3-way IDE cable :) Just move the CF adapter to a different cable, or the hard disk to a different cable, and it'll be fine. -

CompactFlash and HD unhappy together on the same IDE channel

2007-08-18 Thread Malcolm Gillies
My PATA hard disk is crippled by CRC errors when it's on the same cable as a 1GB SanDisk Ultra II CompactFlash card in CF to IDE adaptor. Any ideas why? By swapping around components, I've established that the problem is unlikely due to the cable (which is 50cm long 80-wire), hard disk or con