From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 12 14:20:17 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 041CA16A4CE for ; Fri, 12 Nov 2004 14:20:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D784643D2D for ; Fri, 12 Nov 2004 14:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iACEKGJV075812 for ; Fri, 12 Nov 2004 14:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iACEKGTT075811; Fri, 12 Nov 2004 14:20:16 GMT (envelope-from gnats) Resent-Date: Fri, 12 Nov 2004 14:20:16 GMT Resent-Message-Id: <200411121420.iACEKGTT075811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brian Candler Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD90C16A4D1 for ; Fri, 12 Nov 2004 14:19:44 +0000 (GMT) Received: from gold.pobox.com (gold.pobox.com [208.210.124.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5596443D54 for ; Fri, 12 Nov 2004 14:19:44 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from gold (localhost [127.0.0.1]) by gold.pobox.com (Postfix) with ESMTP id 81B949669 for ; Fri, 12 Nov 2004 09:19:43 -0500 (EST) Received: from thinkdog.local.linnet.org (dsl-212-74-113-65.access.uk.tiscali.com [212.74.113.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gold.sasl.smtp.pobox.com (Postfix) with ESMTP id 47F372A21E for ; Fri, 12 Nov 2004 09:19:43 -0500 (EST) Received: from brian by thinkdog.local.linnet.org with local (Exim 4.43 (FreeBSD)) id 1CScH7-000294-Ow for FreeBSD-gnats-submit@freebsd.org; Fri, 12 Nov 2004 14:19:41 +0000 Message-Id: Date: Fri, 12 Nov 2004 14:19:41 +0000 From: Brian Candler To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/73871: Intersil Prism wireless wi0 locks up, "busy bit won't clear" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian Candler List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 14:20:17 -0000 >Number: 73871 >Category: kern >Synopsis: Intersil Prism wireless wi0 locks up, "busy bit won't clear" >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 12 14:20:16 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD thinkdog.local.linnet.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Nov 7 10:30:04 GMT 2004 root@thinkdog.local.linnet.org:/usr/src/sys/i386/compile/THINKDOG i386 This is an IBM Thinkpad X30 laptop with an internal mini-PCI wireless card, detected as wi0. [pciconf -l -v] wi0@pci1:2:0: class=0x028000 card=0x25138086 chip=0x38731260 rev=0x01 hdr=0x00 vendor = 'Intersil Americas Inc (Was: Harris Semiconductor)' device = 'PRISM 2.5 802.11b 11Mbps Wireless Controller' class = network [dmesg] wi0: mem 0xf8000000-0xf8000fff irq 11 at device 2.0 on pci1 wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) wi0: Ethernet address: 00:05:3c:09:7e:9d wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps >Description: After some use, the card locks up and the problem cannot be cleared without rebooting the machine. Nov 12 14:00:44 thinkdog kernel: wi0: timeout in wi_cmd 0x010b; event status 0x8000 Nov 12 14:00:44 thinkdog kernel: wi0: xmit failed Nov 12 14:00:44 thinkdog kernel: wi0: timeout in wi_seek to 127/0 Nov 12 14:00:44 thinkdog last message repeated 3 times Nov 12 14:00:44 thinkdog kernel: wi0: wi_cmd: busy bit won't clear. This has happened to me twice in a couple of days. The first time I had ifconfig powersave set, so I removed it; but it's now happened again without powersave enabled. Once it's in this state, no further 802.11 or IP configuration commands are accepted. For example: bash-2.05b# ifconfig wi0 powersave ifconfig: SIOCS80211: Operation not supported by device bash-2.05b# ifconfig wi0 wepmode on ifconfig: SIOCS80211: Operation not supported by device bash-2.05b# ifconfig wi0 1.2.3.4 ifconfig: ioctl (SIOCAIFADDR): Operation not supported by device >How-To-Repeat: [/etc/rc.conf] ifconfig_wi0="DHCP" [/etc/start_if.wi0] ifconfig wi0 wepmode on wepkey 0xNNNNNNNNNN # powersave Then use it fairly heavily (a 'unison' dump of files across the LAN triggered it the last time) >Fix: Sorry, don't know. But I think it should at least recover gracefully, even if there's a problem with the hardware. >Release-Note: >Audit-Trail: >Unformatted: