From owner-cvs-src@FreeBSD.ORG Thu Apr 13 02:33:06 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 43CE316A405 for ; Thu, 13 Apr 2006 02:33:06 +0000 (UTC) (envelope-from niki@totalterror.net) Received: from server300.com (server300.com [216.35.196.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C6AE43D49 for ; Thu, 13 Apr 2006 02:33:04 +0000 (GMT) (envelope-from niki@totalterror.net) Received: (qmail 25069 invoked by uid 502); 13 Apr 2006 02:33:03 -0000 Received: from unknown (HELO ?192.168.2.2?) (nike?d@24.34.92.125) by ns1.server300.com with (RC4-MD5 encrypted) SMTP; 13 Apr 2006 02:33:03 -0000 Message-ID: <443DB886.5010307@totalterror.net> Date: Wed, 12 Apr 2006 22:33:42 -0400 From: Niki Denev User-Agent: Thunderbird 1.5 (X11/20060316) 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> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=F2DB7EB9 Content-Type: text/plain; charset=ISO-8859-1 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 02:33:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. > > Warner CURRENT from Monday here, on ThinkPad X31. I tested only with compact flash memory card, because it is the only that i have now, but on insert i get only this on the console : "Interrupt storm detected on "irq5:"; throttling interrupt source" I've set hw.cbb.debug to 1 before inserting the card but i got nothing more. P.S.: i have the following hw.pci. tunables in boot.conf from a long time ago, i don't know if they can affect this behaviour, but i'm giving them here just in case : hw.pci.do_power_nodriver=3 hw.pci.allow_unsupported_io_range=1 hw.pci.do_powerstate=1 - --niki -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEPbiGHNAJ/fLbfrkRAqymAJ9500hrKKiUg5PFm3FCzWC2XpDcFwCgkYrQ XIPFFJQxkJ2VqxymxA9xIKw= =6bkN -----END PGP SIGNATURE-----