Re: loading modules automatically: automating modprobes



On 2009-12-07 01:24, Rahul wrote:
I know how to load modules using modprobe. But these are lost on a
reboot. How does one make this permanant?

In CentOS add your "modprobe modulename" commands to /etc/rc.modules
file. Create it and make executable if it does not exist. But...

e.g. for IPMI I usually load:

modprobe ipmi_devintf
modprobe ipmi_si
modprobe ipmi_msghandler

How do I make this happen automatically on each reboot? Of course, I can
just put it in some shell init file but that seems like a hack.

for IPMI someone has already hacked it - you should have a service
named ipmi ready to be started manually, and to start a service
automatically on each reboot all you have to do is to enable it for
the runlevels you wish it to run in using system-config-services
in GUI or chkconfig on the command line.


--
mrg
.



Relevant Pages

  • Re: Genes pcHDTV 3000 analog problem
    ... >>> to tune both analog and digital channels on the HDTV Wonder, ... > It was not being loaded by a modprobe cx88-dvb here, ... So maybe I have to reboot anyway, ... nxt200x wasn't being loaded by the modprobe cx88-dvb ...
    (Linux-Kernel)
  • Re: Tape backup using tar
    ... The st module was already loaded so I removed it and reloeaded using modprobe. ... reboot over the weekend. ... Stuart Bailey BSc CEng CITP MBCS ... WRITTEN DOCUMENT IS SIGNED ON BEHALF OF LinuSoft. ...
    (Fedora)
  • Re: How do I recover from modprobe mistakes?
    ... persist after a reboot. ... it on a spare machine. ... You should to read 'man modprobe' and 'man insmod'. ... some reason the module can't be removed from the running kernel ...
    (Debian-User)
  • Re: Modprobe question
    ... but when you do a reboot you have to do a modprobe ... Anyway to make it permanent? ... The configuration might be somewhat strange at first, ...
    (alt.os.linux.suse)