LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2001, 10:24 PM   #1
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
Kernel compiling


Folks,
Where is the line drawn on what is considered an option to include in the kernel, versus what should be modularized, when compiling and configuring a new kernel?
 
Old 07-24-2001, 01:20 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
there's not really a line... more like a nice fuzzy grey area.

if you use something a lot, like a graphics driver, then it's probably best to include it in the kernel. if it's something you use sparingly, just once or twice a day, like a sound driver or pppd, then it might be better to make it a module. the smaller the kernel is, the faster and more stable it is. but the difference might not really be noticeable . it's just a judgement call, and it's not really worth losing too much sleep over.
 
Old 07-24-2001, 02:14 AM   #3
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
I agree that it is a very fuzzy area, and your decision should be stemmed from your motives.

If your a very concerned about security, your kernel should not be build with modules.

If you plan on upgrading your hardware, building multiple modules can be handy since it will save you from having to recompile your kernel.

Modules can make for a slightly slower kernel setup but it gives you the versatility that you may require.

Personally I only use modules for the sound card because my sndconfig would choke when I had sound built into the kernel. I make sure I keep everything else built into the kernel. I rarely upgrade my equipment and don't mind recompiling when I do.
 
Old 07-26-2001, 01:44 PM   #4
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Original Poster
Rep: Reputation: 30
cool. thanks for the advice!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 01:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 02:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 04:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 07:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:09 PM.

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