Re: Problems Hot-Swapping IDE ATA drives

From: Daniela Engert (dani@ngrt.de)
Date: Mon Nov 18 2002 - 08:44:11 EST


On 18 Nov 2002 13:39:39 +0000, Alan Cox wrote:

>>Please, help me with the following: I have the PCMCIA adapter which
>>converts the ATA compatible PCMCIA cassettes into "True IDE hard disk".
>>My RedHat 7.3 linux works fine, when it was booted with the cassette
>>inserted. I can mount/read/write/unmount the device without any error.
>>Next, I unmount the device and extract the cassette - usually (not
>>always)I receive the "spurious interrupt" message. Then, when I insert
>>the cassette and try to mount it back, I receive the following errors:

>PCMCIA IDE works for all the devices I have. Really I'd need to see the
>dmesg for the setup from boot through the mounts and fails

There is a problem with PCMCIA<->ATA adapters and "True IDE mode":

A CompactFlash unit enters "True IDE mode" when the /OE pin is held low
at device power on. This is fine when your system is powered on with
the CF card inserted. But if you insert a CF card into an already
powered on system, the /OE pin is not connected to the socket and thus
held high by an device-internal pull up at device power on. This is
because the power pins are longer than the other pins and connected
before the others! So the CF card enters "memory mapped mode" instead
of "True ATA mode" and is no longer accessible from the ATA host.

Ciao,
  Dani

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniela Engert, systems engineer at MEDAV GmbH
Gräfenberger Str. 32-34, 91080 Uttenreuth, Germany
Phone ++49-9131-583-348, Fax ++49-9131-583-11

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:22 EST