sorry to take so long....

I removed everything that was obviously using usbcore but still get:

athlon:/home/stoffel# lsmod |grep usb
usbcore               118564  1
athlon:/home/stoffel# rmmod usbcore
ERROR: Module usbcore is in use
athlon:/home/stoffel#

So I don't know what is preventing me from removing usbcore.
I do have the bluetooth module running, which uses a USB device, but I can't 
get that unloaded either:

athlon:/home/stoffel# lsmod |grep l2cap
l2cap                  25668  2
bluetooth              49156  3 l2cap
athlon:/home/stoffel# rmmod l2cap
ERROR: Module l2cap is in use
athlon:/home/stoffel# rmmod bluetooth
ERROR: Module bluetooth is in use by l2cap

here is the complete lsmod listing:

Module                  Size  Used by
l2cap                  25668  2
nfsd                  230816  8
exportfs                6336  1 nfsd
lockd                  70216  2 nfsd
sunrpc                154404  2 nfsd,lockd
lp                     10856  0
binfmt_misc            11592  1
button                  6544  0
ac                      4740  0
battery                 9284  0
ipv6                  261568  8
af_packet              22472  2
snd_intel8x0           35020  0
snd_ac97_codec         72208  1 snd_intel8x0
gameport                4544  1 snd_intel8x0
snd_mpu401_uart         7872  1 snd_intel8x0
snd_rawmidi            25060  1 snd_mpu401_uart
snd_seq_device          8072  1 snd_rawmidi
shpchp                100580  0
pciehp                 97188  0
pci_hotplug            34160  2 shpchp,pciehp
sis_agp                 8132  1
agpgart                34472  1 sis_agp
parport_pc             37188  1
parport                41416  2 lp,parport_pc
sd_mod                 17808  0
scsi_mod              125132  1 sd_mod
bluetooth              49156  3 l2cap
usbcore               118564  1
sis900                 20164  0
crc32                   4224  1 sis900
capability              4488  0
commoncap               7040  1 capability
w83627hf               30440  0
eeprom                  8480  0
i2c_sensor              3776  2 w83627hf,eeprom
i2c_isa                 1984  0
i2c_sis96x              5252  0
i2c_core               24016  5 w83627hf,eeprom,i2c_sensor,i2c_isa,i2c_sis96x
snd_pcm_oss            53480  0
snd_pcm                97608  2 snd_intel8x0,snd_pcm_oss
snd_timer              25604  1 snd_pcm
snd_page_alloc          9928  2 snd_intel8x0,snd_pcm
snd_mixer_oss          19968  1 snd_pcm_oss
snd                    57124  9 
snd_intel8x0,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
tsdev                   7616  0
mousedev               11480  1
soundcore              10272  1 snd
evdev                   9472  0
ide_cd                 42464  0
cdrom                  40540  1 ide_cd
psmouse                21832  0
fan                     3908  0
thermal                13128  0
processor              17384  1 thermal
isofs                  37688  0
vfat                   14528  0
fat                    46560  1 vfat
ext2                   70568  0
ext3                  125672  3
jbd                    63256  1 ext3
mbcache                 9092  2 ext2,ext3
ide_generic             1344  0
sis5513                16840  1
ide_disk               20480  6
ide_core              141936  4 ide_cd,ide_generic,sis5513,ide_disk
unix                   28532  316
fbcon                  40064  0
font                    8256  1 fbcon
vesafb                  6688  0
cfbcopyarea             3904  1 vesafb
cfbimgblt               2944  1 vesafb
cfbfillrect             3520  1 vesafb





On Wednesday 26 January 2005 11:11 pm, Alan Stern wrote:
> On Wed, 26 Jan 2005, 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?
>
> Yes.  Since the only thing still using usbcore is usb-storage, unload
> usb-storage first.  And make sure that nothing is using usb-storage, say
> by unplugging all your USB mass storage devices.
>
> 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

-- 
C. Hurschler

-- 
C. Hurschler


-------------------------------------------------------
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

Reply via email to