Re: how to safely remove a CF PC card adapter

Thomas Dodd <[email protected]> Thu, 26 Sep 2002 16:42:19 -0500
Newsgroups gmane.linux.redhat.release.limbo
Message-ID <[email protected]>

Robert P. J. Day wrote:
> # mount /dev/hdc1 /mnt/cf

I do the same for the CF card my camera using
autofs, so I don't have to mount/umount manually :)

>   however, even after i umount the device, if i pop it out of the
> laptop, instant complete halt of the laptop.
> 
>   is there a safe, recommended way to eject a PCMCIA CF card without
> bringing the machine to a screeching halt?

I haven't tried this in limbo/null since My PCMCIA aaptor
is on a different box. The adaptor is on an up2date 7.3
desktop machine with custom kernels now. But, all the Red
Hat kernel since RHL-7.0 have been fine.

I usually use "cardctl eject" before I remove a card.
If you have other PCMCIA cards, you might want to use
"cardctl eject 0" (or 1) to eject the card in socket0 (or 1).

	-Thomas