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



Hello,

Dale Dellutri a écrit :
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.

For what purpose is this needed ?

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

This does not work. Don't use it. This is a misuse of the module aliases because it does not mean that the actual interface names match the alias names.

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.

I do not need to use RH to know it does not work.
When eth0 is invoked, the e1000 module is loaded, takes control of both adapters and creates eth0 and eth1.
.



Relevant Pages

  • Re: Register to wmi via wdf driver
    ... KMDF does not support registering with WMI on a control WDFDEVICE. ... Please do not send e-mail directly to this alias. ... I have a problem with registering new wmi provider for my device driver: ...
    (microsoft.public.development.device.drivers)
  • Sound, dual soundcards, second attempt (better I hope)
    ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... Journalled Block Device driver loaded ... usb.c: new USB bus registered, ... alias char-major-10-175 agpgart ...
    (comp.os.linux)
  • Re: Starting a driver
    ... Please do not send e-mail directly to this alias. ... msvad to know if you can do what you want, but the underlying bth radio will ... >> the bluetooth stack "starts" the btaudio driver by enumerating the>> audio ...
    (microsoft.public.development.device.drivers)
  • Re: DDK bug? moufiltr installation
    ... Please do not send e-mail directly to this alias. ... > I will also try the lower filter option. ... > server DDK) but not hidclass source code. ... Where can I get hidclass driver ...
    (microsoft.public.development.device.drivers)
  • Re: USB HID Absolute Positioning Mouse Resolution Issues
    ... Please do not send e-mail directly to this alias. ... > emulate an input device from user space (using uinput kernel driver). ... >>> We also have a need similar to yours as we will be emulating a USB ... >>> absolute ...
    (microsoft.public.development.device.drivers)