Re: CURRENT state of modules

From: Norikatsu Shigemura <nork_at_ninth-nine.com>
Date: Sun, 14 Dec 2003 02:22:03 +0900
On Sat, 13 Dec 2003 20:00:54 +0300
"toxa" <postfix_at_sendmail.ru> 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)
Received on Sat Dec 13 2003 - 08:22:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:34 UTC