cvs commit: src/sys/dev/pccbb pccbb.c
Christian Brueffer
chris at unixpages.org
Thu Apr 13 06:16:36 UTC 2006
On Wed, Apr 12, 2006 at 04:22:41PM -0700, Sam Leffler wrote:
> M. Warner Losh wrote:
> >In message: <20060412212843.GH1258 at haakonia.hitnet.RWTH-Aachen.DE>
> > Christian Brueffer <brueffer at FreeBSD.org> 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.
>
> I'm not seeing issues with this code on a t41p here so there may be
> something else that matters.
>
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=0x00000000, state=30000920
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
--
Christian Brueffer chris at unixpages.org brueffer at FreeBSD.org
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060413/0294b158/attachment.pgp
More information about the cvs-src
mailing list