Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2013 12:24:07 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        lev@freebsd.org
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: New hardware, old problem: stuck beacon when here is WiFi traffic
Message-ID:  <CAJ-Vmokroz8ONpgxmeGg6jUKhCK_8LWUi5tenx%2BPbassY1=OTw@mail.gmail.com>
In-Reply-To: <510232154.20130509211849@serebryakov.spb.ru>
References:  <2810538978.20130423164137@serebryakov.spb.ru> <CAJ-Vmom4UDoz7EgdnVeQ%2BALuFFXkH9t_Uj7=FwL77S5rKfUD1g@mail.gmail.com> <1813905823.20130423184528@serebryakov.spb.ru> <CAJ-VmomhRaKODxis09MjAhUbAUOw%2B6jWBY48JpZR_JgfZZLKcQ@mail.gmail.com> <184105677.20130424002002@serebryakov.spb.ru> <CAJ-VmokVmHDXwE7S5koSqtFjPXQ_VUPhj8gfMruDM2k-DyUMPw@mail.gmail.com> <1936997795.20130424003555@serebryakov.spb.ru> <CAJ-Vmokx2QhcjcsgA-_kqjX63Vu4CLk7HkuyALautbnzp61ywQ@mail.gmail.com> <886711115.20130424004702@serebryakov.spb.ru> <CAJ-VmoksSTBC7jmC-_hvBeJFSD0k28HoZodaWdHm0AF0d1yZJg@mail.gmail.com> <6010292503.20130426001447@serebryakov.spb.ru> <CAJ-VmomUsPgHTVGaKHZ_YE%2Bu1ZOjGqrVfh2uYmvOs6gKmhnxOw@mail.gmail.com> <CAJ-VmokZBbmHbruKJV-8kvTyOTsiq5_XHnfqUYo3vO68872Q=w@mail.gmail.com> <99510815.20130426122508@serebryakov.spb.ru> <CAJ-VmoktRPbnDRbRuwA4i8w50kExs2pwD4yBawL6iOz7F4Bknw@mail.gmail.com> <CAJ-VmonCao99MOrm97tQS_f1xS9tieQfg-nQUB4APWVmdJJUBg@mail.gmail.com> <124956607.20130430122459@serebryakov.spb.ru> <CAJ-VmonQXyB_Aik-ApSmgRqT3yhD5Bqrx3zj%2BKM%2BitVmZhY0TQ@mail.gmail.com> <146903383.20130501000714@serebryakov.spb.ru> <CAJ-Vmo=n27vAzsEPDwaO%2BjxS-n42WBbiNyfpvmnO931q1CKcDA@mail.gmail.com> <94204652.20130501133220@serebryakov.spb.ru> <CAJ-VmonvS_=_vgJufRc-5d4NGfkKtpsUEZh%2BTaE_Th-dEj2W9A@mail.gmail.com> <CAJ-Vmo=fFEkRr4-R3g1%2B%2BMq7QoTGD_OFWpHc5jpgbwEcgrOJYQ@mail.gmail.com> <CAJ-Vmont9febEE9jOX8ZMp7omMdQ_4wDNRr5gyq8gbpm3x18KQ@mail.gmail.com> <CAJ-Vmon0dj%2Bg1ZE28whsvtP%2BshUwoMa-E_XnQu6uFy8cSCUuZg@mail.gmail.com> <94971208.20130503122811@serebryakov.spb.ru> <CAJ-VmonPyg6a5ZidA9vZzozVGFc0XHT2MoX3OfhCBrqMxVn7cw@mail.gmail.com> <CAJ-VmomOywCicVHP8aLKXhdysad48K7bc-wRudaPYmcuQLcKYA@mail.gmail.com> <CAJ-Vmok6fFB=Tb%2BJyGfAGJMLUzJ93LN_v==TJsRv--5bWU8YGg@mail.gmail.com> <105246227.20130509004931@serebryakov.spb.ru> <CAJ-Vmon-3xdX8S15uPCMLpAs52=Tdpk8TKPsajLUpb3yNf49QQ@mail.gmail.com> <CAJ-VmomqUBnFU6wPMbpJbAR9HsvAH5kui66xJH51NUnL3jkQYw@mail.gmail.com> <510232154.20130509211849@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Next time you do this, can you do this:

wlandebug +crypto +assoc +state

I'd like to see what's actually going on behind the scenes.

so:


May  9 21:08:59 gateway sudo:      lev : TTY=pts/1 ;
PWD=/usr/home/lev/bin ; USER=root ; COMMAND=/sbin/sysctl
dev.ath.0.debug=0x900000020

.. then a bunch of time, which I guess is you doing UDP:
May  9 21:16:25 gateway kernel: ath0: ath_tx_tid_drain_print: norm:
node 0xffffff8000d7f000: bf=0xffffff800085d8e0: addbaw=0, dobaw=0,
seqno=715, retry=0
May  9 21:16:25 gateway kernel: ath0: ath_tx_tid_drain_print: node
0xffffff8000d7f000: bf=0xffffff800085d8e0: txq[1] axq_depth=502,
axq_aggr_depth=0
May  9 21:16:25 gateway kernel: ath0: ath_tx_tid_drain_print: node
0xffffff8000d7f000: bf=0xffffff800085d8e0: tid txq_depth=1
hwq_depth=503, bar_wait=0, isfiltered=0
May  9 21:16:25 gateway kernel: ath0: ath_tx_tid_drain_print: node
0xffffff8000d7f000: tid 0: sched=1, paused=0, incomp=0, baw_head=0,
baw_tail=0 txa_start=51018, ni_txseqs=61249

.. so:

* hardware queue depth is 502 frames
* no aggregates
* there's only one frame in the TID txq, but 503 frames from that TID
in the hardware queue
* it's scheduled for more frames but there's likely no space left in the TXQ.

But there's no hardware reset until you do a forcebstuck.

So I guess that first one is actually a disassociate/reassociate bug
more than anything.

I bet this is what is actually going on. Can you please do the
wlandebug above, so we can see if it's actually disassociating and not
transitioning back through SCAN/ASSOC states?

Thanks,



adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmokroz8ONpgxmeGg6jUKhCK_8LWUi5tenx%2BPbassY1=OTw>