From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 20 Oct 2003 22:46:35 +0000 Subject: Re: USB-Storage module doesn't get removed when unplugged 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 On Mon, Oct 20, 2003 at 11:49:41PM +0200, reflex wrote: > Greg KH schrieb: > > > We do not unload any modules based on hotplug events, sorry. > > It's impossible to figure out if it should be done or not, so > > we do not do it. > > You don't have to figure it out. Just try to rmmod it (if there > are more than one module, do this in the correct order). If the > device or whatever it is is still in use you just get an error > which you will ignore. > > If you unplug the second keyboard and try to rmmod keybdev you > get the message "devices busy" because there is still one > keyboard left. > > Correct me if this is not true. Im not a linux kernel guru. This is not true. Try it today with just 1 usb keyboard :) Oh and on 2.6, you can always unload a network module, even if it is in use. It will shut down the connection and unload itself quite nicely. > I should probably find the constellation where I get trouble with > the devices instead of just unloading the modules. This would be > a workaround. > > Anyway I don't really care how it works as long as it DOES work. Sorry, impossible to get correct. So we do not do it. > And linux hotplug has proven me more than one time that it can > lock itself up so you need to know the root password to make it > work again without rebooting. hello windows.... What do you mean by this? the hotplug scripts lock up? What happens? What version of the scripts? What kernel version? Can you please send a better bug report that that? thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel