From owner-freebsd-stable@FreeBSD.ORG Sun Jan 28 10:50:56 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FB0716A400 for ; Sun, 28 Jan 2007 10:50:56 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from ns2.pil.dk (ns2.pil.dk [195.41.47.38]) by mx1.freebsd.org (Postfix) with ESMTP id 33F5913C49D for ; Sun, 28 Jan 2007 10:50:56 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from tirith.brixandersen.dk (osgiliath.brixandersen.dk [87.53.223.189]) by ns2.pil.dk (Postfix) with ESMTP id 0BC1E7BA898 for ; Sun, 28 Jan 2007 11:50:55 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 42C38B919; Sun, 28 Jan 2007 11:50:54 +0100 (CET) Date: Sun, 28 Jan 2007 11:50:53 +0100 From: Henrik Brix Andersen To: freebsd-stable@freebsd.org Message-ID: <20070128105053.GA93664@tirith.brixandersen.dk> Mail-Followup-To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.13 (2006-08-11) Subject: ath0: ath_reset: unable to reset hardware; hal status 3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 10:50:56 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I have noticed a problem when using ath(4) as an 802.11g access point with hostapd(8) and WPA2-PSK CCMP. The following problem seems to only occur when a Microsoft Windows XP STA connects to the AP in 802.11g mode, my FreeeBSD STAs doesn't seem to trigger this: Jan 28 11:21:07 osgiliath kernel: ath0: stuck beacon; resetting (bmiss coun= t 4) Jan 28 11:21:07 osgiliath kernel: ath0: ath_reset: unable to reset hardware= ; hal status 3 Jan 28 11:21:25 osgiliath kernel: ath0: device timeout Jan 28 11:21:25 osgiliath kernel: ath0: stuck beacon; resetting (bmiss coun= t 4) Jan 28 11:21:25 osgiliath kernel: ath0: ath_reset: unable to reset hardware= ; hal status 3 Jan 28 11:21:37 osgiliath kernel: ath0: device timeout Jan 28 11:21:38 osgiliath kernel: ath0: stuck beacon; resetting (bmiss coun= t 4) Jan 28 11:21:38 osgiliath kernel: ath0: ath_reset: unable to reset hardware= ; hal status 3 Jan 28 11:21:46 osgiliath kernel: ath0: device timeout This is FreeBSD RELENG_6 (nanoBSD) as of yesterday with the new ath_hal(4) running on a Soekris net4801-50: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) ath0: mem 0xa0010000-0xa001ffff irq 11 at device 14.0 on pci0 ath0: Ethernet address: 00:05:4e:42:e8:7c ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3 The same problem occured with version 0.9.17.2 of ath_hal(4). I have increased the RX/TX buffers in ath(4) as shown in this snippet =66rom my kernel configuration: device ath device ath_hal device ath_rate_sample options ATH_RXBUF=3D80 options ATH_TXBUF=3D200 The only way I can get the AP running again after the above messages to syslog is to reboot it. The problem doesn't seem to occur in 802.11b mode nor in 802.11g mode with only FreeBSD STAs. Any help in debugging this will be appreciated. Regards, Brix --=20 Henrik Brix Andersen --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: GnuPG signed iD8DBQFFvIANv+Q4flTiePgRAg6tAJ9dbmfhBfN/t3L/s7/VOjEAiRplrQCdHl3W wOQBTh3btGiPsGvAyvTEW4s= =ViUO -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--