Subject: Re: NEW_PIPE problems with -current on sparc: ... are gone!
To: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc
Date: 01/26/2002 00:24:56
On Fri, Jan 25, 2002 at 07:38:10PM +0100, Markus W Kilbinger wrote:
> Hi and great!
> 
> > --- pmap.c      2001/12/15 09:00:50     1.201
> > +++ pmap.c      2002/01/24 16:50:34     1.202
> > @@ -1,4 +1,4 @@
> > -/*     $NetBSD: pmap.c,v 1.201 2001/12/15 09:00:50 chs Exp $ */
> > +/*     $NetBSD: pmap.c,v 1.202 2002/01/24 16:50:34 pk Exp $ */
> > 
> >  /*
> >   * Copyright (c) 1996
> > @@ -5667,7 +5667,7 @@
> > 	  int vr, vs, i, s;
> > 	  int pteproto, ctx;
> > 
> > -       pteproto = PG_V | PMAP_T2PTE_4(pa);
> > +       pteproto = PG_S | PG_V | PMAP_T2PTE_4(pa);
> > 	  pa &= ~PMAP_TNC_4;
> > 	  pteproto |= atop(pa) & PG_PFNUM;
> > 	  if (prot & VM_PROT_WRITE)
> 
> ... did it for me! It also solved some other panics and hangs of my
> ipx during large fs jobs.

Cool, I'll have to try on my IPX too.
Also, with this change I don't get the random core dumps on my IPC any more
(I've been able to make it build a kernel, where it would get a core dump from
ccp or cc1 after about 50 files compiled :)

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--