b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Chris Vine <chris@cvine.freeserve.co.uk>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: "Larry Finger" <Larry.Finger@lwfinger.net>,
	wireless <linux-wireless@vger.kernel.org>,
	"Michael Büsch" <mb@bu3sch.de>,
	b43-dev <b43-dev@lists.infradead.org>
Subject: b43 error under heavy load
Date: Wed, 1 Jun 2011 11:48:39 +0100	[thread overview]
Message-ID: <20110601114839.433ae42d@boulder.homenet> (raw)
In-Reply-To: <BANLkTi=TohOdjurvgqZT8=GXKbWfNe4v+w@mail.gmail.com>

On Wed, 1 Jun 2011 11:23:45 +0200
Rafa? Mi?ecki <zajec5@gmail.com> wrote:
> W dniu 1 czerwca 2011 01:29 u?ytkownik Chris Vine
> <chris@cvine.freeserve.co.uk> napisa?:
> > However, fixing this bug reveals something else. ?After about 2
> > hours of streaming on MLB.TV I got this, apparently at random (but
> > this is not a hard error: by disassociating from the AP and
> > reassociating, the rest of the game played fine, and there was no
> > need to load or unload modules):
> >
> > b43-phy0 debug: TX-status contains invalid cookie: 0x0DCE
> > b43-phy0 debug: Out of order TX status report on DMA ring 1.
> > Expected 74, but got 76
> 
> Chris, my first suspicion for this issue is filling the whole TX
> buffer. This could explain what does it happen on high traffic.
> 
> Below there is an idea how we can easily test it. Can you take a look
> at this, and perform some testing?
> 
> 
> 2011/5/10 Rafa? Mi?ecki <zajec5@gmail.com>:
> > It seems to happen only under heavy load... maybe it has something
> > to do with reaching end of the ring (not whole ring, just end of
> > free slots)?
> >
> > Did you try verbose debugging? I wonder if there is any relation
> > between Out of order and:
> > if (b43_debug(dev, B43_DBG_DMAVERBOSE)) {
> > ? ? ? ?b43dbg(dev->wl, "Stopped TX ring %d\n", ring->index);
> > }
> >
> > Could you try it?
> 
> AFAIK to enable this debugging you only need to:
> echo 1 > /sys/kernel/debug/b43/phy0/debug_dmaverbose

I don't have a /sys/kernel/debug directory with a running 3.0.0-rc1
kernel, so it appears that b43 debugging (which I do have enabled)
doesn't use it.

On the question of whether it is a firmware problem, I have not
experienced a similar issue with the wl driver, but the firmware that
b43 uses from broadcom-wl-4.178.10.4 seems to be an earlier version, so
that does not rule out the firmware: the earliest hybrid-portsrc wl
driver I have used is v5.10.91.9.3.

Chris

  parent reply	other threads:[~2011-06-01 10:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 18:41 b43 error under heavy load Larry Finger
2010-11-22 18:53 ` Michael Büsch
2010-11-22 19:12   ` Larry Finger
2011-05-10  5:08     ` Rafał Miłecki
2011-05-10 18:34       ` Larry Finger
2011-05-10 21:19         ` Rafał Miłecki
2011-06-01  9:23           ` Rafał Miłecki
2011-06-01  9:24             ` Rafał Miłecki
2011-06-01 10:48             ` Chris Vine [this message]
2011-06-01 10:56               ` Rafał Miłecki
2011-06-01 12:08                 ` Chris Vine
2011-06-01 12:25                   ` Rafał Miłecki
2011-06-01 15:01                     ` Chris Vine
2011-06-01 15:42                       ` Rafał Miłecki
2011-06-01 17:49                         ` Chris Vine
2011-06-01 18:03                           ` Rafał Miłecki
2011-06-01 18:09                             ` Chris Vine
2011-06-01 18:10                               ` Rafał Miłecki
2011-07-26  9:28                                 ` Chris Vine
2011-08-14 11:10                           ` Rafał Miłecki
2011-08-14 11:11                             ` Rafał Miłecki
2011-08-14 20:46                               ` Chris Vine
2011-08-14 20:54                                 ` Rafał Miłecki
2011-08-14 21:19                                   ` Chris Vine

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=20110601114839.433ae42d@boulder.homenet \
    --to=chris@cvine.freeserve.co.uk \
    --cc=Larry.Finger@lwfinger.net \
    --cc=b43-dev@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mb@bu3sch.de \
    --cc=zajec5@gmail.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).