Subject: kern/32587: kernel assertion in ffs_valloc fails
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/21/2006 17:20:00
>Number:         32587
>Category:       kern
>Synopsis:       kernel assertion in ffs_valloc fails
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 21 17:20:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.15
>Organization:
>Environment:
System: NetBSD amd64 3.99.15
Architecture: x86_64
Machine: amd64
>Description:

I installed NetBSD-current on my dual amd64 machine. It's kernel is GENERIC.MP
plus DIAGNOSTIC/DEBUG/LOCK_DEBUG and DDB.

When I tried to check out the netbsd source tree, the

	KASSERT((*vpp)->v_type == VNON);

at line 687 of src/sys/ufs/ffs/ffs_alloc.c fired. Unfortunately DDB page
faulted on most commands, so I couldn't get any further info.

>How-To-Repeat:
No idea, but before I installed the DDB enabled kernel, I had quite a few
crashes - all on cvs operations (since I've not come around do to anything
else on this machine)

>Fix:
n/a