Subject: kern/32549: Kernel assertion failed (vp->v_flag & VONWORKLIST)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <reinoud@NetBSD.13thmonkey.org, org@13thmonkey.org>
List: netbsd-bugs
Date: 01/16/2006 19:10:00
>Number:         32549
>Category:       kern
>Synopsis:       Kernel assertion failed (vp->v_flag & VONWORKLIST)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 16 19:10:00 +0000 2006
>Originator:     Reinoud Zandijk
>Release:        NetBSD 3.99.15
>Organization:
	
>Environment:
	
	
System: NetBSD luiaard.kasbah 3.99.15 NetBSD 3.99.15 (GENERIC) #1: Mon Jan 16 19:52:49 CET 2006  imago@heethoofdje.kasbah:/usr/sources/cvs.netbsd.org/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When in memory tight situations but also just sporadically, the kernel 
panics. It is hard to reproduce but it crashed when i was loading the just 
crashed kernel core image into gdb... wich had crashed on the same panic.

The kernel is compiled with DIAGNOSTIC, DEBUG, LOCK_DEBUG and 
POOL_DIAGNOSTICS.

The trace i managed to extract from the core dump will hopefully shed some 
light.

(gdb) where
#0  0x07f00000 in ?? ()
#1  0xc0455277 in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:750
#2  0xc01a5d44 in db_sync_cmd (addr=0, have_addr=0, count=-1068023354, 
    modif=0xcaf27858 "ÀÅ\214ÀoxòÊ\001") at ../../../../ddb/db_command.c:786
#3  0xc01a5793 in db_command (last_cmdp=0xc082c144, cmd_table=0xc0646660)
    at ../../../../ddb/db_command.c:500
#4  0xc01a54a2 in db_command_loop () at ../../../../ddb/db_command.c:291
#5  0xc01a85c8 in db_trap (type=1, code=0) at ../../../../ddb/db_trap.c:101
#6  0xc04529be in kdb_trap (type=1, code=0, regs=0xcaf27a9c)
    at ../../../../arch/i386/i386/db_interface.c:226
#7  0xc04602dc in trap (frame=0xcaf27a9c)
    at ../../../../arch/i386/i386/trap.c:310
#8  0xc0103075 in calltrap ()
#9  0xc03dee8d in panic (
    fmt=0xc0821b20 "kernel %sassertion \"%s\" failed: file \"%s\", line 
%d")
    at ../../../../kern/subr_prf.c:228
#10 0xc0626d60 in __assert (t=0xc077493c "debugging ", 
    f=0xc07e8be0 "../../../../miscfs/genfs/genfs_vnops.c", l=1222, 
    e=0xc078792c "(vp->v_flag & VONWORKLST)")
    at ../../../../../../lib/libkern/__assert.c:45
#11 0xc0410686 in genfs_putpages (v=0xcaf27ca4)
    at ../../../../miscfs/genfs/genfs_vnops.c:1161
---Type <return> to continue, or q <return> to quit---
#12 0xc040de94 in VOP_PUTPAGES (vp=0xcb363364, offlo=40960, offhi=49152, 
    flags=1) at ../../../../kern/vnode_if.c:1592
#13 0xc0302bd6 in nfs_write (v=0xcaf27e14) at ../../../../nfs/nfs_bio.c:642
#14 0xc040d7fc in VOP_WRITE (vp=0xcb363364, uio=0xcaf27ec4, ioflag=16, 
    cred=0xca3a0dc8) at ../../../../kern/vnode_if.c:462
#15 0xc040b6de in vn_write (fp=0xcb660f80, offset=0xcb660fac, 
uio=0xcaf27ec4, 
    cred=0xca3a0dc8, flags=1) at ../../../../kern/vfs_vnops.c:509
#16 0xc03e2f65 in dofilewrite (l=0xcaee231c, fd=10, fp=0xcb660f80, 
    buf=0x8b95000, nbyte=512, offset=0xcb660fac, flags=1, 
retval=0xcaf27f5c)
    at ../../../../kern/sys_generic.c:365
#17 0xc03e2ebd in sys_write (l=0xcaee231c, v=0xcaf27f64, retval=0xcaf27f5c)
    at ../../../../kern/sys_generic.c:319
#18 0xc045fd43 in syscall_plain (frame=0xcaf27fa8)
    at ../../../../arch/i386/i386/syscall.c:160
(gdb)

	
>How-To-Repeat:
unknown
	
>Fix:
unknown
	

>Unformatted: