From owner-freebsd-wireless@freebsd.org Sun Jul 17 16:57:17 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 ECAE8B9C5BF for ; Sun, 17 Jul 2016 16:57:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (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 A52A913AD; Sun, 17 Jul 2016 16:57:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id f6so53443974ith.1; Sun, 17 Jul 2016 09:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=B5syvWHvZgXRuVwMPYFbCnLMQv3QX2YYE/wlozWFKhs=; b=BsjzaPFxTVIbFlnAX7pyuJyGftF+Yt25fA5kRnnJdNvC4hRu0XaAguQLok1eYbcWcn zX/Lg/wGII0IQZkT64ZYpEA32qUkAB2ondUki1dihyK5qyvxaT23dGTh3fPMJOGd0vNo Z6e1ofLvOZNj7LV/S4kGFmlnC471CYWugwVYr6Tt1GJv6RS+7fE4p7YadxK+J2sn2mMk YiWKh5W5Y5KCW3Vv0zg6pT0n71UjRzTVq9PUHO3AeXwKn2O9KrAACDMoBv+c4QygNkxp DPBJlKTLCnmWw9GPAoIp+6gR0lPJTwGNH3ZkfdUqHmQ4ImRdAURaE2VpL824ltA5uMrA huXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=B5syvWHvZgXRuVwMPYFbCnLMQv3QX2YYE/wlozWFKhs=; b=kKdFYFUOGq/Y1U/0LKHHO+Md/5NfTulLozB//tI/Kw2kCA41/zyBaEZtYZnK5/N9Z7 K7hdJwoa0trDwpYauTqN/VxZViY9C8OvX7oYqXK7Vp+TXMo7ui4Mmn6Lcd/wfQG89xpb 6nTUngvbkE9szVliKNUBo/R/q77ubs0QyMJU2SZg5pacz17ODBt+ZOnwXJ9hQSN7R0oG 7oxwJgLS3aClg8JrpTdIoPTfIqKF1IrkP6Qza/QZ0nYNZhgqk0l15IHNBP/nRAg9KDRh AZQvK2lCS5sRCLJ6LfxQizrf9TiZ1VY14wdf4wYFIpl5aJ0AZxE6LnnWzg/fkCx9PZWt hg6Q== X-Gm-Message-State: ALyK8tKj7wsrrSRV1qHl0B6QR8nMipMmA/Hb4a/1w8C/5H6Y+pc7r4MTKP2wjC1jMbMS9rjcWpn1/rvZPsePcw== X-Received: by 10.36.200.131 with SMTP id w125mr29081797itf.80.1468774637076; Sun, 17 Jul 2016 09:57:17 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Sun, 17 Jul 2016 09:57:16 -0700 (PDT) In-Reply-To: <20160717104755.GA74205@lyxys.ka.sub.org> References: <20160710174746.GA29034@lyxys.ka.sub.org> <20160710175300.GB29034@lyxys.ka.sub.org> <20160714213758.GA17141@lyxys.ka.sub.org> <20160715202803.GA38281@lyxys.ka.sub.org> <20160716093010.GA50786@lyxys.ka.sub.org> <20160717104755.GA74205@lyxys.ka.sub.org> From: Adrian Chadd Date: Sun, 17 Jul 2016 09:57:16 -0700 X-Google-Sender-Auth: -lK5x3ZarY9bds5BHRGngitxdC8 Message-ID: Subject: Re: ath (AR9460) no longer works after going to 11-STABLE r302483 To: Wolfgang Zenker , FreeBSD Release Engineering Team Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Sun, 17 Jul 2016 16:57:18 -0000 ok, I'll go try a stable/11 install on a device with an AR9462 and report back. re@, I know its late notice, but i'd really like this fixed in stable/11, so heads up for whenever I figure out what broke! -a On 17 July 2016 at 03:47, Wolfgang Zenker wrote: > * Adrian Chadd [160716 17:52]: >> ... > >> I'm confused as to what's going on.. > > smells like a race condition unmasked by changed timing to me. > But I admit I have no clue at all how that wlan stuff works and if > it is even possible for such a race condition to exist, much less > how to debug this. > >> On 16 July 2016 at 02:30, Wolfgang Zenker wrote: >> > Hi, >> > >> > * Adrian Chadd [160715 22:40]: >> >> On 15 July 2016 at 13:28, Wolfgang Zenker wrote: >> >>> * Adrian Chadd [160715 00:00]: >> >>>> On 14 July 2016 at 14:37, Wolfgang Zenker wrote: >> >>>>> * Adrian Chadd [160710 21:47]: >> >>>>>> Since you've reverted the ath driver directories without success, I'm >> >>>>>> mostly out of simple ideas. I think you need to bisect the whole >> >>>>>> kernel version until you find the commit that broke things. >> > >> >>>>> done. The commit is 11-STABLE r302410. AFAICS the only change here >> >>>>> is the removal of debugging options from the GENERIC kernel config: >> > >> >>>>> https://svnweb.freebsd.org/base/stable/11/sys/amd64/conf/GENERIC?r1=302408&r2=302410 >> > >> >>>> ... loool, okay. Let me see. >> > >> >>>> Try INVARIANTS and INVARIANT_SUPPORT. Maybe something in the ath >> >>>> driver needs it.. oops! >> > >> >>> Nope, wlan0 still works after disabling INVARIANTS and INVARIANT_SUPPORT. >> >>> Any suggestions for next try? >> > >> >> Just try disabling the others and see what happens. >> > >> > commenting out DEADLKRES and MALLOC_DEBUG_MAXZONES in addition to >> > INVARIANTS and INVARIANT_SUPPORT did not change the situation: ath >> > still worked. Re-enabling all of the above and disabling WITNESS >> > resulted in ath failing. >> > >> > Wolfgang