Subject: RE: Problems building -current on sparc20
To: None <port-sparc@netbsd.org>
From: Gary Parker <G.J.Parker@lboro.ac.uk>
List: port-sparc
Date: 02/17/2005 09:09:39
> -----Original Message-----
> From: port-sparc-owner@NetBSD.org 
> [mailto:port-sparc-owner@NetBSD.org] On Behalf Of Johan A.van Zanten
> Sent: 16 February 2005 23:31
> To: gordonzaft@gmail.com
> Cc: port-sparc@netbsd.org
> Subject: Re: Problems building -current on sparc20
> 
> I saw some errors like this when building some things in 
> pkgsrc. (My machine is a dual CPU SPARC-20 running 2.0) A few 
> days later i had a kernel panic:
> 
> /netbsd: panic: malloc: out of space in kmem_map
> 
> 
>  I searched netbsd.org a bit and then added this to my kernel config:
> 
> options NKMEMPAGES_MAX=5120
> 
>  5120 may be more than is needed.  So far, though, i've run 6 
> days without  any problems, so perhaps compiling a custom 
> kernel with an increased  NKMEMPAGES_MAX will help you.

I've got nothing new to add to this but just thought I'd mention that that
fixed exactly the same issue I was having with my SS20, 2xCPU, 256MB RAM.

Gary