Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2004 00:38:41 GMT
From:      Matthias Buelow <mkb@mukappabeta.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/74495: wi wlan driver device freeze (5.3-STABLE)
Message-ID:  <200411290038.iAT0cf9k037323@www.freebsd.org>
Resent-Message-ID: <200411290040.iAT0ePqd083509@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74495
>Category:       kern
>Synopsis:       wi wlan driver device freeze (5.3-STABLE)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 29 00:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411290038.iAT0cf9k037323>