From owner-freebsd-current@FreeBSD.ORG Fri Oct 3 13:24:42 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45D79BA9 for ; Fri, 3 Oct 2014 13:24:42 +0000 (UTC) Received: from cursor.its.uu.se (smtp-out1.uu.se [130.238.7.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9884C9C for ; Fri, 3 Oct 2014 13:24:41 +0000 (UTC) Received: from e-mailfilter02.sunet.se (e-mailfilter02.sunet.se [192.36.171.202]) by cursor.its.uu.se (Postfix) with ESMTP id 111BC310; Fri, 3 Oct 2014 15:15:57 +0200 (CEST) Received: from velox.its.uu.se (velox.its.uu.se [130.238.7.74]) by e-mailfilter02.sunet.se (8.14.4/8.14.4/Debian-4) with ESMTP id s93DFuEK007053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2014 15:15:56 +0200 Received: from virgata.its.uu.se (virgata.its.uu.se [130.238.7.55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by velox.its.uu.se (Postfix) with ESMTPS id 9BC6134D62; Fri, 3 Oct 2014 15:15:56 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.3 velox.its.uu.se 9BC6134D62 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uu.se; s=centralsmtp; t=1412342156; i=@uu.se; bh=OuYK1WK2XXbBAsaEAYsmVkKFepVXlTUz39QFTxoq4N8=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=qFBQt7GKmDCNIeG9S6SSgjCicOQEbLYypfmnAc2d7DBPI22RkGQNHJabfWCsRMfyP 5OxNQn4A0ZNEHByb2gxeXcFyfMOUzICxT7g9cWcuYjDEaVvKdNYZak70rO7w0M0DnD /nC+OBJAqFmpvQNj3fAGk4CKuHphn5oCxmh8P8Rk= Received: from jubula (localhost.localdomain [127.0.0.1]) by virgata.its.uu.se (8.13.8/8.13.8) with ESMTP id s93DFsZS028611; Fri, 3 Oct 2014 15:15:56 +0200 Received: from h-197-74.a213.corp.bahnhof.se (h-197-74.a213.corp.bahnhof.se [85.24.197.74]) by webmail.uu.se (Horde Framework) with HTTP; Fri, 03 Oct 2014 15:15:54 +0200 Message-ID: <20141003151554.19434wd2pn8bwlu2@webmail.uu.se> Date: Fri, 03 Oct 2014 15:15:54 +0200 From: Erik Trulsson To: "O. Hartmann" Subject: Re: CURRENT: ath0: stuck beacon; resetting (bmiss count 4) References: <20141003145403.704e85be.ohartman@zedat.fu-berlin.de> In-Reply-To: <20141003145403.704e85be.ohartman@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Bayes-Prob: 0.0001 (Score 0, tokens from: outbound, outbound-uu-se:default, uu-se:default, base:default, @@RPTN) X-Spam-Score: -0.10 () [Tag at 15.00] T_RP_MATCHES_RCVD:-0.1 X-p0f-Info: os=Linux 2.6.x, link=Ethernet or modem X-CanIt-Geo: ip=130.238.7.55; country=SE; region=Uppsala; city=Uppsala; latitude=59.8500; longitude=17.6333; http://maps.google.com/maps?q=59.8500,17.6333&z=6 X-CanItPRO-Stream: outbound-uu-se:outbound (inherits from outbound-uu-se:default, uu-se:default, base:default) X-Canit-Stats-ID: 0aMWBfU9b - 60a381333502 - 20141003 X-Antispam-Training-Forget: https://mailfilter.sunet.se/canit/b.php?i=0aMWBfU9b&m=60a381333502&t=20141003&c=f X-Antispam-Training-Nonspam: https://mailfilter.sunet.se/canit/b.php?i=0aMWBfU9b&m=60a381333502&t=20141003&c=n X-Antispam-Training-Spam: https://mailfilter.sunet.se/canit/b.php?i=0aMWBfU9b&m=60a381333502&t=20141003&c=s X-CanIt-Archive-Cluster: PfMRe/vJWMiXwM2YIH5BVExnUnw X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.36.171.202 X-Mailman-Approved-At: Fri, 03 Oct 2014 13:28:14 +0000 Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2014 13:24:42 -0000 Quoting "O. Hartmann" : > Since a couple of days I get this weird console-and-log-spamming message: > > ath0: stuck beacon; resetting (bmiss count 4) > > The machine in question is running the most recent CURRENT right now: > > FreeBSD 11.0-CURRENT #2 r272471: Fri Oct 3 13:03:58 CEST 2014 amd64 > > and the box acts as a gateway with WiFi access point via hostapd and > this WiFi hardware: > > [...] > ath0: mem 0xf7e00000-0xf7e0ffff irq 16 at device 0.0 on pci1 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 2 RX streams; 2 TX streams > [...] > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > What is this and how can I get rid of it? It means that you have run into a well-known and long lasting hardware bug in Atheros Wifi chipsets, where they sometimes get stuck and stops sending out beacons. You get that message when the device driver detects that this has happened and resets the chip to get things going again. There is, AFAIK, no way of making sure the problem cannot happen, but you might be able to reduce the frequency of it happening by reducing the amount of interference you receive from other wireless devices.