Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 07-21-2003, 03:06 PM   #1
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
LQ Guru
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,893

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
"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.)


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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:25 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
Open Source Consulting | Domain Registration