mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problems Hot-Swapping IDE ATA drives
@ 2002-11-18 12:46 L P
  2002-11-18 13:39 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: L P @ 2002-11-18 12:46 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Problems Hot-Swapping IDE ATA drives
@ 2002-11-21 10:34 L P
  0 siblings, 0 replies; 4+ messages in thread
From: L P @ 2002-11-21 10:34 UTC (permalink / raw)
  To: Daniela Engert; +Cc: linux-kernel

Dear Daniela,
> 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.

    Many many thanks to you for the hint - I added the On/Off switch on the adapter power and everything now works fine! I insert cassette, cycle the power and mount the drive - it works!
    Once again - many thanks.

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


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

end of thread, other threads:[~2002-11-21 10:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-18 12:46 Problems Hot-Swapping IDE ATA drives L P
2002-11-18 13:39 ` Alan Cox
2002-11-18 13:44   ` Daniela Engert
2002-11-21 10:34 L P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®