Subject: Is be ethernet (AKA "Big Mac") flaky in 2.0_BETA?
To: None <port-sparc@netbsd.org>
From: Volker A. Brandt <vab@bb-c.de>
List: port-sparc
Date: 04/28/2004 17:45:11
Hello all,


is it just me, or is be AKA "Big Mac" ethernet flaky in 2.0_BETA?


Platform is an SS20 using the latest releng build and the GENERIC kernel.
The system networks fine using le0.

# uname -a
NetBSD  2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Sat Apr 24 11:08:35 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sparc/OBJ/autobuild/netbsd-2-0/src/sys/arch/sparc/compile/GENERIC sparc

The be card tests OK on OBP level:

<#0> ok test /iommu@f,e0000000/sbus@f,e0001000/qec@3,20000/be@0,0
 Internal loopback test -- succeeded.
 Transceiver check  -- passed

It is recognized just fine:

qec0 at sbus0 slot 3 offset 0x20000: 128K memory
be0 at qec0 slot 0 offset 0x0 level 4 (ipl 7) rev 1 address 08:00:20:76:45:78

After a boot, the card is shown as being physically active and logically up:

# ifconfig be0
be0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:20:76:45:78
        media: Ethernet 100baseTX (100baseTX half-duplex)
        status: active
        inet 192.168.222.26 netmask 0xffffff00 broadcast 192.168.222.255
        inet6 fe80::a00:20ff:fe76:4578%be0 prefixlen 64 scopeid 0x2

But I don't see any traffic, nothing going in, nothing going out.
I have tried different be cards, and different SBus slots in the
SS20.

*Most* of the times I can get the card to work using an "ifconfig be0 down ;
ifconfig be0 up" sequence.

Usually, I would suspect a card vs. switch problem.  However, I can
switch media from 100baseTX to 10baseT and back just fine, and the
indicator on the switch be0 is connected to changes accordingly.

Has anybody seen such a problem recently?


Thanks -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt                  Consulting and Support for Sun Solaris
Brandt & Brandt Computer GmbH              WWW: http://www.bb-c.de/~vab/
Meckenheim, Germany                                   Email: vab@bb-c.de