Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751129AbWICOAw (ORCPT ); Sun, 3 Sep 2006 10:00:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751155AbWICOAw (ORCPT ); Sun, 3 Sep 2006 10:00:52 -0400 Received: from mtiwmhc13.worldnet.att.net ([204.127.131.117]:49116 "EHLO mtiwmhc13.worldnet.att.net") by vger.kernel.org with ESMTP id S1751129AbWICOAv (ORCPT ); Sun, 3 Sep 2006 10:00:51 -0400 Message-ID: <44FAE00B.6030701@lwfinger.net> Date: Sun, 03 Sep 2006 09:00:43 -0500 From: Larry Finger User-Agent: Thunderbird 1.5.0.5 (X11/20060725) MIME-Version: 1.0 To: Miles Lane CC: Michael Buesch , Andrew Morton , LKML , linville@tuxdriver.com Subject: Re: 2.6.18-rc5-mm1 -- bcm43xx: Out of DMA descriptor slots! References: <200609031433.49658.mb@bu3sch.de> In-Reply-To: <200609031433.49658.mb@bu3sch.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1395 Lines: 37 Michael Buesch wrote: > On Sunday 03 September 2006 11:18, Miles Lane wrote: >> Michael, I think this is related to your code (bcm43xx_dma.c). It is >> quite possible that the bug isn't in your code, but rather in the >> general management of DMA. > > Please try latest wireless-2.6 tree. I think it has a bugfix for this. There is a fix (commit 653d5b55c0125dca97a420b9a5e77fad7adbf3f0) for mac_suspended assertions in the latest wireless-2.6. If you just want that fix, use the following: Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c =================================================================== --- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c @@ -3349,6 +3349,8 @@ memset(bcm->dma_reason, 0, sizeof(bcm->dma_reason)); bcm->irq_savedstate = BCM43xx_IRQ_INITIAL; + bcm->mac_suspended = 1; + /* Noise calculation context */ memset(&bcm->noisecalc, 0, sizeof(bcm->noisecalc)); If this patch is already in your code, and you are still getting the assertions, please let me know. Larry -- VGER BF report: H 0.427049 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/