On Tue, Jun 04, 2002 at 03:38:06PM -0400, 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/ Kernel does not seek for modules to load in any way. Actually, in usual installation there are tons of modules compiled an mostly unused. You must put the insmod command (or better modprobe command) somewhere in the init scripts. Since I expect your installation is RedHat (the kernel version looks like a RedHat one), there should already be one a it should be loading all modules listed in /etc/modules.conf (not sure abou the exact name - I don't have RedHat). -------------------------------------------------------------------------------- - Jan Hudec `Bulb' <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/