[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Load kernel module automatically
Hi,Henrique, your method can solve that problem. I am
just wondering whether it is a normal way to solve
this problem.
Thank you very much.
Michael
--- Henrique Gobbi <henrique@cyclades.com> wrote:
> Hello Michael !!!
>
> You can edit one of your rc files (e.g.
> /etc/rc.d/rc.local) and include
> a call to the insmod command (so your module will be
> loaded every time the
> system boots):
>
> # Your module Load
> if [ -x /sbin/modprobe ]; then
> /sbin/modprobe <your module>
> fi
>
> I hope it helps you
>
> regards
> Henrique
>
> Em Terça 04 Junho 2002 16:46, Richard B. Johnson
> escreveu:
> > On Tue, 4 Jun 2002, Michael Zhu wrote:
> > > Hi, I built a kernel module. I can load it into
> the
> > > kernle using insmod command. But each time when
> I
> > > reboot my computer I couldn't find it any more.
> I mean
> > > I need to use the insmod to load the module each
> time
> > > I reboot the computer. How can I modify the
> > > configuration so that the Linux OS can load my
> module
> > > automatically during reboot? I need to copy my
> module
> > > to the following directory?
> > > /lib/modules/2.4.7-10/
> > >
> > > I've done that. But it doesn't work.
> > >
> > > Any help will be appreciated.
>
>
______________________________________________________________________
Movies, Music, Sports, Games! http://entertainment.yahoo.ca
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/