Bug 179709 - [ath] Atheros 5212 does not work: stuck beacon; resetting (bmiss count 4) [regression]
Summary: [ath] Atheros 5212 does not work: stuck beacon; resetting (bmiss count 4) [re...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 10.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 10:00 UTC by Gennady Proskurin
Modified: 2018-05-28 19:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gennady Proskurin 2013-06-19 10:00:00 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-06-19 13:22:26 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-wireless

Over to maintainer(s).
Comment 2 gprspb 2013-06-20 16:45:52 UTC
I reverted kernel and world to r251541 and card does not work. So, bug is not
caused by source changes.

It seems my card have "unstable" hardware, or something like that.

Corresponding thread in freebsd-wireless maillist:
http://lists.freebsd.org/pipermail/freebsd-wireless/2013-June/003445.html
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:42:34 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.