From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 7721B3B29E for ; Thu, 16 Feb 2017 22:18:53 -0500 (EST) Received: by mail-qk0-x243.google.com with SMTP id e1so5093660qkh.1 for ; Thu, 16 Feb 2017 19:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:subject:to:message-id:mime-version; bh=eK3lilLePorzr4GV5rFWtn6KSFrn6o/Gm9sXKmmel1E=; b=Afc4Ni5U2RWCdn3q2CfSUBAlVAmflC65Xm4Qrcms4xUSBpdz1NDZ9aRG+5i6IXUfdo Iq+wrL9d2L5wTIWYepbZLEZgvaPipjAT9NILYwEXPEns5o2HIgXN3xIl6PIR4yRNHnTS ziNu/5j4XADQoQfPRBU7W73lcvjmnHzN3gfq9AexgVgHBmuQo8+f1ra1DJZhg7VPA017 Cc7X0oPeTrcctV74nS/C8CuuC8ZV0Z4c4+pKWefL7eHSlG0NDw72bPimk8LKq/sSlqBc IJNUafTXK2KtXrXGkNW4DZ8F43UaGb8GUPKh2WRo8aBo2dvxRK4XbAaFk6qo3zVrPpiJ TwnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:subject:to:message-id :mime-version; bh=eK3lilLePorzr4GV5rFWtn6KSFrn6o/Gm9sXKmmel1E=; b=ldJgRAlKodRrN/29gWKBzhfuhjz0gMGLsVwA1JBMWJTs79KDvUmdUW70L4Ue9C6qzP UW+UB5iHZT1LLA/fv9NhR4UhXXZg/r3dRus/HKCHDejMFaR3U9yiFPMUibT2pVyesLfT 8NunnQ8ND3eJN1Mh4N7BdE7RsVDQoMGnwJXKB40NL3JQMM5tomWsCelTY2eBhv0NRux7 i8RqcJCepsGB1Y0ZkqIRJqmoP7RjzdDmjK3X1PN7eFXR5sEEU03oZNPHGhALhHtQcYnU toYyx5/P4eebMpFXmwdY1gJZiV72IKCfS/6U+hih3V9keP22FO4WSqrhw95ss6kKfY0A lHnQ== X-Gm-Message-State: AMke39k6F+hC7v9Pe0fhSpi+MwyMNwv67lMlQ6CUuPgYqk1f8qsWV4yX2oy/zmaxCReGKA== X-Received: by 10.55.23.135 with SMTP id 7mr5899624qkx.125.1487301532950; Thu, 16 Feb 2017 19:18:52 -0800 (PST) Received: from thermo2.home.lan ([172.76.224.33]) by smtp.gmail.com with ESMTPSA id g58sm5682607qtb.68.2017.02.16.19.18.50 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 19:18:51 -0800 (PST) Sender: Frank Horowitz From: Frank Horowitz X-Pgp-Agent: GPGMail Content-Type: multipart/signed; boundary="Apple-Mail=_AEAFF91B-A63B-4ABF-B7B1-DAAF5EC2083A"; protocol="application/pgp-signature"; micalg=pgp-sha256 Date: Thu, 16 Feb 2017 22:18:45 -0500 To: make-wifi-fast@lists.bufferbloat.net, toke@toke.dk Message-Id: <47B84782-858A-4CAF-BD22-3CC835483DC9@horow.net> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Subject: [Make-wifi-fast] Instrumented ATH9K for Crashes? X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Feb 2017 03:18:53 -0000 --Apple-Mail=_AEAFF91B-A63B-4ABF-B7B1-DAAF5EC2083A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi All, TL/DR: I=E2=80=99ve been seeing reliable crashes from ATH9K drivers in = net-next kernels for weeks, but have been unable to capture a crash log. In an attempt at having a reliably/regularly updatable router running = the ATF and BBR codes, I=E2=80=99ve assembled an Atom based Zotac = mini-itx board with two different ATH9K based radios. I=E2=80=99ve = installed Ubuntu 16.10, with a kernel compiled from Dave Miller=E2=80=99s = net-next tree (currently running 4.10-rc7). The radios are set up using = 2 different hostapd.conf files (one for the 2.4GHz radio, and one for = the 5GHz radio). The motherboard has an RTL8169 ethernet onboard, and = I=E2=80=99ve got a 4 port Intel ethernet card also in the mix. The = RTL8169 is my WAN port, fed by a DSL modem (running LEDE), and all but = one of the other network ports are part of a LAN bridge =E2=80=94 the = last port is ultimately meant to feed a DMZ, but there=E2=80=99s nothing = on it at the moment. When the radios are not connected to the bridge, everything has run = stably for days. When the radios are connected to the bridge, but have = no clients, the result has run stably for about 24 hours before I = stopped the test. When a radio is connected to the bridge and has a client, the system = reliably crashes within an hour or two. I=E2=80=99ve tried to get netconsole logs from another linux box on my = bridged LAN. but thats a Heisenbug because I can=E2=80=99t get the = ATH9K=E2=80=99s to play well with netconsole over the bridge. I think = this is due to the lack of polling in the ATH9K driver, but would be = delighted to find out that it=E2=80=99s something configurable for those = radios. Bottom line, I=E2=80=99ve had no luck in snagging a log from the = crashes via netconsole. I=E2=80=99ve also tried looking at the systemd = logs, but nothing made it to the log database before the crash. I could reconfigure my network such that the unbridged DMZ is feeding my = external linux box. Before I try that, I thought I=E2=80=99d ask Toke and the list for = advice about any configs for the ATH9K driver that might help with A) = capturing a crash log, and/or B) debugging the drivers. Hopefully, by the time this bites someone else in 4.11 kernels, we=E2=80=99= ll have been able to squish this bug. (Just to be explicit, I=E2=80=99m = volunteering to be a testbed. Don=E2=80=99t tell my wife! ;-) ) TIA for any hints on how best to proceed. Frank Horowitz frank@horow.net --Apple-Mail=_AEAFF91B-A63B-4ABF-B7B1-DAAF5EC2083A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJYpmuWAAoJEKc9jX5nrxrT+loQAL8eBG2xk5t60fBlysC1xEvy FQnUhGYt2nH+92L3ikAqVHKMC17UfVRzL4B3L9NbDHHptc07aoInOXxwOGZZgmcv Rg/ky09uo4z3VM0zobYjnrXHOO/mf2o9I6X7n2PyxH8K+HB/ocv0/m/caeSG9g0a MnRZj4JXld9HQ/+Q+LFDNhGEUyJod+ZzrW2g0u/7L271YWNzRcg7rzb3ppg08YzF GJ0hBtocynzLwVDpzu0BmqQ2OyVqOUOJMWKV/hptHPTdv5p8+Ggnsz5HfBBEikAr uKIBRApyEuer6HLMpVaEmcrb8V1sZ/z6rl/aKRN1jppg3QevW0Y+2ii9Y89eooEM CjqsTyxYukU965KPbYKa15iFUYxQJDLRsexcFUdyAEqtx+/YmUrwmnKNQoQfzuHr EbHCQFCxkV8/cjkijc7cWYdSgA5VA3O0kuVWgIJ0eMyPg9DgFBnKcBP+O7OPCYym 0dzK2k0cDjhwTWAEkD2ro4lGEeKFKGMUyzK6ulJmKC5bEgsOkYZQKKfXhTK1vR7X cYJpeXkkcgqsaJbPzJYtobMlg/cf7lmybHYqGv5w3v6lPxOoUb9aqoa64zKNqBVu 1psYHnQlsGxRACNS9e1vXSvvjOP9110z1yzdr0M1Fw6wFjGfMm6yBTHyYCOoYgGQ hMGLXPiXAj2z2jq6687I =y0bo -----END PGP SIGNATURE----- --Apple-Mail=_AEAFF91B-A63B-4ABF-B7B1-DAAF5EC2083A--