From owner-cvs-all@FreeBSD.ORG Thu Apr 13 07:32:26 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAC1316A403; Thu, 13 Apr 2006 07:32:25 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2710143D5D; Thu, 13 Apr 2006 07:32:16 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IXN00008GXQCQ@ms-dienst.rz.rwth-aachen.de>; Thu, 13 Apr 2006 09:32:15 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Thu, 13 Apr 2006 09:32:14 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.1/8.13.1/1) with ESMTP id k3D7WELq021112; Thu, 13 Apr 2006 09:32:14 +0200 Received: from milan.hitnet.rwth-aachen.de ([137.226.181.144] helo=haakonia.hitnet.rwth-aachen.de) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FTwJK-0003sQ-AF; Thu, 13 Apr 2006 09:32:14 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id EC81F3F42F; Thu, 13 Apr 2006 09:32:13 +0200 (CEST) Date: Thu, 13 Apr 2006 09:32:13 +0200 From: Christian Brueffer In-reply-to: <443DB886.5010307@totalterror.net> To: Niki Denev Message-id: <20060413073213.GB1266@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary="lEGEL1/lMxI0MVQ2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-PRERELEASE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <200603300425.k2U4PjJH099559@repoman.freebsd.org> <20060412212843.GH1258@haakonia.hitnet.RWTH-Aachen.DE> <20060412.160552.35796990.imp@bsdimp.com> <443DB886.5010307@totalterror.net> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, "M. Warner Losh" Subject: Re: cvs commit: src/sys/dev/pccbb pccbb.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 07:32:26 -0000 --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 12, 2006 at 10:33:42PM -0400, Niki Denev wrote: > 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 > > : >=20 > > : > FreeBSD src repository > > : >=20 > > : > Modified files: > > : > sys/dev/pccbb pccbb.c=20 > > : > 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 ins= tead > > : > reads garbage (usually 0xffffffff, but other times other things). > > : > This totally violates the PCI spec, but happens rarely enough tha= t 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. > > : > =20 > > : > Problem reported by many, but sam@ gave me this workaround after > > : > diagnosing the problem. > > : > =20 > > :=20 > > : 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. > > :=20 > > : What kind of debug info can I provide? > >=20 > > A Thinkpad T41p. :-) > >=20 > > Failing that, can you set hw.cbb.debug=3D1 and provide me with the > > output. > >=20 > > Warner >=20 > 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 mo= re. >=20 > 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 : >=20 > hw.pci.do_power_nodriver=3D3 > hw.pci.allow_unsupported_io_range=3D1 > hw.pci.do_powerstate=3D1 >=20 Good to see that someone can reproduce this. Does it work again when you back this change out? - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEPf59bHYXjKDtmC0RAvyLAJ0R3LL2qJYqDzxd8bTGMP5quOrBogCgvNeW LzMd2c1+f4YXh9E2LUrpE7k= =1K57 -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2--