usb.ko is unloadable?

Dmitry Morozovsky marck at rinet.ru
Sat Jul 12 09:50:46 PDT 2003


Dear colleagues,

I'm planning to debug usb connection with my new SONY CLIE handheld, and found
that this process is much complicated by the fact usb.ko module can not be
unloaded 'cause some process is referencing it:

marck at revamp:~/tmp> kldstat -v -i 11
Id Refs Address    Size     Name
11    1 0xc0cf7000 1b000    usb.ko
        Contains modules:
                Id Name
                62 usb/uhub
                63 uhub/uhub
                64 ohci/usb
                65 uhci/usb
                66 pci/uhci
                67 pci/ohci

(usbd has been killed, surely)

marck at revamp:~/tmp> dmesg | grep -i usb
pci0: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2 irq 11
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xe000-0xe01f irq 11 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0

Who is referencing usb.ko?

I'm on 4.8-R/4.8-STABLE.

Thanks in advance, and have a nice weekend.

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list