Subject: current dies on SS20; perhaps a MAXBSIZE problem?
To: None <port-sparc@NetBSD.ORG>
From: Aaron Brown <>
List: current-users
Date: 01/25/1997 19:40:20
Hi all,

I've finally gotten around to updating one of my systems to -current (my 
last kernel build on this machine was 1.2A, from early November 1996).
The machine is a Sparc-20 with 128MB of main memory. I've built essentially
a GENERIC kernel with all the non-sun4m stuff snipped out. When I try to
build it, I get:

	panic: cluster_rbuild: too much memory

just after /etc/rc begins to start the network (i.e. it is past init, and
in the middle of going multi-user).

I can't get a dump since the rest of my userland is based on libkvm.old,
and I don't really want to upgrade userland until I'm sure the kernel will 
boot. Looking at the place where the message is generated (in 
kern/vfs_cluster.c, line 352), it seems to have to do with the value of
MAXBSIZE; since I've heard that raising MAXBSIZE to MAXPHYS caused problems
in other ports (like sun4c), I tried #defining it to 16384 in param.h (and
rebuilding the kernel), but the problem still happens. 

Has anyone seen this? Any idea what's going on?