LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Loading linux modules on Bootup (https://www.linuxquestions.org/questions/linux-newbie-8/loading-linux-modules-on-bootup-203464/)

ncp100 07-10-2004 02:15 PM

Loading linux modules on Bootup
 
I have an ATA/133 ide controller card (ITE8212) which I am trying to load on bootup. I can load the driver manually by doing a insmod -f iteraid.o. But when modprobe loads it on boot up it does not force the module to load and hence it does not recognize the controller. Does anyone know how I can force modprobe to load the iteraid driver.

Thanks

MasterC 07-10-2004 02:30 PM

Re: Loading linux modules on Bootup
 
Quote:

Originally posted by ncp100
... But when modprobe loads it on boot up it does not force the module to load and hence it does not recognize the controller. Does anyone know how I can force modprobe to load the iteraid driver.

Thanks

I am confused. If modprobe loads it on bootup, then why are you having to load it again... Anyway, depending on the distro you may have what's called an rc.local file. It will likely located in the /etc directory or a sub directory within /etc It's a text file that you can place your own startup requests in, they will be executed last. So:
/sbin/modprobe iteraid.o
Should suffice as a single line in that file.

Cool

ncp100 07-11-2004 09:16 AM

Sorry, it was confusing...what I meant to say was the iteraid.o does not load on bootup. Only way to load it is by saying "insmod -f iteraid.o", but when I say "modprobe iteraid" it just tries to load it without the -f parameter. My only hard drive is on this controller, so if the controller does not load the hard drive is not recogized, then I have to boot thro the slackware CD and then load the drivers from the floppy. I have compiled the new kernels, but it still wont work on bootup because I need to force the module to load. I will check out the rc.local file and see if there is a way to force the module.

Thanks


All times are GMT -5. The time now is 11:00 AM.