From owner-freebsd-stable@FreeBSD.ORG Sat Jul 12 09:50:46 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DE9937B401 for ; Sat, 12 Jul 2003 09:50:46 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CE2F43F93 for ; Sat, 12 Jul 2003 09:50:45 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.9/8.12.9) with ESMTP id h6CGoh4D094032 for ; Sat, 12 Jul 2003 20:50:43 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 12 Jul 2003 20:50:43 +0400 (MSD) From: Dmitry Morozovsky To: stable@freebsd.org Message-ID: <20030712204434.Y74361@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: usb.ko is unloadable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 16:50:46 -0000 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@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@revamp:~/tmp> dmesg | grep -i usb pci0: (vendor=0x8086, dev=0x7112) at 7.2 irq 11 uhci0: port 0xe000-0xe01f irq 11 at device 7.2 on pci0 usb0: 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@rinet.ru *** ------------------------------------------------------------------------