Re: panic: softdep_deallocate_dependencies: dangling deps

From: Jeff Roberson <jroberson_at_chesapeake.net>
Date: Sun, 31 Aug 2003 05:28:10 -0400 (EDT)
On Sun, 31 Aug 2003, Christian Brueffer wrote:

> Hi,
>
> got a panic on my server tonight.  Coredump available for further debuggung.
>
> FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Thu Aug 28 00:16:19 CEST 2003
> chris_at_haakonia.hitnet.rwth-aachen.de:/usr/obj/usr/src/sys/LORIEN  i386

When are your srouces from?  Specifically, what version of vfs_bio.c do
you have?

Thanks,
Jeff

>
>
> GNU gdb 5.3 (FreeBSD)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-portbld-freebsd5.1"...
> panic: softdep_deallocate_dependencies: dangling deps
> panic messages:
> ---
> panic: softdep_deallocate_dependencies: dangling deps
> cpuid = 1; lapic.id = 01000000
> boot() called on cpu#1
>
> syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a queue
> cpuid = 1; lapic.id = 01000000
> boot() called on cpu#1
> Uptime: 2d5h32m34s
> 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 4
>  80 496
>  ---
> #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
> 240             dumping++;
> (kgdb) bt
> #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
> #1  0xc0212e20 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
> #2  0xc0213226 in panic (fmt=0xc03b2848 "bremfree: removing a buffer not on a queue")
>     at /usr/src/sys/kern/kern_shutdown.c:550
> #3  0xc025a051 in bremfreel (bp=0xce6b6228) at /usr/src/sys/kern/vfs_bio.c:644
> #4  0xc0259f25 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:626
> #5  0xc025c658 in vfs_bio_awrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1699
> #6  0xc030a54c in ffs_fsync (ap=0xd8361a70) at /usr/src/sys/ufs/ffs/ffs_vnops.c:268
> #7  0xc0309693 in ffs_sync (mp=0xc454d600, waitfor=2, cred=0xc150de80, td=0xc040d7a0) at vnode_if.h:627
> #8  0xc027040b in sync (td=0xc040d7a0, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:142
> #9  0xc021296f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:281
> #10 0xc0213226 in panic (fmt=0xc03bf702 "softdep_deallocate_dependencies: dangling deps")
>     at /usr/src/sys/kern/kern_shutdown.c:550
> #11 0xc0306c35 in softdep_deallocate_dependencies (bp=0x0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:5874
> #12 0xc025b30a in brelse (bp=0xce6b6228) at /usr/src/sys/sys/buf.h:427
> #13 0xc026b93a in flushbuflist (blist=0xce6b6228, flags=0, vp=0xc60fb490, slpflag=0, slptimeo=0, errorp=0x0)
>     at /usr/src/sys/kern/vfs_subr.c:1277
> #14 0xc026b548 in vinvalbuf (vp=0xc60fb490, flags=0, cred=0x0, td=0x0, slpflag=0, slptimeo=0)
>     at /usr/src/sys/kern/vfs_subr.c:1160
> #15 0xc026e3cc in vclean (vp=0xc60fb490, flags=8, td=0xc4008000) at /usr/src/sys/kern/vfs_subr.c:2577
> #16 0xc026e959 in vgonel (vp=0xc60fb490, td=0x0) at /usr/src/sys/kern/vfs_subr.c:2761
> #17 0xc026a679 in vlrureclaim (mp=0xc454d600) at /usr/src/sys/kern/vfs_subr.c:723
> #18 0xc026a8bf in vnlru_proc () at /usr/src/sys/kern/vfs_subr.c:776
> #19 0xc01ea01f in fork_exit (callout=0xc026a710 <vnlru_proc>, arg=0x0, frame=0x0)
>     at /usr/src/sys/kern/kern_fork.c:796
> (kgdb)
>
>
> Anyone interested?
>
> - Christian
>
> --
> Christian Brueffer	chris_at_unixpages.org	brueffer_at_FreeBSD.org
> GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
> GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
>
Received on Sun Aug 31 2003 - 00:28:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC