Subject: port-mac68k/29052: current 2.99.14 crashes on startup with mac68k
To: None <port-mac68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <edoneel@sdf.lonestar.org>
List: netbsd-bugs
Date: 01/23/2005 14:45:00
>Number:         29052
>Category:       port-mac68k
>Synopsis:       current 2.99.14 crashes on startup with mac68k
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 23 14:45:00 +0000 2005
>Originator:     Bruce ONeel
>Release:        2.99.14
>Organization:
None what so ever
>Environment:
2.99.14 (INSTALLSBC) mac68k
>Description:
panic: kernel diagnostic at line 477 of uvm_map.c

!VM_MAP_USE_KMAPENT(map) || (old_entry->flags & UVM_MAP_QUANTUM) || !UMR_EMPTY(umr)

A print before the KASSERT shows that

!VM_MAP_USE_KMAPENT(map) is 0
old_entry->flags is 5
UVM_MAP_QUANTUM is 8
!UMR_EMPTY(umr) is 0

A stack traceback shows

uvm_map_clip_start(3e31b8, 3e3370, 6000, 0) at 0
uvm_map_protect(3e31b8,6000, 127000, 5,1,149573, 459f74, 9,0,1e24000) + e4
cpu_startup(12ea43, 14b3c0 a1600, 9de0, 80040322) + 18c
main(1e00280, 2327430, 8bd46) + 50

This happens right after the lines:

total memory = 36864 KB
avail memory = 30864 KB
>How-To-Repeat:
Boot INSTALLSBC
>Fix: