Subject: 10/100 ethernet cards - followup
To: None <port-macppc@netbsd.org>
From: Donald Lee <donlee_ppc@icompute.com>
List: port-macppc
Date: 05/14/2000 16:49:59
In our last episode....

>Rod Morehead <rmore@rmore.net> reports that:
>Asante Mac DEC based 10/100 PCI Rev A. part number is 09-00169-01 works in
>-current (de)

I doesn't look like it works very well in 1.4.2.

I called Asante, and asked if I could swap out a "new" card for an old one.
They said they would.  Now I have a real model 09-001690-01 Asante
10/100 card, with a Digital chip on it.  It works
OK, but I get *lots* of output errors when I try to use it.

I'm running NetBSD 1.4.2 on a PowerCenter132.  Kernel is very slightly
modified to do Appletalk routing correctly.

Using ftp and Appleshare, I have tried moving data to another machine on
the network.
When moving data NetBSD -> elsehwere, it works great.
When moving data elsewhere -> NetBSD, it's really, relly slow. (due to the
errors, I presume)

This is the ifconfig output:

>charm$ ifconfig de0
>de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        media: Ethernet 100baseTX
>        status: active
>        inet 192.168.24.254 netmask 0xffffff00 broadcast 192.168.24.255


The kernel messages look like this:

>May 13 17:50:17 charm /netbsd: de0 at pci0 dev 13 function 0
>May 13 17:50:17 charm /netbsd: de0: interrupting at irq 23
>May 13 17:50:17 charm /netbsd: de0: Asante 21140A [10-100Mb/s] pass 2.2
>May 13 17:50:17 charm /netbsd: de0: address 00:00:94:a0:bd:93
>May 13 17:50:17 charm /netbsd: de0: enabling 10baseT port
>May 13 17:53:56 charm /netbsd: de0: abnormal interrupt: transmit underflow (raising TX threshold to 96|256)
>May 13 17:53:57 charm /netbsd: de0: abnormal interrupt: transmit underflow (raising TX threshold to 128|512)
>May 13 17:53:57 charm /netbsd: de0: abnormal interrupt: transmit underflow (raising TX threshold to 160|1024)
>May 13 17:53:59 charm /netbsd: de0: abnormal interrupt: transmit underflow (switching to store-and-forward mode)

I've tried setting the media to 100baseTX, but it makes no
difference.

Ideas?  Will I have to snarf up some of the changes in
-current to get this working... ?

Thanks,

-dgl-