Kernel Compile

james jamesp at hisser.org
Mon Mar 24 13:02:26 GMT 2003


Thanks for the pointer.

However I'm would have expected the module not to have been compiled. I do 
have /boot/kernel/usb.ko - what if I don't even want it to be there in the 
first place? Or am I thinking too much like a Linuxer ? :)

James

On Mon, 24 Mar 2003, Peter McGarvey wrote:

> Have you put:
> 
>     usbd_enable="NO"
> 
> in /etc/rc.conf.
> 
> If you haven't then the USB daemon will be loaded.  And a quick check of
> the usbd man page informs me:
> 
>     If the ``usb'', ``ohci'' and ``uhci'' modules are not loaded, 
>     it will load them automatically.
> 
> 
> 
> 
> * james <jamesp at hisser.org> [2003-03-24 12:12:44 GMT]:
> > Sorry if it seems like I'm spamming the list with questions, I feel like a 
> > complete newbie!
> > 
> > I have recompiled my kernel (5.0-RELEASE) from source, after commenting 
> > out everything I no longer need from the config file. I compiled using 
> > make buildkernel && make installkernel, and rebooted.
> > 
> > uname -a tells me I'm using the new kernel, no problems there.
> > 
> > However, "dmesg" tells me that the USB subsystem is being probed:
> > 
> > uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xb000-0xb01f 
> > irq 10 at device 31.2 on pci0
> > usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
> > usb0: USB revision 1.0
> > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > uhub0: 2 ports with 2 removable, self powered
> > uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xb400-0xb41f 
> > irq 11 at device 31.4 on pci0
> > usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
> > usb1: USB revision 1.0
> > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > uhub1: 2 ports with 2 removable, self powered
> > 
> > and kldstat:
> > 
> >  3    1 0xc199b000 1c000    usb.ko
> > 
> > but I commented out *everything* USB in my kernel config file. Is this 
> > right? :)
> > 
> > I would be grateful if someone could help me answer my questions. :)
> > 
> > Cheers
> > 
> > James
> > 
> > 
> > ------ FreeBSD UK Users' Group  -  Mailing List ------
> > http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
> > 
> 
> 






More information about the Ukfreebsd mailing list