Subject: panic: malloc: out of space in kmem_map since UVM
To: None <port-mac68k@NetBSD.ORG>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: port-mac68k
Date: 05/08/1998 23:15:53
Since the introduction of UVM on the mac68k port a few days ago, I've had
a couple of panics when I loaded several applications.

A few minutes ago, I got the panic described below when starting a
compilation under Emacs in an X session on my Q610 running NetBSD-current,
with a kernel built from today's sup. Before UVM it has been able to take
significantly greater loads without panic'ing.

Machine: Q610, 52 MB of RAM, NetBSD/mac68k current, kernel as of today,
userland a few days old. 

panic: malloc: out of space in kmem_map

_Debugger(0,0,e1a18,759b24,21388) + 6
_panic(21204,2004,ffff0000,582200,c) + 52
_malloc(3a,1f,0) + 140
_uvm_map_clip_start(583f00,640040,ffff0000) + 4e
_amap_copy(583f00,640040,1,1,ffffc000,ffffc001) + 70
_uvmfault_amapcopy(759c94,ffffc000,8,583f00,3) + 10e
_uvm_fault(583f00,ffffc000,0,3) + 1e8
_trap(8,481,ffffc7dc) + 51a
faultstakadj(759eec,759e30,ffffc7dc,3f30000) + 0
_sys_execve(5b8600,759f88,759f80) + 56a
_syscall(3b) + dc
_trap0() + e

I send this message to the mac68k list in case this is a known problem,
such as an indication of the need to change some parameters in the kernel
configuration file.

Of course, if the problem persists, the next step will be a PR )-:

- Erik Bertelsen