Subject: Re: de(4)
To: None <Havard.Eidnes@runit.sintef.no>
From: C Kane <ckane@best.com>
List: port-i386
Date: 11/18/1998 16:16:02
Havard.Eidnes@runit.sintef.no writes:
>Here's what "ifconfig -m de0" gives on my build host:
>
>maaltrost% ifconfig -m de0
>de0: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        media: Ethernet 100baseTX full-duplex
>        status: active
>        supported Ethernet media:
>                media autoselect
>                media 100baseTX mediaopt full-duplex
>                media 100baseTX
>                media 10baseT mediaopt full-duplex
>                media 10baseT
>        inet 129.241.224.100 netmask 0xffffff80 broadcast 129.241.224.127
>maaltrost%

Here's what I get at bootup time, with media autoselected:

SMDLS5! root -> ifconfig -m de3
de3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (100baseTX)
        status: active
        supported Ethernet media:
                media autoselect
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT mediaopt full-duplex
                media 10baseT
        inet 143.183.34.219 netmask 0xffffff00 broadcast 143.183.34.0

But if I manually select 100basetx, things go awry:

SMDLS5! root -> ifconfig de3 media 100basetx
SMDLS5! root -> Nov 18 15:46:42 smdls5 /netbsd: de3: enabling 100baseTX port
Nov 18 15:46:45 smdls5 /netbsd: de3: link down: cable problem?

I have to specify "autoselect" for the card to work correctly:

SMDLS5! root -> ifconfig de3
de3: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet 100baseTX
        status: no carrier
        inet 143.183.34.219 netmask 0xffffff00 broadcast 143.183.34.0
SMDLS5! root -> ifconfig de3 media autoselect

Trying to do "ifconfig de3 media 100basetx mediaopt full-duplex" gives the
same results.

The switch port is set to 100-full, but I am unable to get the card to match.
Is it possible the card is doing 100-full without reporting it?  Throughput
is not very good.

When the system boots and sets the media to "autoselect", there are messages
that the card is selecting 100basetx and that the link is down with a cable
problem, although the card works:

de0 at pci2 dev 4 function 0
de0: interrupting at irq 10
de0: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2
de0: address 00:00:92:a7:95:14
de1 at pci2 dev 5 function 0de1: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2
de1: address 00:00:92:a7:95:15
de2 at pci2 dev 6 function 0de2: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2
de2: address 00:00:92:a7:95:16
de3 at pci2 dev 7 function 0de3: Cogent EM440TX 21140A [10-100Mb/s] pass 2.2
de3: address 00:00:92:a7:95:17
de3: enabling 100baseTX port
de3: link down: cable problem?

After I have specified the media, there is a message that the card is enabling
100basetx and then there is a message that the link is down.  When I run
"ifconfig de3 media autoselect" there are no messages about what speed the card
is selecting, and there are no messages that the link is up.

The cards I have are Adaptec Cogent Quartet Series ANA-6944A/TX, with one
DC1040F chip, and four each of DEC 21140-AE, NS DP83840AVCE, and NS DP83223V,
if it matters.

>> I wouldn't mind seeing a man page for this driver. ;)
>No? ;-)

Me either.

-- Chuck