View previous topic :: View next topic |
Author |
Message |
Ark86 n00b

Joined: 01 Apr 2005 Posts: 12
|
Posted: Fri Apr 01, 2005 5:23 am Post subject: Keeping a module from loading at boot |
|
|
Hi, I just installed a new installation of gentoo on my dell inspiron 8600 and in order to get my ethernet card to work I have to remove my 1394 module from the kernel and then load in the driver module for the card, both using modprobe. I don't know why but when the 1394 module is loaded it tries to connect through that instead of the ethernet card. My question is there a way to keep the 1394 from running at boot? I have the ethernet driver in /etc/modules.autoload.d but I don't know how to keep the 1394 from running. Is there a good way to do this? I used genkernel, and I know I could get it if I reconfigured the kernel but is there a way to do it with my current genkernel installation? Thanks in advance. |
|
Back to top |
|
 |
tukachinchila Apprentice


Joined: 11 Mar 2005 Posts: 274 Location: Oregon
|
Posted: Fri Apr 01, 2005 6:24 am Post subject: |
|
|
The best way to fix this would be to remove support for ieee1394 from the kernel (or try compiling them into the kernel proper). If you don't want to do that, you could do something like this:
Code: | echo "rmmod ieee1394" >> /etc/conf.d/local.start
echo "modprobe [your NIC module]" >> /etc/conf.d/local.start |
I'm sure that's not the most elegant solution, but I don't know of another way to do it. |
|
Back to top |
|
 |
UB|K l33t


Joined: 27 May 2004 Posts: 786 Location: Villeurbanne, France
|
Posted: Fri Apr 01, 2005 7:09 am Post subject: |
|
|
are you using coldplug???
if you do, a solution would be to remove it and feed /etc/modules.autoload/kernel-2.6 only with modules you want to load
doing this way, ieee1394 should'nt load at boot.
if you don't use coldplug, i don't know why this modules autoloads... _________________ Reality is that which, when you stop believing in it, doesn't go away. |
|
Back to top |
|
 |
|