Problems Hot-Swapping IDE ATA drives
Hello all,
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:
---------
[root@leonp] mount /dev/hdc1 /mnt/pcmciaend_request: I/O error, dev 16:00 (hdc), sector 2end_request: I/O error, dev 16:00 (hdc), sector 4end_request: I/O error, dev 16:00 (hdc), sector 6end_request: I/O error, dev 16:00 (hdc), sector 0end_request: I/O error, dev 16:00 (hdc), sector 2end_request: I/O error, dev 16:00 (hdc), sector 4end_request: I/O error, dev 16:00 (hdc), sector 6
unable to read partition table
mount: error while guessing file system type
------------
These messages are repeated several times.
I also tried to issue hdparm -U (or -R) 0 /dev/hdc with exactly the same result.
Any help will be highly appreciated.
Please, post possible answers to my private address, as I am not subscribed to the list.
Signature · 3 lines
__________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup
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
Quoted 10 lines · Alan Cox
Quoted 7 lines
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