netgear ma311 failures (wi0 driver)
Mike Jackson
mjj at isorauta.ntc.nokia.com
Thu Apr 17 13:50:54 PDT 2003
Hi,
I bought a new netgear ma311 about two weeks ago and set it up as an
access point http://www.unixcircle.com/features/802.11b_freebsd.php on
my 5.0-RELEASE box.
It is working very fine, when it works. It has crashed 3 times now
since I've set it up. When it crashes, the box is blocked and I can't
ssh in or login from the console. Sometimes pings get through, but
mostly not (all from a wired box, btw).
Here are some of the logs:
Apr 17 20:46:53 base kernel: wi0: timeout in wi_cmd 0x010b; event status 0x0000
Apr 17 20:46:53 base kernel: wi0: xmit failed
Apr 17 20:48:16 base kernel: wi0: watchdog timeout
Apr 17 20:48:16 base kernel: wi0: timeout in wi_seek to 14b/0; last status 810b
Apr 17 20:48:16 base kernel: wi0: timeout in wi_seek to 14b/3c; last status 810b
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base kernel: wi0: xmit failed
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to 14b/0; last status 810b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to 14b/3c; last status 810b
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base kernel: wi0: xmit failed
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base last message repeated 3 times
Apr 17 20:48:17 base kernel: wi0: init failed
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc07/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc00/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc81/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc83/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc84/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc06/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc09/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc0c/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc2d/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc04/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc02/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc03/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc0e/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc2a/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc01/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc85/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc28/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc23/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc24/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc2a/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to fc80/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base kernel: wi0: failed to allocate 1594 bytes on NIC
Apr 17 20:48:17 base kernel: wi0: tx buffer allocation failed
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base kernel: wi0: failed to allocate 1594 bytes on NIC
Apr 17 20:48:17 base kernel: wi0: mgmt. buffer allocation failed
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to 0/0; last status 800b
Apr 17 20:48:17 base kernel: wi0: timeout in wi_seek to 0/3c; last status 800b
Apr 17 20:48:17 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:48:17 base kernel: wi0: xmit failed
Apr 17 20:49:25 base kernel: wi0: watchdog timeout
Apr 17 20:49:25 base kernel: wi0: wi_cmd: busy bit won't clear.
Apr 17 20:49:25 base last message repeated 3 times
Apr 17 20:49:25 base kernel: wi0: init failed
Apr 17 20:49:25 base kernel: wi0: timeout in wi_seek to fc07/0; last status 800b
Here is the script that I use to initialize the card:
# ---------------------
#!/bin/sh
#
# configure the wireless interface
ifconfig wi0 inet up ssid my_wifi media DS/11Mbps mediaopt hostap
# set the IP address and netmask of the wireless device
ifconfig wi0 inet 192.168.2.1 netmask 255.255.255.0
# turn on wep
wicontrol -e 1
# add 128-bit wep keys (bogus keys just for this post :-))
wicontrol -k 0x24598530c7e81f36ec6fdcee19 -v 1
wicontrol -k 0xb69954545d9d17f7499527e873 -v 2
wicontrol -k 0x757904ed9cbc7acde7be04d817 -v 3
wicontrol -k 0xc514bfbeaa6abb24b86bd6ad81 -v 4
# use key 1 to encrypt transmitted packets
wicontrol -T 1
# choose a non-overlapping channel (1, 6, or 11)
wicontrol -f 6
# define the station name
wicontrol -s "FreeBSD_AP"
# bridge the wireless interface to ethernet
sysctl net.link.ether.bridge=1
sysctl net.link.ether.bridge_cfg="wi0 xl0"
sysctl net.inet.ip.forwarding=1
## EOF
# ---------------------
I'm connecting to the AP with a netgear ma401 that's in a win2k laptop,
using the driver from netgear with their wep. If I can get this problem
to go away, I'm going to enable the IPSec (I already have it working
between win2k and racoon) and turn off wep. I just didn't want to change
anything until I know what is causing this problem...
The fbsd box is also running:
- routed -q
- natd
- ipfw
- apache
Many thanks in advance for all responses and advice.
--
Mike Jackson
More information about the freebsd-mobile
mailing list