Subject: port-sparc/25604: ifconfig wi0 media DS11 panics system
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 05/17/2004 02:13:08
>Number:         25604
>Category:       port-sparc
>Synopsis:       ifconfig wi0 media DS11 panics system
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 17 02:14:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        2.0_BETA
>Organization:
>Environment:
NetBSD 2.0_BETA NetBSD 2.0_BETA (VGER) #1: Sun May 16 18:14:30 PDT 2004  mw@vger:/usr/src/sys/arch/sparc/compile/VGER sparc
>Description:
Hardware is a SPARCstation Voyager which has a built-in nell PCMCIA interface.  Card is a Lucent Silver WaveLAN 802.11b.  I've also tried the same PCMCIA card on a macppc system without this problem showing up.

martin@duskware.de thinks it's probably a wi issue and not a nell problem.

The card seems to work fine unless I specify the media DS11 option on the sparc system.
# ifconfig wi0 media DS11
trap type 0x7: pc=0xf0127c70 npc=0xf0127c74 psr=44007c4<S,PS>
kernel: alignment fault trap
	Topped in pid 12.1 (ifconfig) at netbsd:ieee80211_chan2mode+0x10:1
duh	[%o1 + 0x2], %g1
db> trace
ieee80211_chan2mode() at netbsd:ifmedia_ioctl
ifmedia_ioctl() at netbsd:wi_ioctl
wi_ioctl() at netbsd:ifioctl
ifioctl() at netbsd:sys_ioctl
sys_ioctl() at netbsd:syscall
syscall() at 0xf00064ec

>How-To-Repeat:

>Fix:
Don't specify media DS11
>Release-Note:
>Audit-Trail:
>Unformatted: