From owner-freebsd-current@FreeBSD.ORG Sat Dec 13 09:22:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B176316A4CE for ; Sat, 13 Dec 2003 09:22:07 -0800 (PST) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2EB343D09 for ; Sat, 13 Dec 2003 09:22:05 -0800 (PST) (envelope-from nork@ninth-nine.com) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.10/8.12.10/NinthNine) with ESMTP id hBDHM3jC021509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Dec 2003 02:22:04 +0900 (JST) (envelope-from nork@ninth-nine.com) Date: Sun, 14 Dec 2003 02:22:03 +0900 From: Norikatsu Shigemura To: "toxa" Message-Id: <20031214022203.2cb9a232.nork@ninth-nine.com> In-Reply-To: <001e01c3c19a$ac1b9900$0202a8c0@karputer> References: <200312121910.14245.postfix@sendmail.ru> <20031212.124333.73362266.imp@bsdimp.com> <20031214011007.3400fe79.nork@ninth-nine.com> <001e01c3c19a$ac1b9900$0202a8c0@karputer> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: CURRENT state of modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2003 17:22:07 -0000 On Sat, 13 Dec 2003 20:00:54 +0300 "toxa" wrote: > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > 7 6 0xc0741000 27c40 usb.ko > > 8 1 0xc0769000 596c ugen.ko > > 9 1 0xc076f000 655c umass.ko > > /boot/loader.conf.local > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > usb_load="YES" > > ugen_load="YES" > > umass_load="YES" > I see you load usb as module but 'device uhci' or 'device ohci' is still has > to be in kernel (i can't see it such modules in /boot/kernel/), isn't it? > If I remove 'device usb' from kernel putting it in loader.conf as module, I > got usb-related error then compiling kernel, and putting 'device usb' back > in the kernel makes buildkernel happy. maybe I do smth wrong? Would you > mind to show me your kernconf. This is a good question. 1. usb module has uhci and ochi drivers (and usb bus driver). You cannot use *only* uhci or ochi with usb module. So uhci_load="YES" or ohci_load="YES" is not available. 2. device usb is USB Bus driver. device uhci and ochi is required device usb (USB Bus driver). ugen -+ +- uhci (Universal Host Controller Interface) | | +--- usb ---+ | | umas -+ +- ohci (Open Host Controller Intereface)