Is there a method to control module load order? I want to ensure that the e1000 module loads before the forcedeth driver. Jerry
You can use the powerfull install command in your modprobe.conf. Putting forcedeth in /etc/modprobe.d/blacklist and forcing it install in modprobe.conf after e1000 via a install command could be a solution. I never tested or tried this, I dont know if it will work. Try to setup HWADDR first. Their is also a lot of module dependencies in /lib/modules/ maybe you could try to make forcedeth dependent of e1000 in these file. But dependencies are compiled at every boot ! Regards On 8/31/07, Jerry Geis <geisj at pagestation.com> wrote:> > Is there a method to control module load order? > > I want to ensure that the e1000 module loads before the forcedeth driver. > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > lists.centos.org/mailman/listinfo/centos >-- Alain Spineux aspineux gmail com May the sources be with you -------------- next part -------------- An HTML attachment was scrubbed... URL: <lists.centos.org/pipermail/centos/attachments/20070831/73871589/attachment.html>
Jerry Geis wrote:> Is there a method to control module load order? > > I want to ensure that the e1000 module loads before the forcedeth driver.The following might work in /etc/modprobe.conf: install forcedeth /sbin/modprobe e1000; /sbin/modprobe --ignore-install forcedeth James Pearson
>Jerry Geis wrote: >>/ Is there a method to control module load order?/>>/ />>/ I want to ensure that the e1000 module loads before the forcedeth driver. />The following might work in /etc/modprobe.conf:>install forcedeth /sbin/modprobe e1000; /sbin/modprobe --ignore-install forcedeth > >James PearsonJames - fantastic, I tried this and it worked. Thanks! Jerry