From: Arend van Spriel <arend@broadcom.com>
To: Seth Forshee <seth.forshee@canonical.com>
Cc: Michael Tokarev <mjt@tls.msk.ru>,
<brcm80211-dev-list@broadcom.com>,
<linux-wireless@vger.kernel.org>, <netdev@vger.kernel.org>
Subject: Re: BCM4313 & brcmsmac & 3.12: only semi-working?
Date: Tue, 23 Sep 2014 15:50:29 +0200 [thread overview]
Message-ID: <54217AA5.2060803@broadcom.com> (raw)
In-Reply-To: <20140923134419.GA19016@ubuntu-hedt>
On 09/23/14 15:44, Seth Forshee wrote:
> On Tue, Sep 23, 2014 at 02:47:45PM +0200, Arend van Spriel wrote:
>> On 09/23/14 12:04, Michael Tokarev wrote:
>>> 21.09.2014 19:30, Michael Tokarev wrote:
>>>> Namely, after resume, the card does not work. ARP works, ping and
>>>> DNS sometimes/somewhat work, inital TCP connection establisment
>>>> works, but eg http download does not work, it stalls almost
>>>> immediately.
>>>
>>> It does not work at all anymore again. Not only after resume but also
>>> after could power up, it stalls right at start of wget for example.
>>>
>>>> http://www.corpit.ru/mjt/tmp/brcmsmac-4313-trace-20140921.dat.gz -- this
>>>> is a trace collected after resuming from suspend-to-disk
>>>
>>> And here -- http://www.corpit.ru/mjt/tmp/brcmsmac-4313-trace-20140923.dat.gz
>>> is another trace, after insmod brcmutils& brcmsmac, starting trace-cmd record
>>> (with network-manager running in the background), and running a wget on
>>> http://ip-add-ress-of-the-access-point/somefile (which immediately stalls,
>>> showing minimal progress once in a while only).
>>
>> Well. This log and the one from a few days ago only show me
>> interrupt status changes, which does not tell me a lot. I do see
>> that the hardware signals transmit completions, but it is far less
>> informative then I hoped it would be. Maybe I am missing some debug
>> configuration here?
>>
>> Seth, would you know?
>
> Well, there are a few different trace events defined for brcmsmac. This
> would enable the full set:
>
> $ trace-cmd record -e brcmsmac -e brcmsmac_tx -e brcmsmac_msg
>
> It's been quite some time since I used them, but I think brcmsmac_tx is
> quite noisy so you may only want to enable that if you already suspect a
> tx problem. I always find it useful to enable the mac80211 and
> mac80211_msg events too when debugging wireless, and I often enable
> cfg80211 events as well (none of these are especially verbose).
Ah, I read back the email from Sep 21 and it says:
trace-cmd record brcmsmac:* &
I am surprised the capture contains something as -e is missing. Good to
know there are different tracers for the driver.
Regards,
Arend
> Of course all of this depends on having the right config options
> selected. Looks like the relevant options are CONFIG_BRCM_TRACING and
> CONFIG_MAC80211_MESSAGE_TRACING.
>
> Seth
>
next prev parent reply other threads:[~2014-09-23 13:50 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 20:58 BCM4313 & brcmsmac & 3.12: only semi-working? Michael Tokarev
2013-12-28 9:42 ` Arend van Spriel
2013-12-28 12:24 ` Michael Tokarev
2014-01-14 8:59 ` Michael Tokarev
2014-01-14 9:30 ` Nikita N.
2014-02-10 19:16 ` Michael Tokarev
2014-04-19 11:42 ` Michael Tokarev
2014-08-26 5:13 ` Michael Tokarev
2014-08-26 14:56 ` Arend van Spriel
2014-08-26 16:15 ` Michael Tokarev
2014-08-26 21:37 ` Arend van Spriel
2014-08-27 10:02 ` Michael Tokarev
2014-08-27 15:27 ` Arend van Spriel
2014-09-15 8:03 ` Arend van Spriel
2014-09-21 15:30 ` Michael Tokarev
2014-09-23 10:04 ` Michael Tokarev
2014-09-23 12:47 ` Arend van Spriel
2014-09-23 13:44 ` Seth Forshee
2014-09-23 13:50 ` Arend van Spriel [this message]
2014-09-23 14:25 ` Michael Tokarev
2014-09-23 14:28 ` Michael Tokarev
2014-09-23 14:31 ` Seth Forshee
2014-09-23 16:02 ` Michael Tokarev
2014-09-23 17:35 ` Arend van Spriel
2014-09-23 18:10 ` Michael Tokarev
2014-09-24 13:28 ` Arend van Spriel
2014-09-24 14:51 ` Michael Tokarev
2014-09-26 14:26 ` Michael Tokarev
2014-09-26 14:42 ` Arend van Spriel
2014-09-26 15:20 ` Michael Tokarev
2014-09-29 13:44 ` Arend van Spriel
2014-09-29 19:40 ` Maximilian Engelhardt
2014-09-30 10:06 ` Arend van Spriel
2014-10-08 22:19 ` Maximilian Engelhardt
2014-10-09 7:52 ` Arend van Spriel
2014-10-09 8:21 ` Rafał Miłecki
2014-11-17 22:36 ` Maximilian Engelhardt
2014-11-19 9:04 ` Michael Tokarev
2014-11-19 17:54 ` Arend van Spriel
2014-11-19 19:58 ` Michael Tokarev
2014-11-19 21:00 ` Michael Tokarev
2014-11-23 9:43 ` Arend van Spriel
2014-11-26 9:52 ` Michael Tokarev
2014-11-30 12:04 ` Arend van Spriel
2014-12-02 21:40 ` Michael Tokarev
2014-12-03 12:43 ` Arend van Spriel
2014-12-16 16:51 ` Arend van Spriel
2014-12-21 9:58 ` Michael Tokarev
2014-12-21 10:12 ` Arend van Spriel
2014-12-21 10:27 ` Michael Tokarev
2014-12-21 11:38 ` Arend van Spriel
2014-12-21 14:08 ` Maximilian Engelhardt
2014-12-21 14:13 ` Arend van Spriel
2014-12-21 14:24 ` Maximilian Engelhardt
2014-12-21 15:03 ` Arend van Spriel
2014-12-21 17:34 ` Maximilian Engelhardt
2015-03-09 20:54 ` Daniel Glöckner
2015-03-10 21:27 ` Arend van Spriel
2016-03-14 16:41 ` Daniel Glöckner
[not found] ` <54969A46.8000807@msgid.tls.msk.ru>
2014-12-21 10:17 ` Arend van Spriel
2014-12-01 22:06 ` Maximilian Engelhardt
2014-11-19 13:46 ` Arend van Spriel
2014-11-19 13:49 ` Arend van Spriel
-- strict thread matches above, loose matches on Subject: below --
2020-08-24 3:44 Sébastien Le Preste De Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54217AA5.2060803@broadcom.com \
--to=arend@broadcom.com \
--cc=brcm80211-dev-list@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mjt@tls.msk.ru \
--cc=netdev@vger.kernel.org \
--cc=seth.forshee@canonical.com \
/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;
as well as URLs for NNTP newsgroup(s).