Problems Hot-Swapping IDE ATA drives

L P (plm@iname.com)
Mon, 18 Nov 2002 20:46:19 +0800


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/pcmcia
end_request: I/O error, dev 16:00 (hdc), sector 2
end_request: I/O error, dev 16:00 (hdc), sector 4
end_request: I/O error, dev 16:00 (hdc), sector 6
end_request: I/O error, dev 16:00 (hdc), sector 0
end_request: I/O error, dev 16:00 (hdc), sector 2
end_request: I/O error, dev 16:00 (hdc), sector 4
end_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.

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

- 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/