From owner-freebsd-wireless@freebsd.org Tue Aug 2 20:53:59 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFC36BAD40C for ; Tue, 2 Aug 2016 20:53:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75AAD1CDB for ; Tue, 2 Aug 2016 20:53:59 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x230.google.com with SMTP id m101so224251849ioi.2 for ; Tue, 02 Aug 2016 13:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HXKe6mpXrXhQsklcHfysfLCt76XWtq1liRxSKckN5i8=; b=A20O4yFeEW1kwYdUWfwTP66tuyKE+8HWsZpOYoXf95jG9TZ69UjivunYTjmmtwckPS Xle1dErGmj5toQb9jqEE8dN3Ts6z3R6YlCbNGuHbFcljk1io5PYt7+h1jFb0KLP0CJt9 5aQP+zMg9ae2eyJkBJgT+ATsxM9jTVmxaSAxq8Nl9nTF2SZkCuj54/ff3SPXN+iNk5dG UyJ1w4d7mVQ0TYYH4t7MCfEli68jD3Vg/1EmuGbCifOc1/5piDyK80LfAxTuyL1yjGXu GO+aeEpwA+5XqqdwmnrS8/TKexZLCfo0qPL1GXYc8iS/g+0fSzD7h91tlG/LGyevBsUe 91hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HXKe6mpXrXhQsklcHfysfLCt76XWtq1liRxSKckN5i8=; b=MmUJOd67AbEI84tdc28CbCyt1hHyRIo6WoULdXOWictbGcMoWpebmOUCQXJUA9/33R Cp30qr/aq5PzdIP71GnYkM7jTxqIaTvx5ZZF3Yi6rZVL+fyMfcm2bXFde0VfIAHVdq2H uBbh0pQHWeEZ6QRgeEH+mCJYkmpmRl+LTQ4jHOgb/uWbsEw959MVYhVd5iwtpqBQULxy EdYoqcDUJh+7PfysBsXZF2WGGmUzB/rZmbTg8O2ghedSProSbQlY2mLnJqhV3jJwRe4q Q+S0XVISu9meyjnQXFRraglvv16WVMgwV1AjbDEU8WO3Zwr37YlEwVz9YWOSTEmSu7hr U3uQ== X-Gm-Message-State: AEkooutheOWmIbTt2o2Wo0uZud4U1VWvMC6Og5G7+BcorGFspZfESpKzT2KlEo6vjJhddwTAD84xOoPNnXGQVQ== X-Received: by 10.107.136.138 with SMTP id s10mr7773562ioi.75.1470171238758; Tue, 02 Aug 2016 13:53:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Tue, 2 Aug 2016 13:53:57 -0700 (PDT) In-Reply-To: <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> <762054A0-B628-4CD8-9F59-6B52CEB78481@ugh.net.au> <09DD4206-6D68-4B03-A3F9-01512C2F866B@ugh.net.au> From: Adrian Chadd Date: Tue, 2 Aug 2016 13:53:57 -0700 Message-ID: Subject: Re: bf_next not NULL! To: Andrew Stevenson Cc: "freebsd-wireless@freebsd.org" , Willem@offermans.rompen.nl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 20:53:59 -0000 hi, do this: sysctl dev.ath.0.hal.force_full_reset=3D1 while true; do sysctl dev.ath.0.force_bstuck=3D1 sleep 300 done .. see if that fixes things. -adrian .. On 2 August 2016 at 12:19, Andrew Stevenson wrote: > > On 29 Jul 2016, at 23:07, Adrian Chadd wrote: > >> Hi, >> >> Yeah, the problem is that the NF calibration will time out, and I >> don't know if it's logging that by default. >> >> Do sysctl dev.ath.0.hal.debug=3D0x8 and then see what it lsogging when >> things hang. > > Ironically, after doing that it stayed up for the longest period in a whi= le. It has now died again however. I don=E2=80=99t know when it stopped wor= king exactly but there is nothing logged for ath0 since 0830 this morning (= 12.5 hours ago)...ath0: stuck beacon; resetting (bmiss count 4). wlan0 has = logged, about an hour later, wlan0: STA 00:21:e9:e7:a9:e7 IEEE 802.11: disa= ssociated. > > I don=E2=80=99t see anything logged via syslog, or in dmesg, that is diff= erent than before the sysctl change. > > Thanks, > > Andrew