Subject: nell & wi on Classic - no luck just yet, some help needed
To: None <port-sparc@netbsd.org>
From: Dan Zinngrabe <quellish@mac.com>
List: port-sparc
Date: 10/03/2002 17:53:22
I'm trying to set up a Sparc Classic for use with the nell pcmcia->sbus 
adapter and a wireless card, but after building a custom 1.6 kernel with the 
nell interface enabled and these other options also enabled:

As specified in <http://www.netbsd.org/Ports/sparc/faq.html#nell>:
options	
WI_AT_BIGENDIAN_BUS_HACK
wi*	
at pcmcia? function 
?	
	# Lucent WaveLan IEEE (802.11)

## SBus to PCMCIA bridge
# Currently enabling nell* with audioamd* causes panic at attach
nell*	
at sbus? slot ? offset 
?	
	# PCMCIA bridge
pcmcia*	
at nell?

The audioamd related drivers I tried commenting out- don't need sound on this 
machine. When I booted the machine with this kernel, all seemed well until I 
inserted the wireless card, when I got:

# stp4020[1]: Battery change 1
Oct  2 09:40:55  /netbsd: stp4020[1]: Battery change 1
stp4020[1]: Battery change 1
stp4020[1]: Battery change 1
wi0 at pcmcia1 function 0: INTERSIL, HFA384x/IEEE, Version 01.02
wi0:Oct  2 09:40:56  last message repeated 2 times
Oct  2 09:40:56  /netbsd: wi0 at pcmcia1 function 0: INTERSIL, HFA384x/IEEE, 
Version 01.02
Oct  2 09:40:56  /netbsd: wi0:
stp4020[1]: Battery change 1
Oct  2 09:40:56  /netbsd: stp4020[1]: Battery change 1
wi0: command timed out, cmd=0x0
wi0: init failed
 802.11 address 00:02:6f:01:85:aa
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)
Oct  2 09:40:57  /netbsdstray interrupt ipl 0xd pc=0xf0008a1c npc=0xf0008a20 
psr=41400cc5<S,PS
>
stray interrupt ipl 0xd pc=0xf0008a1c npc=0xf0008a20 psr=41400cc5<S,PS>
(same message repeated numerous times)

Followed by:
panic: crazy interrupts
syncing disks... stray interrupt ipl 0xd pc=0xf012f8dc npc=0xf012f8e0 
psr=414000c0<S,PS>
panic: crazy interrupts

And a call traceback.

Does anyone know what was going on? I was connected to the Classic via serial 
terminal, I read in some of the archives that the stray interrupt is usually 
serial port related. Did I miss anything in my kernal build? It is the wi 
driver? Do I need to wi driver patch mentioned by Martin Husemann 
<http://mail-index.netbsd.org/port-sparc/2002/03/10/0002.html>, or does the 
WI_AT_BIGENDIAN_BUS_HACK option supercede that?

If someone wants a more complete dump of what happened above, just let me 
know.

Thanks!
Dan