Subject: Re: rz23s anybody?
To: Simon Burge <>
From: Thor Lancelot Simon <>
List: port-pmax
Date: 08/23/1998 21:36:30
On Mon, Aug 24, 1998 at 09:52:22AM +1000, Simon Burge wrote:
> On Wed, 19 Aug 1998 16:24:48 -0700 (PDT)  "Aaron J. Grier" wrote:
> > I already have four rz23s I'm trying to get into a ccd, if I can keep
> > 1.3.2 from spontaneously rebooting under heavy disk load.
> Are you seeing messages like:
> 	fhfss /netbsd: panic: malloc: out of space in kmem_map
> or
> 	fhfss /netbsd: mb_map full
> in the messages file or on the console?  The symptons of the panic was
> what you'd call a "spontaneously reboot".  I had this problem when
> building a ccd with 6x RZ28's, and solved it by added the following
> lines to my kernel's config file:
> 	options 	"NKMEMCLUSTERS=3072"	# 4K pages in kernel malloc pool
> 	options 	"NMBCLUSTERS=6144"	# extra mbuf clusters

CCD doesn't allocate anything out of mb_map, so changing NMBCLUSTERS is
extremely unlikely to do any good!

Changing NKMEMCLUSTERS may help.  It would probably help more to use the pool
allocator for CCD buffers instead of allocating them with malloc(); I'm not
at a location where I have a NetBSD source tree, so I can't easily check if
that's been done in -current.