Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modules loaded on boot which shouldn't be
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Seather
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 194
Location: South Africa

PostPosted: Wed Mar 23, 2005 6:28 am    Post subject: Modules loaded on boot which shouldn't be Reply with quote

Something is really irritating me,

There are certain kernel modules, that if installed into the system will be loaded on boot without being listed in /etc/modules.autoload/kernel-2.6

2 examples of these are: rtc and ipv6

How do I stop them from being loaded?
Back to top
View user's profile Send private message
electrofreak
l33t
l33t


Joined: 30 Jun 2004
Posts: 713
Location: Ohio, USA

PostPosted: Wed Mar 23, 2005 6:31 am    Post subject: Reply with quote

Could coldplug or hotplug be starting them? Could something else be depending on them? If there is something that depends on them then they probably get loaded automatically.

And anyway... whats the big deal with them loading anyway?
Back to top
View user's profile Send private message
Seather
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 194
Location: South Africa

PostPosted: Wed Mar 23, 2005 7:16 am    Post subject: Reply with quote

Nothing else depends on them and coldplug and hotplug is both not started at boot.

Why don't I want them loaded? Well, would you want KDE and Gnome installed on your desktop box if you use only one of the two? Or worse, neither?

It's taking up memory which should need to be taken up, and, having ipv6 when not being used is a possible security issue.

Principle counts for a bit too!
Back to top
View user's profile Send private message
insertfunkhere
n00b
n00b


Joined: 22 Dec 2004
Posts: 43
Location: Boston, MA

PostPosted: Wed Mar 30, 2005 12:40 pm    Post subject: Reply with quote

I just switched over to the 2.6.11-cko3 kernel, enabling as modules a couple more things as I did so, and now i'm experiencing the same problem. Short of creating a script to "modprobe -r module" after boot, I don't know how to not have these modules loaded.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3468
Location: Canada

PostPosted: Wed Mar 30, 2005 11:49 pm    Post subject: Reply with quote

Same here. I have loaded unasked not only SATA subsytem (onboard SATA is disabled in BIOS), but actually the whole bunch of
SATA drivers for the chips I don't have. Actually, seems all drivers I have compiled modules for.

Same with tapes - it loads all possible tape drivers. IDE and SCSI. And I don't own any.

Module loading really went haywire. Everything and its friends are trying to load them - just look at ls -l /etc/mod*,
plus init scripts, plus hotplug, plus udev/devfs, which, given that there is no autounloading anymore, duplicate
themselves.

Long gone the clarity when init scripts were loading static modules, and a single modules.conf was responsible for automatic loading.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum