Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 11:50:53 +0100
From:      Henrik Brix Andersen <henrik@brixandersen.dk>
To:        freebsd-stable@freebsd.org
Subject:   ath0: ath_reset: unable to reset hardware; hal status 3
Message-ID:  <20070128105053.GA93664@tirith.brixandersen.dk>

next in thread | raw e-mail | index | archive | help

--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: <Atheros 5212> 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 <henrik@brixandersen.dk>

--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--



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