Subject: 3c905B on Dell motherboard
To: None <port-i386@netbsd.org>
From: Michael Eriksson <Michael.Eriksson@era-t.ericsson.se>
List: port-i386
Date: 01/24/2000 09:41:06
Tjupp!

I have problems to get the on-board 3c905B to work in my new Dell
Precision 210. A separate 3c905B on a PCI-board works perfectly. The
symptom is that when I ifconfig the internal NIC up, the carrier sense
LED goes dark. The kernel thinks the inteface is OK, but it doesn't
send nor receive any packets.

The PCI interface:
ex0 at pci0 dev 13 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x30)
ex0: interrupting at irq 11
ex0: MAC address 00:50:da:3c:16:ee
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex0: supplying EUI64: 00:50:da:ff:fe:3c:16:ee

The onboard interface:
ex1 at pci0 dev 17 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev. 0x0)
ex1: interrupting at irq 14
ex1: MAC address 00:c0:4f:a0:22:af
exphy1 at ex1 phy 24: 3Com internal media interface
exphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

The media autoselect doesn't work on the internal NIC. ifconfig shows:

ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:50:da:3c:16:ee
        media: Ethernet autoselect (10baseT)
        status: active
        inet 147.214.172.168 netmask 0xffffff00 broadcast 147.214.172.255
        inet6 fe80::250:daff:fe3c:16ee@ex0 prefixlen 64 scopeid 0x1
ex1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:c0:4f:a0:22:af
        media: Ethernet autoselect
        status: active
        inet 10.0.0.10 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80::2c0:4fff:fea0:22af@ex1 prefixlen 64 scopeid 0x2

Observe how the PCI-board ex0 has locked on 10baseT, but ex1 is still
undetermined.

Both interfaces are connected to the same 10 Mbps hub (during
testing). Various attempts with "ifconfig media" has been done, to no
avail. I have tried to use the ukphy, but that didn't help. Locking
the media with 3c90xcfg didn't help either.

Thankful for any suggestions,
Michael