Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automatic module loading doesn't work
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
theturner
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 111
Location: United Socialist Republic of Europe

PostPosted: Thu Nov 25, 2004 2:22 pm    Post subject: Automatic module loading doesn't work Reply with quote

Hi,

I have the following in my kernel (v2.6.9-gentoo-r2):
Code:
[*] Enable loadable module support
[*]   Module unloading
[*]     Forced module unloading
[ ]   Module versioning support (EXPERIMENTAL)
[*]   Automatic kernel module loading

But modules won't load by themselves. I had to put everything I need into /etc/modules.autoload.d/kernel-2.6 .
The system is pure udev.
Now why the fsck do I have to do all of this by hand?
Note that loading the ALSA modules is working automatically at boot, but I have to do everything else (8139too, sis900, nvidia, psmouse, ide-cd).
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Thu Nov 25, 2004 2:29 pm    Post subject: Reply with quote

The help file states that some parts of the kernel can autoload. I cannot find the documentation on which parts.
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
MdaG
l33t
l33t


Joined: 09 Nov 2004
Posts: 945
Location: Stockholm, Sverige

PostPosted: Thu Nov 25, 2004 3:24 pm    Post subject: Reply with quote

You've probable already tried this, but have you tried hotplugging the modules with hotplug (and then some with coldplug)?
Back to top
View user's profile Send private message
doonkel
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 202

PostPosted: Thu Nov 25, 2004 3:34 pm    Post subject: Reply with quote

Have you installed module-init-tools?
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Nov 25, 2004 7:32 pm    Post subject: Reply with quote

the automatic kernel module loading refers to the process of loading modules during system operation. you just emerge hotplug, plug your usb hard disk in, and usb-storage gets loaded for you
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
theturner
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 111
Location: United Socialist Republic of Europe

PostPosted: Thu Nov 25, 2004 7:32 pm    Post subject: Reply with quote

Hotplug version 20040923 is installed and in runlevel default. Coldplug would actually resolve a part of the problem (having to add modules that I want to have loaded at boot into /etc/modules.autoload.d/kernel-2.6), but it's not the same thing as automatic module loading in the kernel.
module-init-tools 3.0-r2 is installed, otherwise i also wouldn't be able to load the modules manually, wouldn't I?
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