Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-01-2004, 05:44 PM   #1
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Module or embed?

What're the advantages of compiling drivers in as modules over just plopping them into the kernel? I'm just curious, mostly because I'd think that it would be best to just have what you need embedded, and not have any modules, since I have bad luck with modules, for some odd reason.
Old 01-01-2004, 05:51 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
I tend to use modules on components that I might end up swapping out most likely, hardware failure, etc. Most of the time I will always make my NIC and Soundcard loaded as modules and at times will throw in a few other supported that I have spare parts as just in case I swap out, etc. Makes things easier for me to load or unload modules.

Old 01-01-2004, 06:14 PM   #3
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
when you "embed" the support, you're kernel gets bigger, thus slower...but not slower than when this supporting module is loaded...
you usually use modules for hardware that you only need in very rare ocasions, but you know you're going to need it someday...thus your kernel isn't cluttered with support for that hardware all the time and you can load the module when you need it...
otherwise...just 'plop' them in the kernel ^^
just a note: you're machine isn't going to be faster because you compile everything as a module. in fact it will boot slower and run a little slower...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed X... okeyla Linux - Software 3 09-02-2005 04:34 PM
C/Perl embed : not found :( dicou Programming 0 04-19-2005 04:38 AM
how to embed realplayer10gold on my webpage felnlily Linux - Software 0 02-16-2005 03:18 AM
embed perl into c walkinmud Programming 1 02-05-2004 03:13 AM
Embed Console elist Linux - General 2 01-11-2002 07:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration