From owner-freebsd-questions@FreeBSD.ORG Tue Nov 18 12:29:08 2003 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 746D616A4CE for ; Tue, 18 Nov 2003 12:29:08 -0800 (PST) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2A3343FAF for ; Tue, 18 Nov 2003 12:29:06 -0800 (PST) (envelope-from rehsack@liwing.de) Received: (qmail 79516 invoked from network); 18 Nov 2003 20:29:05 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 18 Nov 2003 20:29:05 -0000 Message-ID: <3FBA8111.7000302@liwing.de> Date: Tue, 18 Nov 2003 20:29:05 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031116 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Vahric MUHTARYAN References: <047401c3ae0e$ce6ed110$110d3ad4@VAHOXP> In-Reply-To: <047401c3ae0e$ce6ed110$110d3ad4@VAHOXP> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Kernel Module Support ?!!? and Kernel Limits .. 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: Tue, 18 Nov 2003 20:29:08 -0000 Vahric MUHTARYAN wrote: [moved down to avoid top-posting] >> From: Jens Rehsack [mailto:rehsack@liwing.de] >> Sent: Tuesday, November 18, 2003 9:43 PM >> To: Vahric MUHTARYAN >> Cc: freebsd-questions@freebsd.org >> Subject: Re: Kernel Module Support ?!!? and Kernel Limits .. >> >> Vahric MUHTARYAN wrote: >> >>>Hi Everyboy , >>> >>> I'm using FreeBSD 5.1 , I red documents and it said that - >>>FreeBSD Support moduler environment . >>> >>> I want to know How can I make a moduler somethings like RAID >>>Device or something else because GENERIC is only text file and I can >>>delete or put "#" for kernel does not support that driver buil-in . >> >> in >> >>>Linux I can choose which one is will be built-in which one is moduler >>>.... >> >> When you build a kernel, usually all available modules are build, too. >> If you comment out sth., it's not linked static into the kernel, but >> the module will be available. >> >> See kldload(8) for details. >> >>> Then I checked /boot/modules nothing there ... then I checked >>>/boot/defaults/loader.conf I saw modules can be stored in /boot/kernel >>>directory all of them are have ko ext. it will be funny but FreeBSD >> >> make >> >>>moduler all things ?!!!?! >> >> I don't understand your question. Can you please ask it in other words? >>> And Where can I find Kernel limits I know I can extend it with >>>sysctl but limits ... ?! >> >> See sysctl.conf(5) and loader.conf(5) as well as sysctl(8). > You mean FreeBSD make all device support moduler ?! > And you said that -- not linked static but under the > /boot/kernel everything is module ... ?! Not even all, but most. You can check /usr/src/sys/modules/ for details, or the according man-page. > And I don't understand why freebsd makes a module all of them ?!?!?! > I have to choose which one will be module which one won't be ... > is it must ?! No, you can override the modules which are build by adding the MODULES_OVERRIDE makeoption into your kernel config. See NOTES for more. > Secound I think I can't explain correct ... > When I build kernel Where modules must be stored under > /boot/modules or /boot/kernel ?! See kldload(8), it gives you exact the same answer I would. Jens