From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Gd6nL-0002pK-HW for garchives@archives.gentoo.org; Thu, 26 Oct 2006 15:05:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9QF3Ao6012246; Thu, 26 Oct 2006 15:03:10 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9QF12ea019498 for ; Thu, 26 Oct 2006 15:01:02 GMT Received: by nf-out-0910.google.com with SMTP id p46so1453677nfa for ; Thu, 26 Oct 2006 08:01:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=BF16TAuaHCQ93zDlV+UwujM0TFwM9VQr8yi3V5nL+q7WkuntzaqXtlkk0N0MtQwfAtJ4zyw5ZzU33Bt/oSY5xQkn+6naFIm/YMg4MdOGyN7P+nj0vJy5QTo9O8jSKjBalEhcyWiCfMHcckreVpF6arR9JAPfOaMGIVcN9Xlpb+M= Received: by 10.82.136.4 with SMTP id j4mr645001bud; Thu, 26 Oct 2006 08:01:01 -0700 (PDT) Received: by 10.82.162.3 with HTTP; Thu, 26 Oct 2006 08:01:01 -0700 (PDT) Message-ID: Date: Thu, 26 Oct 2006 12:01:01 -0300 From: "Claudinei Matos" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] modules.conf - alias for eth devices - can't set the correct interface number Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27151_5693702.1161874861228" X-Archives-Salt: 83387836-0fc4-4d41-b324-e8229ee8331f X-Archives-Hash: 950c47e4e81d0556a29862d4b317e556 ------=_Part_27151_5693702.1161874861228 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi guys, I'm changing my third network card (a 3c905cx) with a 3c905B one. Well, the drivers are the same and the slot used is also the same. My machine has other two NICs, one onboard (via-rhine) and a old realtek 8029 10/10 (ne2k-pci). On my /etc/modules.d/aliases I have the 3 lines below: alias eth0 via-rhine alias eth1 ne2k-pci alias eth2 3c59x and it works very well setting each device to the right eth interface until I'd start to change the NICs, sometimes it does not work but shuting down and powering up the machine again used to solve. now, since I'd changed the NICs, every time I boot up my machine the third device (3com) is associated with eth3 and eth2 does not have any device associated. my dmesg says that the interface eth2 was associated with the ne2k-pci but ifconfig tells that eth1 is ne2k-pci and eth3 (which doesn't appear at dmesg log) is the 3com one. ti01 myers # ifconfig eth3 up ti01 myers # ifconfig|grep eth eth0 Link encap:Ethernet HWaddr 00:50:8D:84:A8:4F eth1 Link encap:Ethernet HWaddr 00:C0:DF:EA:D6:49 eth3 Link encap:Ethernet HWaddr 00:50:04:6E:9C:AB ti01 myers # dmesg|grep eth eth0: VIA Rhine II at 0xec061000, 00:50:8d:84:a8:4f, IRQ 193. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1. eth2: RealTek RTL-8029 found at 0xa400, IRQ 209, 00:C0:DF:EA:D6:49. eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 ti01 myers # dmesg|grep 3Com 0000:00:0a.0: 3Com PCI 3c905B Cyclone 100baseTx at ffffc20000228000. Well, I do not have any idea about how to fix it or what may be wrong since it is supposed to just setup /etc/modules.d/aliases and run modules-update to generate /etc/modules.conf. One extra information is that booting in single mode (init=/bin/bash) the interface order is ok. Could it be a udev problem? Thanks for the help, -- Claudinei Matos 55-21-81980605 ------=_Part_27151_5693702.1161874861228 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi guys,

I'm changing my third network card (a 3c905cx) with a 3c905B one. Well, the drivers are the same and the slot used is also the same.
My machine has other two NICs, one onboard (via-rhine) and a old realtek 8029 10/10 (ne2k-pci).
On my /etc/modules.d/aliases I have the 3 lines below:

alias eth0 via-rhine
alias eth1 ne2k-pci
alias eth2 3c59x

and it works very well setting each device to the right eth interface until I'd start to change the NICs, sometimes it does not work but shuting down and powering up the machine again used to solve.
now, since I'd changed the NICs, every time I boot up my machine the third device (3com) is associated with eth3 and eth2 does not have any device associated.
my dmesg says that the interface eth2 was associated with the ne2k-pci but ifconfig tells that eth1 is ne2k-pci and eth3 (which doesn't appear at dmesg log) is the 3com one.

ti01 myers # ifconfig eth3 up
ti01 myers # ifconfig|grep eth
eth0      Link encap:Ethernet  HWaddr 00:50:8D:84:A8:4F
eth1      Link encap:Ethernet  HWaddr 00:C0:DF:EA:D6:49
eth3      Link encap:Ethernet  HWaddr 00:50:04:6E:9C:AB

ti01 myers # dmesg|grep eth
eth0: VIA Rhine II at 0xec061000, 00:50:8d:84:a8:4f, IRQ 193.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
eth2: RealTek RTL-8029 found at 0xa400, IRQ 209, 00:C0:DF:EA:D6:49.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

ti01 myers # dmesg|grep 3Com
0000:00:0a.0: 3Com PCI 3c905B Cyclone 100baseTx at ffffc20000228000.

Well, I do not have any idea about how to fix it or what may be wrong since it is supposed to just setup /etc/modules.d/aliases and run modules-update to generate /etc/modules.conf.
One extra information is that booting in single mode (init=/bin/bash) the interface order is ok. Could it be a udev problem?

Thanks for the help,


--
Claudinei Matos
< claudineimatos@gmail.com>
55-21-81980605 ------=_Part_27151_5693702.1161874861228-- -- gentoo-user@gentoo.org mailing list