Subject: kern/32072: Assertion failure on NFS writes
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <Peter.Bex@student.kun.nl>
List: netbsd-bugs
Date: 11/14/2005 19:53:00
>Number:         32072
>Category:       kern
>Synopsis:       Kernel crashes on NFS writes because of a failed assertion
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 14 19:53:00 +0000 2005
>Originator:     Peter Bex
>Release:        NetBSD 3.99.11
>Organization:
>Environment:
	
	
System: NetBSD langly.nvie.com 3.99.11 NetBSD 3.99.11 (LANGLY) #0: Tue Nov 8 08:20:27 CET 2005 sjamaan@langly.nvie.com:/usr/src/sys/arch/i386/compile/LANGLY i386
Architecture: i386
Machine: i386
>Description:
	This PR *might* be a duplicate or related to kern/28367.

	I've experienced this bug twice since upgrading from 2.0 to -current,
	but I'm not sure what triggers it.  It appears to happen randomly.
	It is quite possible this problem is in 3.0 as well.

	Backtrace:
	#0  0x1fef0000 in ?? ()
	(gdb) bt
	#0  0x1fef0000 in ?? ()
	#1  0xc042b337 in cpu_reboot (howto=256, bootstr=0x0)
	    at ../../../../arch/i386/i386/machdep.c:752
	#2  0xc038ba18 in panic (
	    fmt=0xc07d7340 "kernel %sassertion \"%s\" failed: file \"%s\", line %d")
	#3  0xc05f6334 in __assert (t=0xc073f414 "debugging ", 
	    f=0xc079efa0 "../../../../miscfs/genfs/genfs_vnops.c", l=1288, 
	    e=0xc074e221 "(vp->v_flag & VONWORKLST)")
	    at ../../../../../../lib/libkern/__assert.c:45
	#4  0xc03bc654 in genfs_putpages (v=0xcbe82cb4) at x86/intr.h:160
	#5  0xc03b95c4 in VOP_PUTPAGES (vp=0xcb84e9e0, offlo=983040, offhi=1015808, 
	    flags=1) at ../../../../kern/vnode_if.c:1728
	#6  0xc02c08aa in nfs_write (v=0xcbe82e24) at ../../../../nfs/nfs_bio.c:639
	#7  0xc03b8f2c in VOP_WRITE (vp=0xcb84e9e0, uio=0xcbe82ec4, ioflag=1, 
	    cred=0xcbad1d78) at ../../../../kern/vnode_if.c:499
	#8  0xc03b6e40 in vn_write (fp=0xcbbc48c8, offset=0xcbbc48f0, uio=0xcbe82ec4, 
	    cred=0xcbad1d78, flags=1) at ../../../../kern/vfs_vnops.c:506
	#9  0xc038f9dd in dofilewrite (p=0xcbddae58, fd=9, fp=0xcbbc48c8, 
	    buf=0x88cf000, nbyte=512, offset=0xcbbc48f0, flags=1, retval=0xcbe82f5c)
	    at ../../../../kern/sys_generic.c:359
	#10 0xc038f94d in sys_write (l=0xcba14088, v=0xcbe82f64, retval=0xcbe82f5c)
	    at ../../../../kern/sys_generic.c:315
	#11 0xc043545e in syscall_plain (frame=0xcbe82fa8)
	    at ../../../../arch/i386/i386/syscall.c:157
	(gdb)

	I'll be happy to provide the coredump & kernel on request.

>How-To-Repeat:
	Unknown
>Fix:
	N/A

>Unformatted: