Gentoo Archives: gentoo-user

From: gentuxx <gentuxx@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Module philosophy: Compile-in or Load
Date: Mon, 12 Jun 2006 05:43:40
Message-Id: 448CFD9C.1030508@gmail.com
In Reply to: [gentoo-user] Module philosophy: Compile-in or Load by "Anthony E. Caudel"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Anthony E. Caudel wrote:
5 > I was wondering what gentoo-users think and practice about kernel
6 > modules. Do most compile them in the kernel or load them at boot-up.
7 >
8 > Note that I'm _NOT_ talking about those modules that have to be compiled
9 > in such as for your filesystem. This is about the other ones.
10 >
11 > I generally like to load them at boot-up. One reason is that I have
12 > heard that for suspend or hibernate to work, some modules have to be
13 > unloaded.
14 >
15 > On the other hand, compiling them in results in faster boot times.
16 >
17 > So, what do gentoo-users think?
18 >
19 > Tony
20 I'm certainly not the end-all-be-all in kernel knowledge. But, I tend
21 to look at it based on the particular modules being loaded and the
22 likeliness that I will actually use that module.
23
24 If it seems like something is fundamental to the operation of the OS
25 (filesystems, core drivers like USB, chipset, etc.) then I compile it
26 in. If it's something that makes sense to unload and load (in my
27 mind, this is something like network drivers, audio drivers, netfilter
28 modules, etc.), then I'll compile it as a separate module.
29
30 It's not a hard and fast rule, and there are always exceptions. For
31 example, there are programs that expect to find the module, and if you
32 compile it into the kernel that program won't work right, even though
33 you have the (whatever) functionality built into the kernel.
34
35 - --
36 gentux
37 echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
38
39 gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239 D840 4CF0 39E2
40 18D3 4A9E
41 -----BEGIN PGP SIGNATURE-----
42 Version: GnuPG v1.4.3 (GNU/Linux)
43
44 iD8DBQFEjP2bTPA54hjTSp4RAi44AKCx0cjGLdyoVGw1F8EZtC/STATGlQCgg4VL
45 l7NW4j0HQugR70OADkBDCTU=
46 =ExLX
47 -----END PGP SIGNATURE-----
48
49 --
50 gentoo-user@g.o mailing list