PDA

View Full Version : Eth0 not being created properly


frustreren
2005-12-19, 04:55 PM CST
I have dual onboard NICs (A7N8X: Nvidia & 3com). The Nvidia NIC works perfectly. But, for some reason the 3com one is being detected as dev13807 (where the actual number changes). Dmesg reports nothing strange. The only odd boot message I get is "Cannot rename eth0 to eth1: file exists".

Possibly relevant outputs...

[root@napoleon etc]# ifconfig -a
dev19807 Link encap:Ethernet HWaddr 00:26:54:0C:17:2A
inet addr:10.20.30.1 Bcast:10.20.30.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:7
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:478 (478.0 b)
Interrupt:11 Base address:0xc000

eth1 Link encap:Ethernet HWaddr 00:0C:6E:2E:E8:66
inet addr:192.168.0.57 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:6eff:fe2e:e866/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23022 errors:0 dropped:0 overruns:0 frame:0
TX packets:25230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18354913 (17.5 MiB) TX bytes:2738618 (2.6 MiB)
Interrupt:10 Base address:0xe000

[root@napoleon etc]# kudzu -p -c NETWORK
-
class: NETWORK
bus: PCI
detached: 0
device: dev19807
driver: 3c59x
desc: "3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado]"
network.hwaddr: 00:26:54:0C:17:2A
vendorId: 10b7
deviceId: 9201
subVendorId: 1043
subDeviceId: 80ab
pciType: 1
pcidom: 0
pcibus: 2
pcidev: 1
pcifn: 0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: forcedeth
desc: "nVidia Corporation nForce2 Ethernet Controller"
network.hwaddr: 00:0C:6E:2E:E8:66
vendorId: 10de
deviceId: 0066
subVendorId: 1043
subDeviceId: 80a7
pciType: 1
pcidom: 0
pcibus: 0
pcidev: 4
pcifn: 0

In modprobe.conf notice that I have dual aliases for 3c59x, more keep appearing as I delete them...

[root@napoleon etc]# cat modprobe.conf
alias eth0 3c59x
alias eth1 forcedeth
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias ieee1394-controller ohci1394
alias scsi_hostadapter sata_nv
alias char-major-195* nvidia
options nvidia NVreg_ModifyDeviceFiles=0
alias char-major-195* nvidia
alias char-major-195* nvidia
alias dev19807 3c59x
alias char-major-195* nvidia
alias char-major-195* nvidia

[root@napoleon etc]# uname -a
Linux napoleon 2.6.14-1.1653_FC4 #1 Tue Dec 13 21:32:09 EST 2005 i686 athlon i386 GNU/Linux


I'd appreciate any thoughts...

homey
2005-12-19, 07:02 PM CST
Was waiting to see if anybody has such a problem with the new kernel.
( 2.6.14-1.1653_FC4 )
I have tried several different nics on that box and it has a problem with using two nics.
If I put in a second nic, I can get eth0 to work but not the second nic.
The problem doesn't exist using an older kernel with no other changes.
The output from lspci , lsmod are the same, but dmesg | grep eth looks different with the new kernel.

I finally gave up and just quit trying to use both nics for now on that box.