LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   howto create module dependencies especially for mkinitrd (https://www.linuxquestions.org/questions/linux-software-2/howto-create-module-dependencies-especially-for-mkinitrd-276156/)

david.skinner 01-10-2005 12:55 PM

howto create module dependencies especially for mkinitrd
 
I have my root and swap and home paritions using raid1 for redundancy. The two disks are on a Nvidia controller and a ATERAID controller in pass though mode respectively. During boot load the IT8212 module needs to be loaded before raid initialisation so that the MD root can be mounted, however the "make install" process using mkinitrd fails to pick up the dependancy between the raid1 and it8212 modules. I can get it to load with a manual mkinitrd using the --with= option but I would like to set up this dependency permanently in the system.

Can I force the depencancy using say /etc/modprobe.conf?

i have tried the following entry;

install raid1 /sbin/modprobe it8212

but a "make install" still doesn't seem to pick it up.
must be close though....

regards
System is Mandrake 10.1 (2.6.8.1 kernel) on a gigabyte 7N-400 pro2 m/b.


All times are GMT -5. The time now is 05:08 PM.