From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Wed, 1 Jun 2011 11:24:20 +0200 Subject: b43 error under heavy load In-Reply-To: References: <4CEAB969.20702@lwfinger.net> <1290451982.20888.2.camel@maggie> <4CEAC095.7020706@lwfinger.net> <4DC9853A.1090508@lwfinger.net> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Chris Vine Cc: Juan Carlos Romero , =?UTF-8?Q?Michael_B=C3=BCsch?= , b43-dev , wireless , Larry Finger W dniu 1 czerwca 2011 01:29 u?ytkownik Chris Vine 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 : > 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 -- Rafa?