Subject: port-sparc64/30343: NetBSD-sparc64 seems to have trouble initializing PCI interrupts
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 05/26/2005 18:34:01
>Number:         30343
>Category:       port-sparc64
>Synopsis:       NetBSD-sparc64 seems to have trouble initializing PCI interrupts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 26 18:34:00 +0000 2005
>Originator:     tron@colwyn.zhadum.de
>Release:        NetBSD 3.99.5
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD sheridan.zhadum.de 3.99.5 NetBSD 3.99.5 (SHERIDAN) #0: Thu May 26 15:38:37 BST 2005 tron@colwyn.zhadum.de:/src/sys/compile/SHERIDAN sparc64
Architecture: sparc64
Machine: sparc64
>Description:
A few month ago I tried to use a 3Com 3C996B-T in my ULTRA60 which failed
because the interrupt doesn't get initialized properly:

bge0 at pci1 dev 1 function 0: PCI configuration registers:
bge0: interrupting at ivec 0 <---
bge0: firmware handshake timed out, val = 4b657654
bge0: ASIC BCM5701 B5 (0x0105), Ethernet address 00:0a:5e:1e:97:d5
brgphy0 at bge0 phy 1: BCM5701 1000BASE-T media interface, rev. 0

I initially blamed the bge(4) driver. Today I've put a Intel PRO/1000T
in my ULTRA60 and it fails with exactly the same problem:

wm0 at pci1 dev 1 function 0: Intel i82543GC 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ivec 0 <---
wm0: 64-bit 66MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:03:47:b0:e8:6e

It appears that NetBSD-sparc64 has problems initializing PCI interrupts.
Solaris 10 has no problems using the 3Com 3C996B-T in that ULTRA60
and the card also works fine with NetBSD-i386.

>How-To-Repeat:
Put a a 3Com 3C996B-T or Intel PRO/1000T (82543GC) in an ULTRA60.

>Fix:
None provided.