From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miles Lane Date: Sun, 04 Feb 2001 01:58:13 +0000 Subject: Re: Adding PCMCIA support to the kernel tree -- developers needed. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org David Hinds wrote: > > On Sat, Feb 03, 2001 at 07:27:26PM +0000, David Woodhouse wrote: > > > > How often is this used? > > Fairly rarely; there are currently around 15 types of cards that have > override files for broken CIS information. Would you enumerate these or else explain how we can gather this information ourselves? Is it just a matter of reading driver code or looking in specific configuration files in the pcmcia-cs package? > > It's arguable that this is a bug in the SCSI and IDE drivers. Users _do_ > > just pull cards out. We should deal with it, not oops and die. This is a > > fundamental part of what hotplugging means, especially to users of > > consumer devices. > > I would probably agree. Dealing with hot eject of a block device is > fairly hard, though; beyond having the driver not oops, you also have > to potentially deal with mounted filesystems going away. It seems like we should both: 1. Not OOPS when cards are ejected without warning 2. Have a cardmgr equivalent that schedules a device removal, triggering notices to a user to (for example) unmount partitions before removing a cardbus card. It seems like there has been general agreement that a cardmgr replacement is needed, but (IIRC) the replacement hasn't been well-defined. Can we start nailing this down, so we can begin work on building it? Miles _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel