From owner-freebsd-wireless@freebsd.org Thu Aug 4 07:50:22 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 823ABBAE52E for ; Thu, 4 Aug 2016 07:50:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 459AF1BF0 for ; Thu, 4 Aug 2016 07:50:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id f6so253458394ith.0 for ; Thu, 04 Aug 2016 00:50:22 -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=FISu3kf+zbtqvzqtIqSdUWESRHeIrzMYxtQ1xcd76pE=; b=erBUdr1p3WeBmz9NKN/q+vE6I0cByp2IgOX7tQjfzKem4RPF89fUwTPucq1xlMaVtJ KoF91D7MYiuAekTjozRoU20To19ygmef31kAuBrgpo6B8NbVRV3zwVejF14RT3wjhHku G6eSm4zWCPGWNMOhjcb0LCo9UgCS1pqH94r8vF5qUWXdn00HDtjcPMiqRt6MKhoyJlF/ T9w3VeschoxUB1ne9flzG8nNGyp4R5Fim9c4Y/heaUdBPzWrq9GB6TJRGyoO/3PwJGBb 5WWJDYPhISPv/RyGDPPAztR5Iar5qE7TzodlKmSUXxJsxFjo/oGlYLgU7Ja+NOtxuk8D qFwg== 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=FISu3kf+zbtqvzqtIqSdUWESRHeIrzMYxtQ1xcd76pE=; b=d1sbP5VQWTd+LpXdGW93oefR54/88Eu+g4OU8YuCpOGLVmWlfsDXNlXjtQb+/6vprj ee/CbzpUaWIbqa12RF1FUqoIM1LSeMOjeNYJ2GCspd1XFYWG1zdBL52TyA/c44IoQZrO w8Gxs6FQ7jTyp0pBRE6+nN/Hm1fly+AXZN26F+OQYcY8/arAqNJxRhepL5DEuvil+STn MxIwmSSFcHjORT5BjRDt4mQDJC08io7VQScsVVordQUHqnPAtz9445vKYlw8r7FGBFYQ 50NAUNgqElzDS2Nitln0B8CnHbB6OaNTl8ueUz6oHHI9HDU7xO1vFrgL3SrP0IMkQTuj rVtA== X-Gm-Message-State: AEkoouua+69EEi6fqIiY2S+5kagMxAkvUH9mhRebSGAqlsams1EB41E119Pk1NcQS/k92Np/yJzIroPXNj8AmA== X-Received: by 10.36.150.70 with SMTP id z67mr27629965itd.80.1470297021679; Thu, 04 Aug 2016 00:50:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 4 Aug 2016 00:50:20 -0700 (PDT) In-Reply-To: <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@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> <2E7BBB3B-2398-413B-BA8E-18CFB16AE4E1@ugh.net.au> From: Adrian Chadd Date: Thu, 4 Aug 2016 00:50:20 -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: Thu, 04 Aug 2016 07:50:22 -0000 Hi, Recompile with ATH_DEBUG, AH_DEBUG, ATH_DIAGAPI Thanks! -adrian On 4 August 2016 at 00:48, Andrew Stevenson wrote: > > On 04 Aug 2016, at 00:41, Adrian Chadd wrote: > >> ok. I'll go dig an ar9227 out of storage and set it up to see what's goi= ng on. >> >> please do this: >> >> sysctl dev.ath.0.hal.debug=3D0x18 >> >> then paste me the results from 'dmesg' over some period of time (eg >> between good/bad/good times.) > > OK I enabled this last night and this morning I find that the DHCP server= has stopped serving anything on the WIFI interface. Thats a new one. It mi= ght be a random bugs in the ISC DHCP server but I haven=E2=80=99t noticed i= t before and I have seen that rtadvd sometimes doesn=E2=80=99t cope with br= oken interfaces and requires a restart after they are fixed so maybe dhcpd = is similar. That would mean the sysctl loop had brought things back by itse= lf. DHCP didn=E2=80=99t log anything and seemed to be working over wired et= hernet. > > I restarted DHCP and everything seems normal. Pings are a bit variable bu= t no IP layer loss (e.g. best 1.6ms, avg 6.9ms, worst 15.3 ms for a ping fr= om a client to the base station). > > Nothing logged yet from ath0 other than "ath0: stuck beacon; resetting (b= miss count 0)=E2=80=9D (note 0 this time) logged approx every 4 minutes. Ev= ery 5th (approx) has a bmiss of 4). "ath0: device timeout=E2=80=9D appears = about once every 2 hours. > > I will keep checking and let you know. > > Thanks, > > Andrew