From nobody@FreeBSD.org  Mon Nov 29 00:38:42 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 05E9316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Nov 2004 00:38:42 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DD36443D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Nov 2004 00:38:41 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iAT0cf8W037324
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Nov 2004 00:38:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iAT0cf9k037323;
	Mon, 29 Nov 2004 00:38:41 GMT
	(envelope-from nobody)
Message-Id: <200411290038.iAT0cf9k037323@www.freebsd.org>
Date: Mon, 29 Nov 2004 00:38:41 GMT
From: Matthias Buelow <mkb@mukappabeta.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: wi wlan driver device freeze (5.3-STABLE)
X-Send-Pr-Version: www-2.3

>Number:         74495
>Category:       kern
>Synopsis:       [wi] wi(4) wlan driver device freeze (5.3-STABLE)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 29 00:40:25 GMT 2004
>Closed-Date:    Mon May 21 17:45:47 GMT 2007
>Last-Modified:  Mon May 21 17:45:47 GMT 2007
>Originator:     Matthias Buelow
>Release:        5.3-STABLE
>Organization:
>Environment:
FreeBSD drjekyll.mukappabeta.net 5.3-STABLE FreeBSD 5.3-STABLE #4: Fri Nov 19 22:15:57 CET 2004     root@drjekyll.mukappabeta.net:/usr/obj/usr/src/sys/DRJEKYLL  i386

>Description:
      I'm having trouble with the wi driver and a 3com wifi card.
Under some load testing, I got a total freeze of the interface and the following kernel messages:

------snip------
Nov 29 00:54:23 drjekyll kernel: wi0: timeout in wi_cmd 0x010b; event status 0x8
000
Nov 29 00:54:23 drjekyll kernel: wi0: xmit failed
Nov 29 00:54:23 drjekyll kernel: wi0: timeout in wi_seek to 127/0
Nov 29 00:54:24 drjekyll last message repeated 2 times
Nov 29 00:59:36 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 00:59:45 drjekyll last message repeated 6 times
Nov 29 00:59:45 drjekyll kernel: wi0: device timeout
Nov 29 00:59:45 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 01:04:24 drjekyll kernel: wi0: timeout in wi_cmd 0x010b; event status 0x8
000
Nov 29 01:04:24 drjekyll kernel: wi0: xmit failed
Nov 29 01:04:24 drjekyll kernel: wi0: timeout in wi_seek to 13c/0
Nov 29 01:04:48 drjekyll last message repeated 8 times
Nov 29 01:05:20 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 01:05:28 drjekyll last message repeated 5 times
Nov 29 01:05:28 drjekyll kernel: wi0: device timeout
Nov 29 01:05:28 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 01:05:28 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 01:07:14 drjekyll last message repeated 3 times
Nov 29 01:08:59 drjekyll kernel: wi0: timeout in wi_seek to 13c/0
Nov 29 01:09:02 drjekyll last message repeated 4 times
Nov 29 01:11:00 drjekyll kernel: wi0: timeout in wi_cmd 0x010b; event status 0x8
000
Nov 29 01:11:00 drjekyll kernel: wi0: xmit failed
Nov 29 01:11:00 drjekyll kernel: wi0: timeout in wi_seek to 13c/0
Nov 29 01:11:04 drjekyll last message repeated 5 times
Nov 29 01:11:05 drjekyll kernel: wi0: bad alloc 13c != 151, cur 2 nxt 2
Nov 29 01:25:26 drjekyll kernel: wi0: device timeout
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to 151/0
Nov 29 01:25:26 drjekyll kernel: wi0: wi_cmd: busy bit won't clear.
Nov 29 01:25:26 drjekyll kernel: wi0: init failed
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc00/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc81/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc0c/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc02/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc03/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc04/0
Nov 29 01:25:26 drjekyll kernel: wi0: timeout in wi_seek to fc01/0
Nov 29 01:25:26 drjekyll kernel: wi0: failed to allocate 2372 bytes on NIC
Nov 29 01:25:26 drjekyll kernel: wi0: tx buffer allocation failed (error 12)
Nov 29 01:25:26 drjekyll kernel: wi0: interface not running
------snap------

The card is a:

wi0: <Intersil Prism2.5> mem 0xd8000000-0xd8000fff irq 17 at device 1.0 on pci3
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)
wi0: Ethernet address: 00:0d:54:aa:62:12
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

Fiddling with the device with ifconfig didn't help; only a reboot fixed the problem.
To add insult to injury, the whole thing happened while I was doing load-tests of an el-cheapo Belkin card with ndiswrapper on Linux on a different machine, copying a couple hundred megs of data to and fro the FreeBSD box over wlan.  ;-(

>How-To-Repeat:
      See above.
>Fix:
      N/A.
>Release-Note:
>Audit-Trail:

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, mkb@mukappabeta.de
Cc:  
Subject: Re: kern/74495: [wi] wi(4) wlan driver device freeze (5.3-STABLE)
Date: Mon, 21 May 2007 17:21:16 +0100

 Hi,
 
 Are you able to confirm if this is still a problem with a more recent
 versions of FreeBSD?  Also, is this card a 3Com 3CRDW696? (from
 kern/75823)
 
 Thanks,
 
 Gavin

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@freeBSD.org
Cc: Matthias Buelow <mkb@incubus.de>
Subject: Re: kern/74495: [wi] wi(4) wlan driver device freeze (5.3-STABLE)
Date: Mon, 21 May 2007 17:50:04 +0100

 Hi,
 
 Are you able to confirm if this is still a problem with a more recent
 versions of FreeBSD?  Also, is this card a 3Com 3CRDW696? (from
 kern/75823)
 
 Thanks,
 
 Gavin
 
 [ mail to original address bounces, trying <mkb@incubus.de> ]
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon May 21 17:08:18 UTC 2007 
State-Changed-Why:  
The submitter had been asked for feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74495 

From: Matthias Buelow <mkb@incubus.de>
To: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
Cc: bug-followup@freeBSD.org
Subject: Re: kern/74495: [wi] wi(4) wlan driver device freeze (5.3-STABLE)
Date: Mon, 21 May 2007 18:59:52 +0200

 Gavin Atkinson wrote:
 
 > Are you able to confirm if this is still a problem with a more recent
 > versions of FreeBSD?  Also, is this card a 3Com 3CRDW696? (from
 > kern/75823)
 
 I recently tried 6.2 and didn't encounter any problems, so it should be
 fine.
 
 Yes, it is a 3CRDW696.
 
 mkb.
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon May 21 17:45:26 UTC 2007 
State-Changed-Why:  
Submitter notes that problem has been resolved on 6.X. 

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