From owner-freebsd-mobile@FreeBSD.ORG Thu Apr 17 13:50:54 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48D2A37B401 for ; Thu, 17 Apr 2003 13:50:54 -0700 (PDT) Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04DD943FA3 for ; Thu, 17 Apr 2003 13:50:53 -0700 (PDT) (envelope-from mjj@isorauta.ntc.nokia.com) Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])h3HKopD16267 for ; Thu, 17 Apr 2003 23:50:51 +0300 (EET DST) Received: from esebh003.NOE.Nokia.com (unverified) by esvir03nok.nokia.com for ; Thu, 17 Apr 2003 23:50:49 +0300 Received: from isorauta.ntc.nokia.com ([172.22.105.162]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139); Thu, 17 Apr 2003 23:50:51 +0300 Received: (qmail 1342 invoked by uid 500); 17 Apr 2003 20:50:51 -0000 Date: Thu, 17 Apr 2003 23:50:51 +0300 From: Mike Jackson To: freebsd-mobile@freebsd.org Message-ID: <20030417205051.GA1232@isorauta.ntc.nokia.com> Mail-Followup-To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.4i X-OriginalArrivalTime: 17 Apr 2003 20:50:51.0279 (UTC) FILETIME=[080119F0:01C30523] Subject: netgear ma311 failures (wi0 driver) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 20:50:54 -0000 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