Subject: Re: Interrupt sharing - finally
To: None <port-macppc@netbsd.org>
From: Donald Lee <MacPPC1@caution.icompute.com>
List: port-macppc
Date: 03/08/2005 21:23:46
Way back last Dec 7th, I wrote that I would port the code that Tim, Michal
and others wrote to fix the PPC port's interrupt handlers to NetBSD
1.6.2.  (I enclose an email for reference)

I now have my new G4 server in place, and can afford to spend a little time
working on this.  I plan to start with the patch that was posted
on 12/7/2004 by "Michael <macallan18@earthlink.net>".  That plus
a little code examination of differences between extintr.c in
1.6.2 and 2.0-current should enable me to build a kernel that
works.

I have extra incentive to do this now, too.  My new server
(AGP G4, 450 Mhz CPU) is running 1.6.2, and has several anomalies
that make it a little fragile.  I suspect that this patch will
make it a lot better.  We'll see.

I would very much appreciate any words of wisdom from the list if
someone has already done this work and/or can tell me if there are
other gotchas that I should know about.  I will report back on
my findings, which should happen this weekend.

Thanks,

-dgl-


At 9:15 PM -0600 3/8/05, Donald Lee wrote:
>>Hello,
>>
>>> > This sounds really familiar.  I have seen something similar with my
>>> > Cyclades serial card.  I am convinced that interrupts get "lost".
>>> 
>>> Hmmm.  Think that this would also fix the on-board serial port issues 
>>> as well?
>>Please try the attached patch - for me it allowed to transfer a couple of megabytes at 38400bps over tty01 using minicom/zmodem without a glitch - couldn't test higher speeds because AIX thinks it can't get any higher and I don't have another box nearby.
>>
>>good luck
>>Michael
>>
>>Content-Type: application/octet-stream;
>> name="intr.patch"
>>Content-Disposition: attachment;
>> filename="intr.patch"
>>
>>Attachment converted: Quantum18G:intr 4.patch (????/----) (00026B4B)
>
>I will apply this patch to the 1.6.2 kernel and do a build and
>test it with the Cyclades card.  (I don't really have a NetBSD 2.x machine)
>
>It looks to me like the patch should apply relatively cleanly.
>I may not be able to get to this until this weekend...
>
>-dgl-