On Wed, Sep 22, 2004 at 09:25:00PM -0600, Andrew Jorgensen wrote: > On Thu, 23 Sep 2004 02:31:34 +0200, Glen Wagley <[EMAIL PROTECTED]> wrote: > > I'm about to recompile my kernel for my Gentoo box. I noticed that one of the > > options was to compile in support for the emu10k1 driver. I originally compiled > > it in but I keep getting errors when I try to modprobe it. > > If you compiled in the support (rather than making it a module) you do > not modprobe it. modprobe is for loading modules. > > > I'm thinking I just > > needed it compiled as a loadable module. When using Debian, I just had to select > > it in the list of modules to load, add my user to the audio group, and I had > > sound. Is there any advantage to compiling support directly into the kernel or > > are loadable modules the way to go? > > In short, yes, loadable modules are the way to go.
I disagree; as long as you're building your own kernel, compiling in
the modules for your ``permanent'' hardware is the way to go. Keep
the other modules around as loadable, in case you want to plug in a
USB something-or-other sometime later.
> Supposedly there's a size (maybe even speed) advantage to compiling it
> in, but you lose the ability to unload it, etc.
Unloading modules is, at best, a dubious practice, and you should
avoid doing so in general. The kernel developers have even
entertained the idea of completely removing the ability to rmmod,
because it unnecessarily complicates the kernel.
> Then suppose you get a different sound card, you've got a section of
> your kernel that's not used.
So relink and copy the new image to /boot. It takes all of 15
seconds.
Mike
.___________________________________________________________________.
Michael A. Halcrow
Security Software Engineer, IBM Linux Technology Center
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D
"Security must be evaluated not based on how it works, but on how it
fails."
- Bruce Schneier
pgpmBwousCT68.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
