Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Arch This Forum is for the discussion of Arch Linux.


  Search this Thread
Old 03-13-2006, 08:19 AM   #1
LQ Newbie
Registered: Feb 2006
Location: Belgium
Distribution: Arch Linux / Debian testing
Posts: 14

Rep: Reputation: 0
lsmod shows way too many modules loaded


The first time I installed Arch was on a P2 233 with 96MB RAM, and I found everything to be working quite smoothly (until I opened some apps of course), and lsmod showed about 20 or so modules (really low)

Now I installed Arch on a much faster system, and when I look at the modules, I guess there are 50+ modules loaded, for example all the SATA-modules are loaded - although I only use the intel module...

Can I compare these modules with the services in MS Windows, so they take up (valuable) memory or not? I guess these modules are not active since I don't have the hardware, but do they reside in the memory and should I hence remove them by adding them to the blacklist of my rc.conf?

Second question: is this normal behaviour for (Arch) Linux that all kinds of unnecessary modules are loaded? I'm planning on tweaking this system to get to know the inside of linux, so every bit of information (or links to guides/websites) is very much appreciated!


Old 03-13-2006, 09:14 AM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Many distributions take a 'shotgun' approach to hardware support: just try to load every module they have, and all the hardware should be supported. In reality, each loaded module will eat some memory, though probably only a few k. I would not compare this to services under Windows, because Windows services will eat CPU time, while inactive (but loaded) modules will not.
Old 03-13-2006, 06:03 PM   #3
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
My system also loaded many unused modules. So one of the first things I generally do after installing Arch is compile a kernel. When you do that, you will no longer experience the loading of unneeded modules because you will of course only compile the modules you require ;-)
But blacklisting them so hwdetect does not load them should also work of course.
Old 03-14-2006, 03:27 AM   #4
LQ Newbie
Registered: Feb 2006
Location: Belgium
Distribution: Arch Linux / Debian testing
Posts: 14

Original Poster
Rep: Reputation: 0

I already guessed this 'shotgun-approach' would be the cause, but since everything was setup perfectly on that laptop (meaning only the required modules were loaded), I thought maybe I did something wrong here. Now I have to find out which modules I can safely blacklist and then in a later stage I can indeed recompile the kernel.

I'll first try to get it to work the way it should: link - after that it's time to go bananas with the kernel



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
Too Many Modules Loaded XSIWILL SUSE / openSUSE 2 02-24-2006 10:13 PM
lsmod reports no modules props666999 Slackware 26 06-01-2005 11:54 AM
lsmod does not show all modules shanenin Linux - Software 2 04-14-2004 08:26 AM
lsmod reveals no loaded modules after new kernel src install... jdaniel Linux - General 1 03-01-2004 09:50 AM
how do you find out what modules loaded?? osat3ch Mandriva 3 01-17-2004 10:05 AM > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 12:48 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