Subject: port-macppc/13950: ANA-6922 boards won't work either with de or tlp drivers
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/14/2001 13:23:11
>Number:         13950
>Category:       port-macppc
>Synopsis:       ANA-6922 boards won't work either with de or tlp drivers
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 14 13:24:00 PDT 2001
>Originator:     Paulo Fessel
>Release:        1.5.x
NetBSD 1.5.1 firegate NetBSD 1.5.1 (FWMAC) #2: Thu Sep 13 22:06:39 AST 2001 root@firegate :/usr/src/sys/arch/macppc/compile/FWMAC macppc
The ANA-6922 Dual Ethernet board doesn't work reliably on my Performa 6360. Both de and tlp drivers fail:

* the de driver appears not to be working in 10 Mbps half-duplex. I get the message "activating 100 Mbps full-duplex" in both de0 and de1, and it doesn't allow me either to set the media type or options. For example, if I set the media as UTP the link goes down; the only option that brings the link up is "auto". I can't set media options with "ifconfig de0 media UTP mediaopt hdx" either. This leads to very poor performance and in errors in the board when I type ifconfig de0, for instance. Ultimately, the machine locks and I have to turn it off and on. The de driver also doesn't like the nsphy mii driver, as I couldn't compile the de driver with it.

* The tlp driver is only able to activate the tlp0 port; the tlp1 port is shown with the following messages:

    tlp1: broken MicroWire interface detected; setting SROM size to 1 kB
    tlp1: sorry, unable to handle your board

I've searched the bug database and there is a report for this error in PR #9675, but this solution applies only to NetBSD 1.4W. Anyway, the patch shown is for a early version of the driver (1.56).

Also, the tlp0 port is absolutely unstable: if I try to scp files from one machine to this machine, it locks hard and has to be powered off. Strangely, an ssh session goes fine, so I conclude that there are no duplex problems with this driver.
Use a Performa 6360 with ANA-6922 board and try to establish a LAN using a 8-port 3Com Office Hub.
Don't know, perhaps a port of the solution on PR#9675 to the latest version of tulip.c.