Subject: kern/15817: sbus qe card no longer works with NetBSD/sparc 1.5ZA (current)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@netbsd.org>
List: netbsd-bugs
Date: 03/06/2002 11:09:22
>Number:         15817
>Category:       kern
>Synopsis:       sbus qe card no longer works with NetBSD/sparc 1.5ZA (current)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 06 02:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thorsten Frueauf
>Release:        NetBSD 1.5ZA (current from 25.02.2002)
>Organization:
private
	
>Environment:
	
	
NetBSD sparc1 1.5ZA NetBSD 1.5ZA (SPARC1) #0: Sun Mar  3 10:49:57 MET 2002     f
rueauf@sparc1:/home/frueauf/SPARC1 sparc

Architecture: sparc
Machine: sparc

SparcStation 5 with quad 10 mbit ethernet sbus card (qe)

>Description:
	
With -current src from 25.02.2002 the quad 10mbit ethernet sbus card (qe)
in my SparcStation 5 no longer works.

In OBP local-mac-address? is set to false.

The card gets probed at boot time:

qec0 at sbus0 slot 3 offset 0x20000 level 4 (ipl 7): 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:7a:cc:91
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:7a:cc:91
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:7a:cc:91
qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:7a:cc:91

I can configure it up:

qe0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:20:7a:cc:91
        media: Ethernet autoselect (10baseT)
        status: active
        inet 10.0.1.59 netmask 0xffffff00 broadcast 10.0.1.255
        inet6 fe80::a00:20ff:fe7a:cc91%qe0 prefixlen 64 scopeid 0x2

but then immediatly I get the following messages:

qe0: rx dma sbus error ack
qe0: resetting...

and the interface is not reachable from outside nor get packets out.

This card used to work under 1.5.3_ALPHA.

Someone else verified the problem on a different sparc with a different
qe card and got the same problem, so I am confident its not a hardware
problem.

>How-To-Repeat:
	
Try to use the quad 10mbit ethernet sbus card (qe) on NetBSD/sparc
with a -current kernel (1.5ZA as from src 25.02.2002).

>Fix:
	
I have no idea :-(
>Release-Note:
>Audit-Trail:
>Unformatted:
 sbus qe card no longer works with NetBSD/sparc 1.5ZA -current