From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 22:23:10 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 502AB16A4CE for ; Fri, 21 Jan 2005 22:23:10 +0000 (GMT) Received: from t-x.dignus.nl (t-x.dignus.nl [83.219.88.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1A5A43D46 for ; Fri, 21 Jan 2005 22:23:09 +0000 (GMT) (envelope-from colin@kenmore.kozy-kabin.nl) Received: from localhost (localhost.dignus.nl [127.0.0.1]) by t-x.dignus.nl (Safehouse) with ESMTP id 2ACD928568; Fri, 21 Jan 2005 23:23:25 +0100 (CET) Received: from kenmore.kozy-kabin.nl (cjr-home [62.251.72.148]) by t-x.dignus.nl (Safehouse) with ESMTP id EC7D228565; Fri, 21 Jan 2005 23:23:21 +0100 (CET) Received: from kenmore.kozy-kabin.nl (localhost.kozy-kabin.nl [127.0.0.1]) by kenmore.kozy-kabin.nl (Postfix) with ESMTP id 198CE615A; Fri, 21 Jan 2005 23:23:05 +0100 (CET) Received: from localhost (colin@localhost)j0LMN49Y093897; Fri, 21 Jan 2005 23:23:04 +0100 (CET) (envelope-from colin@kenmore.kozy-kabin.nl) Date: Fri, 21 Jan 2005 23:23:03 +0100 From: "Colin J. Raven" To: Gardner Bell In-Reply-To: <20050121192753.GA38849@gardnerbell.ca> Message-ID: <20050121231534.D2927@kenmore.kozy-kabin.nl> References: <20050121155903.K2927@kenmore.kozy-kabin.nl> <20050121192753.GA38849@gardnerbell.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by RemSPAMd at ph230.plushosting.nl 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 22:23:10 -0000 On Jan 21 at 14:27, Gardner Bell launched this into the bitstream: > 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. > aaaaaaaaahhhhhhhhhhhh...module_location+dmesg_output+whatis - PERFECT! That's enough to get rolling - GREAT!!!!!!! > 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. > Thanks for that! Unusually the handbook seemed somewhat sparse on such details, but to balance that out, there's obviously a finite limit on what they can and can't include. My problem was (paraphrased) "I've hacked on "MYKERNEL" config file, read up on the traditional vs 'new way" kernel building/installation *BUT* ...next comes modules, _now what_?" and you've given me a great shot at understanding the next step, which is just as vital as those steps preceding it. Terrific stuff, tonight is reading|reading|and_more_reading. Much appreciated, Regards, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Fri Jan 21 23:20:00 CET 2005 11:20PM up 1 day, 12:10, 5 users, load averages: 0.00, 0.00, 0.00