LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-21-2003, 03:06 PM   #1
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
loadable modules vs built-in modules


I've used linux for a while but never understood the advantages/disadvantages of loadable modules versus modules built into the kernel. I've noticed when I use menuconfig I have the option of choosing to install certain devices as modules. Can someone explain why and perhaps what types of devices are better suited to be loaded as modules?
 
Old 07-21-2003, 04:16 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,467

Rep: Reputation: 153Reputation: 153
"Can someone explain why and perhaps what types of devices are better suited to be loaded as modules?"

One advantage of loadable modules is that it saves memory. The modules are only loaded when they are needed. If they were built in then they would all be loaded at every boot.

Of the modules which you have a choice of being compiled into the kernel or being loaded the only ones that have to be compiled into the kernel are the ones necessary to access /lib/modules. If you have /lib/modules on a hard disk then you need to compile in the modules to access the hard disk, your hard disk chipset modules, and whichever filesystem you are using on the / partition (ext2, ext3, etc.)
 
  


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
debug loadable modules with kgdb??? Igor007 Programming 0 09-09-2005 04:42 PM
Loadable Kernel Modules jbrashear Debian 7 04-03-2005 05:11 PM
Loadable modules question dudds Linux - Newbie 5 07-20-2004 02:13 AM
loadable modules help -- unresolved symbols dklaming Linux - Newbie 1 04-30-2004 02:06 PM
of course I have loadable modules enabled! jmynkbht Linux - Software 0 04-26-2004 03:52 AM


All times are GMT -5. The time now is 01:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration