Subject: Re: Console cable
To: Donald Lee <MacPPC1@caution.icompute.com>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 12/11/2005 08:41:20
--Signature_Sun__11_Dec_2005_08_41_20_-0500_0jCyr3Aoe0QPVIca
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> I've been running with mods to the cyclades driver.  Most of them are
> fairly minor.  The one that made things work was where I added a
> "manual" call to the interrupt handler from a poll loop in the "upper
> half" of the driver.  Without this, the driver would lock up under
> load.

A similar problem prompted me to look at the interrupt code back then -
a USB card was ok for a mouse but would lock up when trying to talk to a
disk, audio on a yds card would skip and at some point stop and so on.
You also could make it lock up by moving the USB mouse too much while
playing audio.

> I had suspected that it was losing interrupts, but could not
> find a way from within the driver to fix it, short of this hack.

The code dealing with the Grand Central / Heathrow interrupt controller
was largely bogus ( or just incomplete, no way to tell ). Didn't make a
difference between level- and egde-triggered interrupts for instance (
they are hardwired on this hardware and need to be handled slightly
different to keep some of them from getting stuck ) - I don't really
remember the details right now but it should be all over the list
archive ( late 2004 - early 2005 or so ). Newer Macs weren't affected
because they have different interrupt controllers ( OpenPIC or something
closely related, doesn't look a bit like a GC and therefore has its own
driver )

> With the hack, it works fine, except that the performance is
> submarvelous, and it sort-of goes in fits and starts sometimes.
>=20
> I'm anxious to try out 2.1/3.0 now.

Should be much better ;)

have fun
Michael

--Signature_Sun__11_Dec_2005_08_41_20_-0500_0jCyr3Aoe0QPVIca
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ5wshMpnzkX8Yg2nAQJrCAgAnBfQkbLedtOCqMaSUEYQb9jISpncZhad
VopgpSJjWzAoavbeHFrrWEO6sRTxUaeKow0Fof9t6AlhhUhi7MipzUhrw74UqFln
KRGTkSnK7h8k6w+SvjSCvnUUcWKKpY4uFlT4DZXegKVy5nbV2FO2dHXTTWXXpso5
HKfr1IV6S2R9U/L0PAWqpFVTbVJty3+WFd2MzmMKrZ1uSDKa8Hx13wothmiKXHdi
SbmiB2HnM1Y+6NhwtbFD1hOIZMCTLYAcn8qnztfOStp/1UuHqo1urByJk6npSVci
BRh7A2piM9G9YHdN7eTnOCU3Aj5uEkmbdVdj9eO6iFwNjeouzfqcFA==
=Q/0U
-----END PGP SIGNATURE-----

--Signature_Sun__11_Dec_2005_08_41_20_-0500_0jCyr3Aoe0QPVIca--