From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FpfDA-0000yG-I9 for garchives@archives.gentoo.org; Mon, 12 Jun 2006 05:43:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k5C5gKUD009979; Mon, 12 Jun 2006 05:42:20 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.196]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k5C5bYRO003261 for ; Mon, 12 Jun 2006 05:37:35 GMT Received: by wx-out-0102.google.com with SMTP id s18so771882wxc for ; Sun, 11 Jun 2006 22:37:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:disposition-notification-to:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=CXXKJenUHiBdXakC+GCi3mTGsWYx8b2PJyq/2u01N6NZh4hcY7DdzARTnXD+MdNWvBQ0pbsyVb7v/16uTLvr8sT5yiUU11ah3H+cp99FrEJwbQEyhTvinXzwJAyELVx+aVfd83gDyyjZbNg5BHgqOBfc2MBiCGx9tro0SASeRJw= Received: by 10.70.32.7 with SMTP id f7mr6081051wxf; Sun, 11 Jun 2006 22:37:34 -0700 (PDT) Received: from ?192.168.0.102? ( [63.207.177.13]) by mx.gmail.com with ESMTP id i36sm5564626wxd.2006.06.11.22.37.33; Sun, 11 Jun 2006 22:37:34 -0700 (PDT) Message-ID: <448CFD9C.1030508@gmail.com> Date: Sun, 11 Jun 2006 22:37:32 -0700 From: gentuxx User-Agent: Thunderbird 1.5.0.4 (X11/20060605) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Module philosophy: Compile-in or Load References: <448CFAAA.7030102@gt.rr.com> In-Reply-To: <448CFAAA.7030102@gt.rr.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: eed3be80-11fe-4ce5-80f2-08e0577d0208 X-Archives-Hash: ab9c7aee1059473668e492385b9676b7 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anthony E. Caudel wrote: > I was wondering what gentoo-users think and practice about kernel > modules. Do most compile them in the kernel or load them at boot-up. > > Note that I'm _NOT_ talking about those modules that have to be compiled > in such as for your filesystem. This is about the other ones. > > I generally like to load them at boot-up. One reason is that I have > heard that for suspend or hibernate to work, some modules have to be > unloaded. > > On the other hand, compiling them in results in faster boot times. > > So, what do gentoo-users think? > > Tony I'm certainly not the end-all-be-all in kernel knowledge. But, I tend to look at it based on the particular modules being loaded and the likeliness that I will actually use that module. If it seems like something is fundamental to the operation of the OS (filesystems, core drivers like USB, chipset, etc.) then I compile it in. If it's something that makes sense to unload and load (in my mind, this is something like network drivers, audio drivers, netfilter modules, etc.), then I'll compile it as a separate module. It's not a hard and fast rule, and there are always exceptions. For example, there are programs that expect to find the module, and if you compile it into the kernel that program won't work right, even though you have the (whatever) functionality built into the kernel. - -- gentux echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239 D840 4CF0 39E2 18D3 4A9E -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEjP2bTPA54hjTSp4RAi44AKCx0cjGLdyoVGw1F8EZtC/STATGlQCgg4VL l7NW4j0HQugR70OADkBDCTU= =ExLX -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list