Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 08:52:13 GMT
From:      Gennady Proskurin <gpr@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/179709: ath - Atheros 5212 does not work: stuck beacon; resetting (bmiss count 4)
Message-ID:  <201306190852.r5J8qDwM086478@oldred.freebsd.org>
Resent-Message-ID: <201306190900.r5J900lj066346@freefall.freebsd.org>

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

>Number:         179709
>Category:       kern
>Synopsis:       ath - Atheros 5212 does not work: stuck beacon; resetting (bmiss count 4)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 19 09:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gennady Proskurin
>Release:        FreeBSD 10.0-CURRENT
>Organization:
>Environment:
FreeBSD gpr.nnz-home.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251945+1330981: Wed Jun 19 08:09:32 MSK 2013     gpr@gpr.nnz-home.ru:/usr/obj/usr/src/freebsd-head/sys/GPR  amd64
>Description:
After upgrading to r251945 my ath card does not work.
Earlier revision r251541 worked.

Now it spams log and console and my kernel log with messages:

Jun 19 10:04:27 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:04:58 gpr last message repeated 101 times
Jun 19 10:05:42 gpr last message repeated 143 times
Jun 19 10:05:42 gpr kernel: ath0: ath_raw_xmit: sc_inreset_cnt > 0; bailing
Jun 19 10:05:42 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:05:47 gpr last message repeated 11 times
Jun 19 10:05:47 gpr kernel: ath0: ath_raw_xmit: sc_inreset_cnt > 0; bailing
Jun 19 10:05:47 gpr kernel: ath0: ath_raw_xmit: sc_inreset_cnt > 0; bailing
Jun 19 10:05:47 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:05:53 gpr last message repeated 19 times
..
Jun 19 10:06:20 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:06:21 gpr last message repeated 4 times
Jun 19 10:06:22 gpr kernel: ath0: ath_tx_should_swq_frame: f0:4f:7c:fc:b3:22: Node is asleep; sending mgmt (type=0, subtype=176)
Jun 19 10:06:22 gpr kernel: ath0: ath_tx_should_swq_frame: f0:4f:7c:fc:b3:22: Node is asleep; sending mgmt (type=0, subtype=176)
Jun 19 10:06:22 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:06:23 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:06:23 gpr kernel: ath0: ath_tx_node_wakeup: an=0xffffff8002322000: node was already awake
Jun 19 10:06:24 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)
Jun 19 10:06:25 gpr kernel: ath0: stuck beacon; resetting (bmiss count 4)


Boot log device info:
Jun 19 10:04:18 gpr kernel: ath0: <Atheros 5212> mem 0xfbdf0000-0xfbdfffff irq 19 at device 10.0 on pci0
Jun 19 10:04:18 gpr kernel: ath0: AR2413 mac 7.9 RF2413 phy 4.5
Jun 19 10:04:18 gpr kernel: ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0056

# pciconf -lv
ath0@pci0:0:10:0:       class=0x020000 card=0x2051168c chip=0x0013168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212/AR5213 Wireless Network Adapter'
    class      = network
    subclass   = ethernet

# rc.conf
wlans_ath0="wlan0"
create_args_wlan0="wlandev ath0 wlanmode hostap"
ifconfig_wlan0="10.X.X.X/24"
hostapd_enable="YES"



Earlier revision r251541 worked without any problem. Sometimes it wrote the following to kernel log:

ath0: ath_tx_should_swq_frame: f0:4f:7c:fc:b3:22: Node is asleep; sending mgmt (type=0, subtype=176)

But it seemed harmless, it just worked.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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