Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 08:16:32 +0200
From:      Christian Brueffer <chris@unixpages.org>
To:        Sam Leffler <sam@errno.com>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: cvs commit: src/sys/dev/pccbb pccbb.c
Message-ID:  <20060413061632.GA1266@haakonia.hitnet.RWTH-Aachen.DE>
In-Reply-To: <443D8BC1.1060200@errno.com>
References:  <200603300425.k2U4PjJH099559@repoman.freebsd.org> <20060412212843.GH1258@haakonia.hitnet.RWTH-Aachen.DE> <20060412.160552.35796990.imp@bsdimp.com> <443D8BC1.1060200@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 12, 2006 at 04:22:41PM -0700, Sam Leffler wrote:
> M. Warner Losh wrote:
> >In message: <20060412212843.GH1258@haakonia.hitnet.RWTH-Aachen.DE>
> >            Christian Brueffer <brueffer@FreeBSD.org> 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=
=20
> >read
> >: >   in the ISR doesn't read the actual socket event register, but inst=
ead
> >: >   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.
> >: >  =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?
> >
> >A Thinkpad T41p. :-)
> >
> >Failing that, can you set hw.cbb.debug=3D1 and provide me with the
> >output.
>=20
> I'm not seeing issues with this code on a t41p here so there may be=20
> something else that matters.
>=20

I sent the debug output to Warner privately.  Basically it works when
the card is plugged in during system startup but not when I plug it in
afterwards (doesn't produce any debug messages then either).

This is the output when the card is plugged in during startup:

Status is 0x30000186
Status is 0x30000920
cbb1: card inserted: event=3D0x00000000, state=3D30000920
cbb1: cbb_power: 3V
Interrupt storm detected on "irq5:"; throttling interrupt source
cardbus1: <network, ethernet> at device 0.0 (no driver attached)
cbb1: cbb_power: 0V

- Christan

--=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

--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD4DBQFEPezAbHYXjKDtmC0RAl0SAJ0R7+71/3o+6tRjegy9cw2Osp6lHwCY+aU/
YgRHkvR11GQNLA+xo71HKw==
=KLLd
-----END PGP SIGNATURE-----

--vkogqOf2sHV7VnPd--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060413061632.GA1266>