LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trouble keeping modules installed? (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-keeping-modules-installed-420931/)

Tony/osIRIs 03-02-2006 08:22 AM

trouble keeping modules installed?
 
hi everyone,
Running Slackware 10.2, kernel upgraded this week from 2.4.x to 2.6.10. no errors

last night i did a modprobe for ip_conntrack. i restarted the machine and today i had to run modprobe ip_conntrack again to get it back. is there something i am not doing that is causing this to dissappear after each restart? (i know there is)

Also, since i recompiled the kernel my mouse is not working, its just a basic generic ps2 mouse. is there a generic module for this in the 2.6.10 kernel? if so where do i find it and how do i make that one stick after restart as well.

thanks for any and all help

Tony

Robhogg 03-02-2006 08:33 AM

I solved a similar problem (module not loading) by adding the modprobe... command to a boot script. In SuSE the appropriate script is /etc/init.d/boot.local, but this thread suggests that the equivalent script is /etc/rc.local in Slackware.

Use a text editor to add the line to the script, and it should load at boot.

Sorry, I don't know the answer to the mouse question.

Rob

Tony/osIRIs 03-02-2006 09:36 AM

thanks dude, that got me on the right track. snooping around in the rc.d directory i found the rc.modules file. while looking into that i found out that ip_conntrack modules were (#) commented out. so i uncommented those and didn't need to edit the rc.local file at all. restarted and ip_conntrack loaded fine. now im looking for my mouse in there.

thanks again!
Tony

haertig 03-02-2006 09:59 AM

Quote:

Originally Posted by Tony/osIRIs
is there something i am not doing that is causing this to dissappear after each restart? (i know there is)

Add the modules you want loaded at boot to your /etc/modules file.


All times are GMT -5. The time now is 03:12 AM.