According to that output, just unload usb-storage in addition to everything
else, and that will remove usbcore.

Of course, to remove usb-storage, you're going to have to idle your use of
that module.

Matt

On Wed, Jan 26, 2005 at 10:12:00PM +0100, C. Hurschler wrote:
> no that still doesn't seem to be enough to unload it normaly...
> 
> athlon:/home/stoffel# umount /proc/bus/usb
> athlon:/home/stoffel# modprobe -r usbcore
> FATAL: Module usbcore is in use.
> athlon:/home/stoffel# modprobe -r ehci_hcd
> athlon:/home/stoffel# modprobe -r ohci_hcd
> athlon:/home/stoffel# modprobe -r usbcore
> FATAL: Module usbcore is in use.
> 
> 
> there's still other stuff that uses it
> 
> athlon:/home/stoffel# lsmod | grep usb
> usb_storage            69184  1
> scsi_mod              125132  2 sd_mod,usb_storage
> usbcore               118564  1 usb_storage
> ide_core              1
> 
> is there an easy way to unload it without the -f parameter?
> 
> Chris
> 
> On Wednesday 26 January 2005 20:38, Alan Stern wrote:
> > Please send your replies to both the mailing list and to me.
> >
> > On Wed, 26 Jan 2005, C. Hurschler wrote:
> > > Hi Alan,
> > >
> > > I did a:
> > >
> > > modprobe usbcore use_old_scheme=y
> > >
> > > after having unloaded ehci_hcd and ohci_hcd and having to do a rmod -f
> > > usbcore, which wouldn't unload without the -f parameter.
> >
> > There's your mistake.  You probably needed to unmount /proc/bus/usb before
> > unloading usbcore.
> >
> > Alan Stern
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Linux-usb-users@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

It was a new hope.
                                        -- Dust Puppy
User Friendly, 12/25/1998

Attachment: pgpAPwIT1D4Ez.pgp
Description: PGP signature

Reply via email to