From owner-cvs-src@FreeBSD.ORG Thu Apr 13 16:25:15 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A85FE16A400; Thu, 13 Apr 2006 16:25:15 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 501F743D45; Thu, 13 Apr 2006 16:25:15 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k3DGPCOV048396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Apr 2006 09:25:13 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <443E7B68.50807@errno.com> Date: Thu, 13 Apr 2006 09:25:12 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5 (X11/20060210) MIME-Version: 1.0 To: "M. Warner Losh" References: <200603300425.k2U4PjJH099559@repoman.freebsd.org> <20060412212843.GH1258@haakonia.hitnet.RWTH-Aachen.DE> <20060412.160552.35796990.imp@bsdimp.com> In-Reply-To: <20060412.160552.35796990.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, brueffer@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/pccbb pccbb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 16:25:15 -0000 M. Warner Losh wrote: > In message: <20060412212843.GH1258@haakonia.hitnet.RWTH-Aachen.DE> > Christian Brueffer writes: > : On Thu, Mar 30, 2006 at 04:25:45AM +0000, Warner Losh wrote: > : > imp 2006-03-30 04:25:45 UTC > : > > : > FreeBSD src repository > : > > : > Modified files: > : > sys/dev/pccbb pccbb.c > : > Log: > : > On some laptops, under very high loads, the socket event register read > : > in the ISR doesn't read the actual socket event register, but instead > : > reads garbage (usually 0xffffffff, but other times other things). > : > This totally violates the PCI spec, but happens rarely enough that a > : > workaround is in order. This adds one test when we have a real > : > interrupt to service (which is very rare), and doesn't affect the > : > usualy 'nothing to see here' case at all. > : > > : > Problem reported by many, but sam@ gave me this workaround after > : > diagnosing the problem. > : > > : > : This breaks pccard/cardbus support on my Thinkpad T41p (confirmed by > : backing this change out). With this change, I just get an "Interrupt > : storm detected on irq 5; throttling" message. > : > : What kind of debug info can I provide? > > A Thinkpad T41p. :-) > > Failing that, can you set hw.cbb.debug=1 and provide me with the > output. We should just back this out until we can resolve the issue. For other folks: the change was originally done for an hp nx6125 laptop where running a wireless card in monitor mode would cause spontaneous interface detach's under load. It sounds like the root cause is elsewhere. Sam