LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-30-2004, 12:37 AM   #1
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
To compile or to load as module ?


Hi all

I was wondering is it better to compile your hardware etc into your kernel or is it better to load them as modules.

I know there are a few options that have to be compiled in, but just as a matter of interest what is the norm.

I guess compiling into the kernel is really hardware dependant but then so is it if you only load the modules that are required?


 
Old 01-30-2004, 12:57 AM   #2
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
It depends on the hardware. But the best thing is modularisation, as it makes your kernel smaller.So, put it into modules.
 
Old 01-30-2004, 01:28 AM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
just comile in what you wil defidently need for booting and using the kernel, anyhitng that will be used only like half tiem or are there just in case should be a module if possbile, like if you want a GUI and not CLI then compile in unix domain sockets, if you are using the comand line more then its up to you wethere you watn it as a module or to comile it in as its needed to start x, but not needed to run the terminal
 
Old 01-30-2004, 05:41 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Also, modules can be loaded and unloaded on the fly in the running kernel to ensure more efficiency, and to upgrade a modularized driver you just need to recompile the module. If the driver is part of the kernel, you have to recompile the kernel.
 
  


Reply


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
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 06:45 PM
can't compile/load nvnet module kryptobs2000 Slackware 2 07-20-2004 01:50 PM
i want to compile and load a module into kernel ramya272 Linux - Newbie 3 02-21-2004 11:17 AM
I have to build , load and compile a FAT fs module into the kernel.wat should i do? ramya272 Linux - Newbie 2 02-06-2004 10:46 AM
Compile a dynamic MySQL module/load into PHP dleone Linux - General 2 01-31-2003 10:39 AM


All times are GMT -5. The time now is 05:59 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration