Subject: UVM "panic malloc: out of space in kmem_map" on mac68k
To: None <port-mac68k@NetBSD.ORG, port-m68k@NetBSD.ORG, current-users@NetBSD.ORG>
From: Ken Nakata <kenn@synap.ne.jp>
List: current-users
Date: 05/05/1998 21:31:29
Hi,

I've built a mac68k kernel with the newly integrated UVM code (kudos
to those who worked hard to get it working!).  It booted fine but when
I tried to run Mew (an Emacs-based mail user agent), I got a panic:

panic malloc: out of space in kmem_map
Stopped at _Debugger+0x6	unlk a6
db>t
_Debugger(...)
_panic(...)
_malloc(...)
_uvm_map_clip_start(...)
_amap_copy(...)
_uvmfault_amapcopy(...)
_uvm_fault(...)
_trap(...)
faultstkadj(...)
_sys_execve(...)
_syscall(...)
_trap0(...)
db>ps
PID	PPID	PGRP	FLAGS
>323	289	323	0x14	emacs
...
289	...		0x4006	emacs
db>

I haven't tried to reproduce the panic, yet.  If further information
(full text of stack trace, for instance) is necessary, please let me
know.  I'll try to reproduce the panic.

This is on a Macintosh Quadra 840av w/MC68040 & 72MB RAM, BTW.

Thanks,

Ken