Re: usb-uhci rmmod fun

From: Dave Jones
Date: Wed Feb 25 2004 - 11:47:52 EST


On Wed, Feb 25, 2004 at 07:33:43PM +0300, Sergey Vlasov wrote:
> On Wed, 25 Feb 2004 00:52:41 +0000 Dave Jones wrote:
>
> > (00:52:08:root@mindphaser:davej)# lsmod | grep floppy
> > (00:52:39:root@mindphaser:davej)# modprobe usb-uhci
> > (00:52:48:root@mindphaser:davej)# lsmod | grep floppy
> > (00:53:02:root@mindphaser:davej)# rmmod uhci_hcd
> > (00:53:11:root@mindphaser:davej)# lsmod | grep floppy
> > floppy 58260 0
> > (00:53:13:root@mindphaser:davej)#
> >
> > Unloading the usb controller loads the floppy controller!?
>
> This thing seems to be triggered by updfstab (/etc/hotplug/usb.agent
> tries to run it during the remove handling).

Bill Nottingham pointed out to me that on rmmod hotplug rescans
all removable media, which seems a bit wacky, but that does
seem to be the case.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/