Subject: Re: ohare interrupt problem (Re: HEADS UP: merging the newlock2 branch)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 02/10/2007 16:07:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Feb 10, 2007, at 14:54, Izumi Tsutsui wrote:

> During testing rtl8169 driver on my Apus2000 (603ev with Typhoon
> (Alchemy variant) based board), TX and RX interrupts from re(4)
> seem to stop on heavy load like ttcp.
> But once I put any character from serial terminal or hit ADB
> keyboard (even on serial console), TX/RX start again.
>
> I'm not sure if this is re(4) related problem or not,
> but at least it works fine on i386 and alpha.

Not likely re-related IMHO.

> With a quick glance your extintr.c changes seems okay,
> but I'll check how re(4) works on sources before the change.

Likely the same - I suspect the interrupt re-enable code. Looks like 
either it's missing interrupts that fired while unblocking, could be a 
race there, or it didn't run the appropriate handlers for pending 
interrupts when lowering spl.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRc4z9spnzkX8Yg2nAQLXvQf+OGqmWJGjPR8YNnLIn8DyswWhP2QybWcV
RHNjYZ7KOTjjEA0O6J7MEGJQAiy4Ao7TCQV2Ea3nMTKTFKC8wIADNkGSlT4vnq/1
BCWYSmcsA7fw9qRSulPgt5yap1ASz10rFfsQbMTwA3PhCrzIx69uy8k+xBv6a3FD
YJbEjDFuk1lyU1Y5x/AEQb2xIEZdDVA33vcJ2vm+g2QY56cQPS7XuKM4kKK/Nuyp
OEmJ340RMsSH3X9pLlQ/DM6zaRnJn6QHbrvdzZBB8boBzCqNPiKpti7b3NnUZXrt
MY90I+wynN61OgMfx+WaJ72U7zC5Ra4QpSIK1sP3xMDaC2IR8Mubvw==
=fsuH
-----END PGP SIGNATURE-----