From owner-freebsd-questions Thu Dec 5 22:51:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D2BA37B401; Thu, 5 Dec 2002 22:51:18 -0800 (PST) Received: from delivery.infowest.com (delivery.infowest.com [204.17.177.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5BE943EBE; Thu, 5 Dec 2002 22:51:17 -0800 (PST) (envelope-from agifford@infowest.com) Received: from infowest.com (eq.net [208.186.104.163]) by delivery.infowest.com (Postfix) with ESMTP id 293E9E3ACBB; Thu, 5 Dec 2002 23:51:12 -0700 (MST) Message-ID: <3DF048B3.3030806@infowest.com> Date: Thu, 05 Dec 2002 23:50:27 -0700 From: "Aaron D. Gifford" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: wi0: wi_cmd: busy bit won't clear. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew (andrew@ugh.net.au) wrote: >Hi, > >I have a Linksys WMP11 802.11b card running in hostap mode. Every now >and then my wireless network dissappears. If I ssh into the box over a >different interface everything looks OK. To get things going I run >ifconfig wi0 down. The whole machines seems to lock up - it doesn't >even respond to pings on other interfaces. If I wait long enough (30 >secs approx) everything comes back. I find emitted from the kernel: > >wi0: wi_cmd: busy bit won't clear. > >multiple times. > >Anyone seen this? Any ideas? > >I'm running 4.7-STABLE as of a few days ago. > >Thanks, > >Andrew I see almost the exact same thing here. I'm running probably the same card. My hardware is detected during boot thus: wi0: mem 0xffbeb000-0xffbebfff irq 10 at device 16.0 on pci0 wi0: 802.11 address: de:ad:be:ef:fa:fa wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI) wi0: Intersil Firmware: Primary 1.01.00, Station 1.04.02 The card is set up during boot thus: ifconfig wi0 inet 10.0.1.1/24 ssid my_ssid station my_station channel 7 wepmode on wepkey my_key mediaopt ibss Every now and then, the network will disappear, then return anywhere from 30 seconds to three minutes later. On the console and in the logs are entries much like Andrews: Dec 5 13:15:29 mybox /kernel: wi0: timeout in wi_cmd 0x010b; event status 0x8000 Dec 5 13:15:29 mybox /kernel: wi0: xmit failed Dec 5 13:17:51 mybox /kernel: wi0: watchdog timeout Dec 5 13:17:51 mybox /kernel: wi0: timeout in wi_cmd 0x0002; event status 0x8000 Dec 5 13:17:51 mybox /kernel: wi0: wi_cmd: busy bit won't clear. Dec 5 13:17:51 mybox last message repeated 2 times Dec 5 13:17:51 mybox /kernel: wi0: init failed Dec 5 13:17:51 mybox /kernel: wi0: wi_cmd: busy bit won't clear. Dec 5 13:17:51 mybox last message repeated 22 times Dec 5 13:17:51 mybox /kernel: wi0: failed to allocate 1594 bytes on NIC Dec 5 13:17:51 mybox /kernel: wi0: tx buffer allocation failed Dec 5 13:17:51 mybox /kernel: wi0: wi_cmd: busy bit won't clear. Dec 5 13:17:51 mybox /kernel: wi0: failed to allocate 1594 bytes on NIC Dec 5 13:17:51 mybox /kernel: wi0: mgmt. buffer allocation failed Dec 5 13:17:51 mybox /kernel: wi0: timeout in wi_seek to 0/0; last status 4000 Dec 5 13:17:51 mybox /kernel: wi0: timeout in wi_seek to 0/44; last status 4044 Dec 5 13:17:56 mybox /kernel: wi0: watchdog timeout The logs are very similar during each "event" and the host becomes unreachable whether via the wireless network or wired network. I haven't been able to get to the console quickly enough to check if the console is also unresponsive, but I wouldn't be surprised. It seems these "outages" occur more often during heavier traffic. They also have increased in frequency since WEP was enabled on the network. Any ideas, anyone? Aaron out. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message