Subject: Re: Recent macppc kernels hang under load
To: None <port-macppc@netbsd.org>
From: Ian Fry <Ian.Fry@sophos.com>
List: port-macppc
Date: 09/15/2003 10:22:35
On Sun, Aug 31, 2003 at 03:06:12AM -0500, Dave Huang wrote:
> On Sat, Aug 30, 2003 at 03:58:13PM -0700, Chuck Silvers wrote:
> > I take it that this used to work before 3 or 4 weeks ago...
> > if so, you could binary search for the check-in that broke it.
> Well, I'd get random SIGILLs, but the kernel never died... 

I've seen this too, when trying to build Mozilla on my G3 iBook - the
build runs for maybe 10 or 15 minutes, and then then X restarts (it looks
like the X server gets killed, rather than any of the compiler processes).
I turned on the logsigexit sysctl and that reported SIGILL killed the
process.

> I did the binary search, and I guess I was misremembering when I said I
> first noticed the problem 3 or 4 weeks ago. Looks like it started around
> Aug 12... perhaps it was Matt Thomas's "cleanup/rework cpu_switch*,
> switch_exit, Idle routine" in sys/arch/powerpc/powerpc?

I can't remember when this started happening, but the only time I see this
is trying to build Mozilla - just a plain 'make' is enough to trigger the
problem for me.

Is there anything I can do to help track this down? I'll try adding DEBUG
and DIAGNOSTIC to my kernel tonight and give it another go.

Ian.