On Sun, 4 Jul 1999, Hamish Moffatt wrote:
} 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.
That, in essense is what I am doing now. I read
/etc/rc.d/rc.sysinit and it said it would use a file /etc/rc.d/rc.modules
"just to be backward compatable" Well I wrote that file and it works fine.
I put kerneld in the root directory and now when it boots up it says
"can't find kerneld" and I just grin.
In Debian do you have to list each device in your
/etc/init.d/modules file? I have to list it with every line looking like
this:
/sbin/madprobe msdos
It only took 15 minutes to decide to do it and do it...:-)
}
} 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.
You have been a great help Hamish. I'm in contact with the guy who
wrote the mini HOWTO Modules. His is dated now and we are talking about an
update.
}
} 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/
}
Best wishes
- Karl F. Larsen, [EMAIL PROTECTED] (505) 524-3303 -