Subject: kern/30631: wi(4) broken for netgear ma401 (prism2) in -current
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <rtr@omicron-persei-8.net>
List: netbsd-bugs
Date: 06/29/2005 14:26:01
>Number:         30631
>Category:       kern
>Synopsis:       wi(4) broken for netgear ma401 (prism2) in -current
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 29 14:26:00 +0000 2005
>Originator:     Tyler Retzlaff
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD silence.omicron-persei-8.net 3.99.7 NetBSD 3.99.7 (_silence_) #0: Thu Jun 30 03:56:24 EST 2005 rtr@elysium.omicron-persei-8.net:/var/obj/_silence_ i386
Architecture: i386
Machine: i386
>Description:

my old ma401 (prism2) which was working with 3.99.5 is broken in 3.99.7.
It appears to attach okay but as soon as I try to set a WEP key things
appear to go wrong.  Removing it from the pcmcia slot causes more complaints
from the driver.  Output follows.

insert into pcmcia slot, mostly normal but doesn't display the rates line:
cbb1: wait took 0.009992s
wi0 at pcmcia1 function 0: <NETGEAR MA401 Wireless PC, Card, Version 01.00, >
wi0: 802.11 address 00:30:ab:11:f3:f7
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163-SST-flash
wi0: Intersil Firmware: Primary (0.3.0), Station (1.3.4)

attempt to set nwkey with ifconfig:
wi0: timeout in wi_seek to fc2a/0
wi0: timeout in wi_seek to fc28/0
wi0: timeout in wi_seek to fc2a/0
wi0: timeout in wi_seek to fc28/0
wi0: timeout in wi_seek to fc2a/0

remove from pcmcia:
wi0: timeout in wi_seek to ffff/0
wi0: wi_rx_intr read fid ffff failed
wi0: timeout in wi_seek to ffff/8
wi0: wi_rx_intr read fid ffff failed
wi0: timeout in wi_seek to ffff/0
wi0: wi_tx_ex_intr read fid ffff failed
wi0: timeout in wi_seek to ffff/0
wi0: timeout in wi_seek to ffff/4
wi0: wi_cmd: busy bit won't clear
wi0: xmit failed
wi0: detached

Revert to old kernel and it works happily again.

>How-To-Repeat:

Just try to use the hw.

>Fix: