modules on demand with 2.6.0?

Collins erichey2
Mon May 17 11:57:06 PDT 2004


On Sunday 21 December 2003 05:14, Klaus-Peter Schrage wrote:

[ snips ]

> (Hopefully definitely non [OT] -  where if not on this list should I get
> an answer to this?)
>

No technical question is OT; IMHO, even the odd M$ question is welcome.

> Now I've got linux-2.6.0 (from kernel.org) configured, compiled and
> running, but I can't get automatic modules loading to work.
> What I have on linux-2.4.23 is this: Some of the basic stuff gets loaded
> at startup, eg

> Other modules get loaded automatically when they are needed, eg
> - scanner, when I plug in my usb scanner
> - usb-storage, when I attach my magic usb / mp3 stick
> - all the snd-xxx (alsa) stuff when I start an audio application.
>
> Now I would expect this with the 2.6 kernel too, but it won't work.
> Most of the basic modules are there. They seem to get loaded 

> But if I want to run my scanner for example, I have to give
> 	modprobe scanner, the same with sound etc. They work, but no automatic 
loading.
>
> Is there any secret in the 2.6 kernel configuration which I might have
> missed? The startup scripts are all the same when booting with either
> kernel: initscripts-7.28-1 on Redhat 9, which I have taken from
> 	people.redhat.com/arjanv/2.5/RPMS.kernel/
> as the the 2.6 kernel won't start properly with the original RH 9
> initscripts.

Not being an RH guru, I can't help much, but I would suspect the RH init 
scripts, since you already alluded to the fact that you needed to change init 
scripts.  I've been running 2.6.0-testn on gentoo for a long time, and I find 
no difference in the treatment of modules from 2.4.n, certainly no need to 
change init scripts.

-- 
Collins



More information about the Linux-users mailing list