From alan34@themis.ocn.ne.jp  Mon Jun 30 07:17:33 2003
Return-Path: <alan34@themis.ocn.ne.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 631CE37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Jun 2003 07:17:33 -0700 (PDT)
Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1B4D743FE3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Jun 2003 07:17:32 -0700 (PDT)
	(envelope-from alan34@themis.ocn.ne.jp)
Received: from localhost ([211.127.55.139]) by t-mta7.odn.ne.jp with ESMTP
          id <20030630141731048.ISQU.1984.t-mta7.odn.ne.jp@mta7.odn.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 30 Jun 2003 23:17:31 +0900
Message-Id: <20030630.231743.71081000.alan34@ams.odn.ne.jp>
Date: Mon, 30 Jun 2003 23:17:43 +0900 (JST)
From: Takefumi SAYO <alan34@themis.ocn.ne.jp>
Reply-To: Takefumi SAYO <alan34@themis.ocn.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: wi0: device timeout problem with PRISM 2.5 based WLAN card
X-Send-Pr-Version: 3.113

>Number:         53927
>Category:       kern
>Synopsis:       [wi] device timeout problem with PRISM 2.5 based WLAN card
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 30 07:20:08 PDT 2003
>Closed-Date:    Sun Nov 13 15:20:38 GMT 2005
>Last-Modified:  Sun Nov 13 15:20:38 GMT 2005
>Originator:     Takefumi SAYO
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Personal
>Environment:
System: FreeBSD n150.my.domain 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Sat Jun 28 21:59:19 JST 2003 root@n150.my.domain:/usr/src/sys/i386/compile/OLDCARD-local i386

>Description:
wi driver claims device timeout and loses connection to host AP
under heavy network traffic condition. (ex. using CVSup)

access point:
Corega APRS-11 (IEEE802.11b access point / Linux based?)

syslogd 1.3-3#33: restart.
root: APVER=APRS-11 V4.5.6L 
cardmgr[125]: starting, version is 3.1.8
cardmgr[125]: watching 2 sockets
cardmgr[125]: initializing socket 0
cardmgr[125]: socket 0: corega
cardmgr[125]: executing: 'insmod /lib/modules/2.2.17brfw/pcmcia/cw10_cs.o SSID='xxxxxxxxxxxxxxxx' channel=10'
cardmgr[125]: executing: './network start eth1'

station:
FreeBSD 5.1-CURRENT i386 box
IODATA WN-B11/PCM (IEEE802.11b PC card)

FreeBSD 5.1-CURRENT #3: Sat Jun 28 21:59:19 JST 2003
(with OLDCARD conf)

wi0 at port 0x240-0x27f irq 10 slot 1 on pccard1
wi0: 802.11 address: 00:a0:b0:xx:xx:xx
wi0: using RF:PRISM2.5 MAC:ISL3873
wi0: Intersil Firmware: Primary (1.0.5), Station (1.3.4)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::xxx:xxxx:xxxx:xxxx%wi0 prefixlen 64 scopeid 0x4 
        ether 00:a0:b0:xx:xx:xx
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
        status: associated
        ssid xxxxxxxxxxxxxxxx 1:xxxxxxxxxxxxxxxx
        stationname "FreeBSD WaveLAN/IEEE node"
        channel 10 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode MIXED weptxkey 1
        wepkey 1:64-bit wepkey 2:64-bit wepkey 3:64-bit wepkey 4:64-bit

% cd /usr/src
% make update

(then it occurs...)

kernel: wi0: device timeout
kernel: wi0: timeout in wi_cmd 0x0002; event status 0x8000
kernel: wi0: timeout in wi_cmd 0x0000; event status 0x8000
kernel: wi0: wi_cmd: busy bit won't clear.
kernel: wi0: wi_cmd: busy bit won't clear.
kernel: wi0: init failed
kernel: wi0: wi_cmd: busy bit won't clear.
last message repeated 19 times
kernel: wi0: failed to allocate 2372 bytes on NIC
kernel: wi0: tx buffer allocation failed (error 12)
kernel: wi0: interface not running

>How-To-Repeat:
Run cvsup to update FreeBSD source tree.

>Fix:
Update WLAN card firmware.
from
wi0: Intersil Firmware: Primary (1.0.5), Station (1.3.4)
to
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sun Jul 13 02:39:13 PDT 2003 
Responsible-Changed-Why:  
Assign to wi maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53927 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Nov 13 07:48:08 GMT 2005 
State-Changed-Why:  
Is this still a problem with modern versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53927 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Nov 13 15:19:56 GMT 2005 
State-Changed-Why:  
Submitter no longer has this particular card, so there is no way to test 
if the problem exists after all this time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53927 
>Unformatted:
