3C905A problem with 2 nic's

From: thomas . hays
Date: Thu Feb 19 2004 - 23:24:27 EST


I have a machine with 2 3C905A nic's. eth0 is statically assigned and
always works fine. With 2.6.3 (but not with 2.4.23) eth1 fails to work
regardless of whether I use dhcpcd to my isp or statically assign with
ifconfig.

There were no hardware changes prior to going to 2.6.3 and I can
reboot back into 2.4.23 and everything works again. Please note that
/proc/interrupts for 2.4.23 contains an entry for eth1 but doesn't
when booted to 2.6.3. I've included /proc/interrupts at the bottom of
the email. Below are the errors and debugging info:

running "dhcpcd eth1" gets this error:
Feb 19 21:52:27 megara dhcpcd[863]: dhcpStart: ioctl SIOCGIFHWADDR: No such device

running "ifconfig eth1 {IP} up" gets this error:
SIOCSIFADDR: No such device
eth1: unknown interface: No such device
eth1: unknown interface: No such device

I've tried the 3c59x.c driver as both a module and statically compiled
in the kernel. Problem remains. With a debug level of 3 I get:

3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
0000:01:0a.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xde80. Vers LK1.1.19
00:60:08:c9:a6:c0, IRQ 11
product code 4b4b rev 00.0 date 12-02-97
Internal config register is 16302d8, transceivers 0xe040.
8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface.
MII transceiver found at address 24, status 786f.
Enabling bus-master transmits and whole-frame receives.
0000:01:0a.0: scatter/gather enabled. h/w checksums disabled
eth0: Dropping NETIF_F_SG since no checksum feature.
PCI: Found IRQ 10 for device 0000:01:0b.0
PCI: Sharing IRQ 10 with 0000:00:1f.4
See Documentation/networking/vortex.txt
0000:01:0b.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xdf00. Vers LK1.1.19
00:60:08:18:fc:b8, IRQ 10
product code 4b4b rev 00.0 date 01-05-80
Internal config register is 16302d8, transceivers 0xe040.
8K word-wide RAM 3:5 Rx:Tx split, autoselect/MII interface.
MII transceiver found at address 24, status 786f.
Enabling bus-master transmits and whole-frame receives.
0000:01:0b.0: scatter/gather enabled. h/w checksums disabled
eth1: Dropping NETIF_F_SG since no checksum feature.
eth0: Filling in the Rx ring.
eth0: first available media type: MII
eth0: Initial media type MII.
eth0: MII #24 status 786f, link partner capability 01e1, info1 0010, setting full-duplex.
eth0: vortex_up() InternalConfig 016302d8.
eth0: vortex_up() irq 10 media status 8802.
eth0: Media selection timer tick happened, MII.
dev->watchdog_timeo=5000
eth0: MII transceiver has status 786f.
eth0: Media selection timer finished, MII.
eth0: Media selection timer tick happened, MII.
dev->watchdog_timeo=5000
eth0: MII transceiver has status 786f.
eth0: Media selection timer finished, MII.

When booted to 2.6.3 /proc/interrupts is:
CPU0
0: 2833370 XT-PIC timer
1: 2124 XT-PIC i8042
2: 0 XT-PIC cascade
3: 0 XT-PIC uhci_hcd
9: 0 XT-PIC Intel 82801BA-ICH2
10: 13 XT-PIC uhci_hcd, eth0
12: 58 XT-PIC i8042
14: 7309 XT-PIC ide0
15: 20 XT-PIC ide1
NMI: 0
ERR: 0

When booted to 2.4.23 (which works) /proc/interrupts is:
CPU0
0: 63609 XT-PIC timer
1: 5223 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 0 XT-PIC usb-uhci
9: 0 XT-PIC Intel ICH2
10: 8 XT-PIC usb-uhci, eth0
11: 8356 XT-PIC eth1
14: 3351 XT-PIC ide0
15: 3 XT-PIC ide1
NMI: 0
LOC: 63567
ERR: 0

gcc=3.3.2
motherboard=Intel D815EPEA2
distro=Fedora Core 1

Any help would be welcome. If more info is needed, please let me know.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html