Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Frank Horowitz <frank@horow.net>
To: make-wifi-fast@lists.bufferbloat.net, toke@toke.dk
Subject: [Make-wifi-fast] Instrumented ATH9K for Crashes?
Date: Thu, 16 Feb 2017 22:18:45 -0500	[thread overview]
Message-ID: <47B84782-858A-4CAF-BD22-3CC835483DC9@horow.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 2339 bytes --]

Hi All,

TL/DR: I’ve 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’ve assembled an Atom based Zotac mini-itx board with two different ATH9K based radios. I’ve installed Ubuntu 16.10, with a kernel compiled from Dave Miller’s 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’ve 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 — the last port is ultimately meant to feed a DMZ, but there’s 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’ve tried to get netconsole logs from another linux box on my bridged LAN. but thats a Heisenbug because I can’t get the ATH9K’s 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’s something configurable for those radios. Bottom line, I’ve had no luck in snagging a log from the crashes via netconsole. I’ve 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’d 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’ll have been able to squish this bug. (Just to be explicit, I’m volunteering to be a testbed. Don’t tell my wife! ;-) )

TIA for any hints on how best to proceed.

Frank Horowitz
frank@horow.net




[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 841 bytes --]

             reply	other threads:[~2017-02-17  3:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17  3:18 Frank Horowitz [this message]
2017-02-17  3:50 ` Dave Taht
2017-02-17  9:56   ` Toke Høiland-Jørgensen
2017-02-17 15:47     ` Frank Horowitz
2017-02-17 16:22       ` Toke Høiland-Jørgensen
2017-02-17 16:24         ` Frank Horowitz
2017-02-19 13:58           ` Dave Taht
2017-02-19 14:27             ` Frank Horowitz
2017-02-19 14:45               ` Dave Taht
2017-02-19 14:48                 ` Frank Horowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B84782-858A-4CAF-BD22-3CC835483DC9@horow.net \
    --to=frank@horow.net \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=toke@toke.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox