modules on demand with 2.6.0?
Klaus-Peter Schrage
kpschrage
Mon May 17 11:57:06 PDT 2004
(Hopefully definitely non [OT] - where if not on this list should I get
an answer to this?)
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
- soundcore
- parport
- ip_tables
- hid
- input
- usb-uhci
- usbcore ...
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 by
/etc/rc.d/rc.sysinit according to the entries in /etc/modprobe.conf
(which is a replacement for /etc/modules.conf from the 2.4 kernel).
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.
Klaus
More information about the Linux-users
mailing list