Share your knowledge at the LQ Wiki.
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 11-01-2003, 06:50 PM   #1
Registered: Nov 2003
Posts: 40

Rep: Reputation: 15
A Question About Modules

Hi all,

I've been reading up on the "book" from the slackware homepage in preparation for the arrival of my slack 9.1 set. I have a few simple questions about modules and how they are used by the kernel.

First, am I correct in understanding that modules are basically device drivers that can allow the use of certain hardware when they are activated?

Second, modules can be inserted, or activated, at any time even after one compiles their kernel, right?

Third, am I also correct when I assume that the kernel itself can be compiled to include support for certain hardware directly, thereby excluding the need to include or activate modules for that hardware?

If my third point is correct, Im not sure I understand the need for the module system as it stands. Wouldnt it be easier to just compile a basic kernel and then plug in all the modules you need as you go? Does the system run faster or better if you configure a kernel for direct hardware support as opposed to modular support? Or conversely, what if you just compiled a kernel that included support for everything from the start? Or would that bog the system down?

Also, if it is so easy to turn on a module, except for actually upgrading a kernel version, I would assume that the need to recompile a kernel would be rather rare? As your hardware changes and matures, couldnt you just keep putting in new and better modules and keep the kernel as you originally configured it way back when?

Lastly, is there some kind of module database that keeps track of the lastest and greatest advances in that area for easy download and access?

If I got the whole thing wrong, or even a bit of it wrong, please correct me
and teach me how it really does work.

Thanks a lot!
Old 11-01-2003, 08:03 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Lycoris ships with tons of support by having all available modules ready, which in turn can slow your system down.

I once read one report where a user testing it noticed that after the initial install, by default it was running about 46 modules all at one time, in which he was only using about 3 to 4.

For the best performance most will either compile builtin support and or only the modules they need.

Most of my systems usually have no more than 2 t o3 modules running after I've compiled my kernel to suit my needs.


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
Modules question??? slr Mandriva 3 07-12-2004 10:07 AM
A question of modules Seventh Linux - Newbie 3 02-23-2004 12:28 PM
Modules question coolthinker Linux - Newbie 4 08-02-2003 05:02 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 AM.

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