why can't I unload usbcore?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Nov 23 20:30:13 UTC 2006


On Tue, Nov 21, 2006 at 11:29:22AM -0500, Matt Price wrote:
> I'm trying to diagnose an intermittent but sometimes persistent problem
> with sudpend-to-disk on my laptop, one which appears to have something
> to do with usb.  so I'm trying to unload all the usb modules, but don't
> seem to be able to do that with usbcore.  my procedureh ad been:
> 
> modprobe -r ehci-hcd uhci-hcd hci_usb
> umount -l /proc/bus/usb (won't unmount unless I add the '-l' swich)
> modprobe -r usbcore
> 
> with the last command I get a " FATAL: Module usbcore is in use."
> 
> but I can't tell what's 'using' it.  
> lsof | grep -i usb gives no results, for instance.  
> 
> any hints on how to figure this out?

lsmod|grep usbcore

modules aren't files (in terms of how they are used).  lsof won't
show them.

Once every usb module is unloaded, you should be able to remove usbcore.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list