From simon@comsys.ntu-kpi.kiev.ua  Fri Nov  4 12:40:28 2005
Return-Path: <simon@comsys.ntu-kpi.kiev.ua>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F2B9116A429
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Nov 2005 12:40:27 +0000 (GMT)
	(envelope-from simon@comsys.ntu-kpi.kiev.ua)
Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 491A143D46
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Nov 2005 12:40:23 +0000 (GMT)
	(envelope-from simon@comsys.ntu-kpi.kiev.ua)
Received: from pm513-1.comsys.ntu-kpi.kiev.ua (pm513-1.comsys.ntu-kpi.kiev.ua [10.18.52.101])
	(authenticated bits=0)
	by comsys.ntu-kpi.kiev.ua (8.12.10/8.12.10) with ESMTP id jA4Co2cp092959
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Nov 2005 14:50:03 +0200 (EET)
Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001)
	id DFF185C028; Fri,  4 Nov 2005 14:40:20 +0200 (EET)
Message-Id: <20051104124019.GA1405@pm513-1.comsys.ntu-kpi.kiev.ua>
Date: Fri, 4 Nov 2005 14:40:19 +0200
From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To: FreeBSD-gnats-submit@freebsd.org
Subject: panic: softdep_setup_inomapdep: found inode on 5.4-STABLE

>Number:         88487
>Category:       kern
>Synopsis:       [panic] softdep_setup_inomapdep: found inode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 12:50:13 GMT 2005
>Closed-Date:    Tue Aug 31 15:10:10 UTC 2010
>Last-Modified:  Tue Aug 31 15:10:10 UTC 2010
>Originator:     Andrey Simonenko
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:

FreeBSD 5.4-STABLE i386 (installed one month ago), not loaded system,
rebooted everyday in the morning, has several NFS exported file systems.

>Description:

Unread portion of the kernel message buffer:
panic: softdep_setup_inomapdep: found inode
Uptime: 4h24m34s
Dumping 511 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496

#0  doadump () at pcpu.h:160
160		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:160
#1  0xc04cf850 in boot (howto=260)
    at /Src/FreeBSD-5/src/sys/kern/kern_shutdown.c:412
#2  0xc04cfae4 in panic (fmt=0xc067818f "softdep_setup_inomapdep: found inode")
    at /Src/FreeBSD-5/src/sys/kern/kern_shutdown.c:568
#3  0xc05c262f in softdep_setup_inomapdep (bp=0xcbc0dcb4, ip=0x0, 
    newinum=755295) at /Src/FreeBSD-5/src/sys/ufs/ffs/ffs_softdep.c:1290
#4  0xc05b591e in ffs_nodealloccg (ip=0xc1f29a64, cg=32, ipref=Unhandled dwarf expression opcode 0x93
)
    at /Src/FreeBSD-5/src/sys/ufs/ffs/ffs_alloc.c:1634
#5  0xc05b47a8 in ffs_hashalloc (ip=0xc1f29a64, cg=32, pref=754436, 
    size=33152, allocator=0xc05b5630 <ffs_nodealloccg>)
    at /Src/FreeBSD-5/src/sys/ufs/ffs/ffs_alloc.c:1178
#6  0xc05b3f63 in ffs_valloc (pvp=0xc228ca50, mode=33152, cred=0xc24dd000, 
    vpp=0xd69b28ec) at /Src/FreeBSD-5/src/sys/ufs/ffs/ffs_alloc.c:880
#7  0xc05d9bc8 in ufs_makeinode (mode=33152, dvp=0xc228ca50, vpp=0xd69b2be8, 
    cnp=0xd69b2bfc) at /Src/FreeBSD-5/src/sys/ufs/ufs/ufs_vnops.c:2394
#8  0xc05d636e in ufs_create (ap=0xd69b2a70)
    at /Src/FreeBSD-5/src/sys/ufs/ufs/ufs_vnops.c:197
#9  0xc05da1e3 in ufs_vnoperate (ap=0x0)
    at /Src/FreeBSD-5/src/sys/ufs/ufs/ufs_vnops.c:2827
#10 0xc052d5a0 in vn_open_cred (ndp=0xd69b2bd4, flagp=0xd69b2cd4, cmode=384, 
    cred=0xc24dd000, fdidx=0) at vnode_if.h:118
#11 0xc052d42a in vn_open (ndp=0x0, flagp=0xd69b2cd4, cmode=384, fdidx=11)
---Type <return> to continue, or q <return> to quit---
    at /Src/FreeBSD-5/src/sys/kern/vfs_vnops.c:91
#12 0xc05273c3 in kern_open (td=0xc1986c00, path=0x0, pathseg=UIO_USERSPACE, 
    flags=1539, mode=384) at /Src/FreeBSD-5/src/sys/kern/vfs_syscalls.c:937
#13 0xc05272d8 in open (td=0xc1986c00, uap=0x0)
    at /Src/FreeBSD-5/src/sys/kern/vfs_syscalls.c:906
#14 0xc0632b73 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077940956, tf_esi = -1077940976, tf_ebp = 136391420, tf_isp = -694473372, tf_ebx = 4, tf_edx = 4, tf_ecx = 1, tf_eax = 5, tf_trapno = 22, tf_err = 2, tf_eip = 672775119, tf_cs = 31, tf_eflags = 530, tf_esp = 136391264, tf_ss = 47})
    at /Src/FreeBSD-5/src/sys/i386/i386/trap.c:1009
#15 0xc0622b2f in Xint0x80_syscall ()
    at /Src/FreeBSD-5/src/sys/i386/i386/exception.s:201
#16 0x0000002f in ?? ()
#17 0x0000002f in ?? ()
#18 0x0000002f in ?? ()
#19 0xbfbfed24 in ?? ()
#20 0xbfbfed10 in ?? ()
#21 0x08212afc in ?? ()
#22 0xd69b2d64 in ?? ()
#23 0x00000004 in ?? ()
#24 0x00000004 in ?? ()
#25 0x00000001 in ?? ()
---Type <return> to continue, or q <return> to quit---
#26 0x00000005 in ?? ()
#27 0x00000016 in ?? ()
#28 0x00000002 in ?? ()
#29 0x2819bbcf in ?? ()
#30 0x0000001f in ?? ()
#31 0x00000212 in ?? ()
#32 0x08212a60 in ?? ()
#33 0x0000002f in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x1965c000 in ?? ()
#39 0xc25de710 in ?? ()
#40 0xc1986c00 in ?? ()
#41 0xd69b2c9c in ?? ()
#42 0xd69b2c84 in ?? ()
#43 0xc1592a80 in ?? ()
#44 0xc04df483 in sched_switch (td=0xbfbfed10, newtd=0x4, flags=Cannot access memory at address 0x8212b0c
)
    at /Src/FreeBSD-5/src/sys/kern/sched_4bsd.c:881
Previous frame inner to this frame (corrupt stack?)

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Thu Aug 19 15:12:27 UTC 2010 
State-Changed-Why:  
Can you still reproduce this on recent FreeBSD versions? 


Responsible-Changed-From-To: freebsd-bugs->jh 
Responsible-Changed-By: jh 
Responsible-Changed-When: Thu Aug 19 15:12:27 UTC 2010 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88487 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Tue Aug 31 15:10:09 UTC 2010 
State-Changed-Why:  
Submitter considers this resolved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88487 
>Unformatted:
