why can't I unload usbcore?

Matt Price matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Sat Nov 25 23:01:17 UTC 2006


On Thu, 2006-23-11 at 15:30 -0500, Lennart Sorensen wrote:
> 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.
> 
thanks lennart.  this is in fact what I'd been trying.  but even with
lsmod showing:

usbcore               136068  1

something is blocking the unloading.  so I imagine there's some process
or device (not just a module) involved.  

I imagine there's some way to diagnose this but I don't knwo it...

matt


> --
> 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
-- 
Matt Price
History Dept
University of Toronto
matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20061125/19a1cfac/attachment.sig>


More information about the Legacy mailing list