From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 19:30:24 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2079716A4CE for ; Fri, 21 Jan 2005 19:30:24 +0000 (GMT) Received: from rogers.com (CPE00095bf5ff21-CM000f9f578d7a.cpe.net.cable.rogers.com [70.24.145.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B04043D45 for ; Fri, 21 Jan 2005 19:30:23 +0000 (GMT) (envelope-from gbell72@gardnerbell.ca) Received: from gardnerbell.ca (localhost [127.0.0.1]) by rogers.com (8.13.1/8.13.1) with ESMTP id j0LJRwea039125; Fri, 21 Jan 2005 14:27:59 -0500 (EST) (envelope-from gbell72@gardnerbell.ca) Received: (from gbell72@localhost) by gardnerbell.ca (8.13.1/8.13.1/Submit) id j0LJRrM1039124; Fri, 21 Jan 2005 14:27:53 -0500 (EST) (envelope-from gbell72) Date: Fri, 21 Jan 2005 14:27:53 -0500 From: Gardner Bell To: "Colin J. Raven" Message-ID: <20050121192753.GA38849@gardnerbell.ca> Mail-Followup-To: "Colin J. Raven" , FreeBSD Questions References: <20050121155903.K2927@kenmore.kozy-kabin.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050121155903.K2927@kenmore.kozy-kabin.nl> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Questions Subject: Re: location of kernel modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 19:30:24 -0000 On Fri, Jan 21, 2005 at 04:02:57PM +0100 Colin J. Raven wrote: > Can anyone please tell me where the kernel modules are located, and > where are they described? I ask this so that I can figure out which to > include/exclude in OPTIONS_OVERRIDE in /whatever/make.conf (separate > post). > > I'd hate to *guess* at what to include/exclude, that sounds sort of > risky..and I'm assuming there must be some method for doing this for > someone of my (thus far) hopelessly limited experience. > The kernel modules are located in the /usr/src/sys/modules directory. I have determined what to use and not use by both reviewing the dmesg output and doing a whatis on each module. Running whatis on each module seems to take forever but it is how I did it. Maybe someone else knows of a quicker way. Here is the list of modules I have included in the MODULES_OVERRIDE directive. accf_data accf_http acpi agp aio amd aout bios cam cd9660 cd9660_iconv cp crypto cryptodev dc dcons dcons_crom fdc fdescfs geom i2c io libiconv linux lpt mac_biba mac_bsdextended mac_ifoff mac_lomac mac_mls mac_none mac_partition mac_portacl mac_seeotheruids mac_stub mac_test mem mii netgraph pccard ppbus ppi pps random rc rc4 re rndtest safe sem sound speaker splash syscons sysvipc ubsa ufs ugen uhid unionfs usb vesa vinum zlib I've probably included more modules than I will ever use, but I think it gives you an idea. You will *definitely* want to modify the modules to your specific hardware. Regards Gardner