On Sat, Jul 03, 1999 at 06:45:46AM -0600, Karl F. Larsen wrote:
> I have discovered that 'depmod -a' makes the file
> /lib/modules/2.0.36/modules.dep and that if I use this file I can
> make a bash file that has a lot of lines beginning with modprobe.
> Actually you can use modprobe -l -t fs (for example) and that will
> list everything in the /lib/modules/2.0.36/fs/ directory. This helps
> you write the bash file that is called by /etc/rc.d/rc.local at
> boot-up.
Doesn't Red Hat provide any way to have modules automatically loaded
at boot up time? On Debian, we can list such modules in /etc/modules.
Then /etc/init.d/modutils loads each module in turn from that listing,
using modproble.
> There is kerneld that works just great if you ever figure out
> how to use it. But don't bother because the new kmod is better,
> somehow, but I can't figure out how to use that either!
There are no tricks involved in these tools! Red Hat should have provided
you with an example configuration file for kerneld; basically, it just maps
device names to modules to load. Kernel 2.2 should not use kerneld, only
kmod.
> Enter Red Hat 6. This version has 90% of the 2.2.5 kernel on
> board as modules, and a very large file called /boot/modules-2.2.5-15
What is /boot/modules* ? We have no such file on Debian. Perhaps it
is like our /etc/modules.
It is a mistake to believe that every module you built should always
be loaded. I compile modules for many things I use only occasionally
eg minix file system, soundmodem, kiss etc. There is no advantage in
using modules if you use all of them all the time, IMHO.
Sorry I could not be of more help. I have never encountered problems
like these on Debian, and I have been using kernel modules for about
three years now.
Hamish VK3SB
--
Hamish Moffatt Mobile: +61 412 011 176 [EMAIL PROTECTED]
Rising Software Australia Pty. Ltd.
Developers of music education software including Auralia & Musition.
31 Elmhurst Road, Blackburn, Victoria Australia, 3130
Phone: +61 3 9894 4788 Fax: +61 3 9894 3362 USA Toll Free: 1-888-667-7839
Internet: http://www.rising.com.au/