From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Wed, 1 Jun 2011 14:25:23 +0200 Subject: b43 error under heavy load In-Reply-To: <20110601130842.077da1c3@boulder.homenet> References: <4CEAB969.20702@lwfinger.net> <1290451982.20888.2.camel@maggie> <4CEAC095.7020706@lwfinger.net> <4DC9853A.1090508@lwfinger.net> <20110601114839.433ae42d@boulder.homenet> <20110601130842.077da1c3@boulder.homenet> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Chris Vine Cc: Larry Finger , wireless , =?UTF-8?Q?Michael_B=C3=BCsch?= , b43-dev 2011/6/1 Chris Vine : > On Wed, 1 Jun 2011 12:56:22 +0200 > Rafa? Mi?ecki wrote: >> 2011/6/1 Chris Vine : >> > On Wed, 1 Jun 2011 11:23:45 +0200 >> > Rafa? Mi?ecki wrote: >> >> 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. >> >> mount -t debugfs none /sys/kernel/debug/ > > Ah, so I need to compile in debugfs. ?That isn't/wasn't necessary for > the DMA error debugging. ?I am surprised that debugfs enables you to > alter kernel debugging levels on the fly (I thought it was a > passive logging mechanism for kernel state), but you live and learn. Removing following if () condition: if (b43_debug(dev, B43_DBG_DMAVERBOSE)) { will work fine as well ;) You can just leave: b43dbg(dev->wl, "Stopped TX ring %d\n", ring->index); without condition around it (and make sure to enable B43 debugging). > I will compile in debugfs, but I don't expect to have any rapid results > for you. With 3 and a half hours of streaming yesterday it happened > once. ?I won't be able to do much testing by way of transferring files > over the LAN for a while either (I imagine that would provide greater > stress testing). I think you should easily get this error by transmitting. Streaming some video is mostly receiving. Just putting some random (ftp/sftp/iperf) server in the network would make the trick. -- Rafa?