Re: How to load an Ethernet driver on only one adapter



On Wed, 21 Feb 2007 10:35:59 -0500, in comp.os.linux.networking Cyril Perrin <cyril.perrin@xxxxxxxx> wrote:
I'm using a PC with two Intel Gigabit adapters (i8254x). When Linux
(RedHat 7.2, kernel 2.4.24) boots, it calls "insmod e1000.o" and the
driver initializes and takes control of both adapters. Is there a way to
restrict the e1000 driver to only one adapter? I've searched in the
driver parameters but there is nothing obvious.

The following doesn't quite answer your question, but it
may help.

I'm running FC6. The driver module loaded for each of my
ethernet interfaces is controlled by entries in
/etc/modprobe.conf
for example:
alias eth0 3c59x
alias eth1 e100

As you can see, I have two different adpaters.

I think RH 7.2 has a similar file, but I believe that the
file was /etc/modules.conf. Try
man modules.conf
You may be able to set them to use different drivers, or
even set one to have no driver:
alias eth0 e1000
alias eth1 off

I never used RH 7.2 and I'm not sure this would work.

There's a lot of info on the e1000 at
http://www.intel.com/support/network/sb/cs-009209.htm
but nothing about restricting it to one interface.

--
Dale Dellutri <ddelQQQlutr@xxxxxxxxxxxx> (lose the Q's)
.



Relevant Pages

  • Re: Procedure to replace a NIC - RESOLVED?
    ... for the 2.6 kernel. ... Probably you will find the tulip driver has been erroneously loaded. ... It would be useful to examine your dmesg output. ... I had changed modprobe.conf to read 'alias eth0 r1000' when I last reported no success, so that hasn't resolved the problem. ...
    (Fedora)
  • Re: assignment of eth* devices
    ... alias eth1 hme ... alias eth0 hme ... I'm not sure how the cards that use same driver are enumerated. ...
    (Fedora)
  • Re: Procedure to replace a NIC - PLEASE HELP!
    ... Probably you will find the tulip driver has been erroneously loaded. ... This should get the Realtek working. ... It would be useful to examine your dmesg output. ... I had changed modprobe.conf to read 'alias eth0 r1000' when I last reported no success, so that hasn't resolved the problem. ...
    (Fedora)
  • Re: How to load an Ethernet driver on only one adapter
    ... I'm using a PC with two Intel Gigabit adapters. ... driver initializes and takes control of both adapters. ... restrict the e1000 driver to only one adapter? ...
    (comp.os.linux.networking)
  • Re: How to load an Ethernet driver on only one adapter
    ... driver initializes and takes control of both adapters. ... restrict the e1000 driver to only one adapter? ...
    (comp.os.linux.networking)