Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2002 23:50:27 -0700
From:      "Aaron D. Gifford" <agifford@infowest.com>
To:        questions@freebsd.org, freebsd-net@freebsd.org
Subject:   Re: wi0: wi_cmd: busy bit won't clear.
Message-ID:  <3DF048B3.3030806@infowest.com>

next in thread | raw e-mail | index | archive | help
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: <Intersil Prism2.5> 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




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