Hi all,
I'm having some problems to load some modules at boot time.
I have added this line at the end of /etc/rc.d/rc.modules
/sbin/modprobe lm90
but the module don't start during boot.
If I try to load it manually all works fine. Why?
Thanks.
Loading modules during boot
Re: Loading modules during boot
What's the output of:Bart wrote:Hi all,
I'm having some problems to load some modules at boot time.
I have added this line at the end of /etc/rc.d/rc.modules
/sbin/modprobe lm90
but the module don't start during boot.
If I try to load it manually all works fine. Why?
Thanks.
Code: Select all
ls -l /etc/rc.d/rc.modules*
Re: Loading modules during boot
Shador wrote:What's the output of:Code: Select all
ls -l /etc/rc.d/rc.modules*
Code: Select all
lrwxrwxrwx 1 root root 23 lug 22 14:21 /etc/rc.d/rc.modules -> rc.modules-2.6.37.6-smp*
-rwxr-xr-x 1 root root 35406 set 14 13:46 /etc/rc.d/rc.modules-2.6.37.6-smp*
Re: Loading modules during boot
That's probably going to work. But it doesn't explain why rc.modules doesn't work. After all the latter is much better suited for modules as it runs much earlier.gapan wrote:Try putting it in rc.local instead.
Do you get such a line when booting: "Running /etc/rc.d/rc.modules" or something like this "Module dependencies up to date" / "Updating modules dependencies" ? The only condition that seems to be able to prevent rc.modules from running is when /proc/modules is not readable during rc.S.
Re: Loading modules during boot
True, infact using /etc/rc.d/rc.local all works fine but the problem remains.