Subject: kern/32665: kernel diagnostic assertion in uvm_fault.c
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 01/29/2006 15:00:01
>Number:         32665
>Category:       kern
>Synopsis:       kernel diagnostic assertion in uvm_fault.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 29 15:00:01 +0000 2006
>Originator:     Alan Barrett
>Release:        NetBSD 3.99.15
Not much
NetBSD 3.99.15
Architecture: i386
Machine: i386
Using a kernel compiled from -current as of today (2006-12-29),
I get the following panic:

panic: kernel diagnostic assertion "opg->uobject == ufi->entry->object.uvm_obj"
failed: file "/wherever/src/sys/uvm/uvm_fault.c", line 573
Stopped in pid 307.1 (syslogd) [...]

Here's the stack trace:
__main(c053d0d3,c0596960,23d,c0596a20,0) at netbsd:__main
uvmfault_promote(cb25fee4,0,c0eeee80,cb25fe58,cb25fe5c) at netbsd:uvmfault_promote+0x1bb
uvm_fault(ca848b60,bbbdc000,0,2,c5) at netbsd:uvm_fault+0x923
trap() at netbsd:trap+0x33a
--- trap (number 6) ---

Perhaps my use of cgd and nullfs mounts is relevant.

/ is a small ffs partition.
/cgd1a is a large cgd partition
Several top-level directories are nullfs mounts, including:
/cgd1a/etc on /etc type null
/cgd1a/var on /var type null
/cgd1a/usr on /usr type null