Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

modules vs built-into the kernel

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
djscribble
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 116
Joined: Wed Aug 03, 2005 9:23 pm

modules vs built-into the kernel

  • Quote

Post by djscribble » Thu Aug 16, 2007 5:19 pm

Greetings,

Are there any benefits to having drivers built as modules as opposed to being built directly into the kernel?? Which is faster, more reliable, easier to handle, recommended?

thanks!
Top
linuxtuxhellsinki
l33t
l33t
User avatar
Posts: 700
Joined: Mon Nov 15, 2004 1:56 pm
Location: Hellsinki

  • Quote

Post by linuxtuxhellsinki » Thu Aug 16, 2007 5:25 pm

I prefer to build in Kernel, but it's sometimes easier to debug problems with modules :?
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Top
roderick
l33t
l33t
User avatar
Posts: 908
Joined: Mon Jul 11, 2005 3:06 pm
Location: St. John's, NL CANADA
Contact:
Contact roderick
Website

  • Quote

Post by roderick » Thu Aug 16, 2007 5:40 pm

Here's the rule of thumb..

1) Is it required to get the system up and running (i.e. IDE drive support), then compile direclty in.
2) If it is not immidately required to boot or only may be required, then build as a module.

There's no noticeable difference performance either way anymore. Using modules is easier to work with in most cases. If you want to add or remove functionality, you can simply add/remove the module and compile the modules (make && make modules_install). Most times you won't even have to re-install the kernel or reboot in this case.

However, if all your support is directly compiled in, then you have no choice but to rebuild the kernel, re-install and reboot.

For desktop users, genkernel provides a very modular kernel, with many modules pre-enabled. If you don't want that many modules, you can still use the modular approach and enable the bare minimum modules for your system requirements.

For server users, it's arguable whether to go static or module. I still prefer modular, so I [potentially] do not have to reboot for new support/features.

But, to each their own.

In the old days, it was imperative to reduce the amount of drivers in the kernel as the kernel had to fit on a single floppy disk. Today, the restrictions aren't as bad.
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic