From owner-freebsd-current@FreeBSD.ORG Thu Jan 13 18:58:17 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8F8016A4CE for ; Thu, 13 Jan 2005 18:58:17 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40D4D43D46 for ; Thu, 13 Jan 2005 18:58:17 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 316FA72DD4; Thu, 13 Jan 2005 10:58:17 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 2F1B272DCB; Thu, 13 Jan 2005 10:58:17 -0800 (PST) Date: Thu, 13 Jan 2005 10:58:17 -0800 (PST) From: Doug White To: Christian Brueffer In-Reply-To: <20050113100732.GA65407@unixpages.org> Message-ID: <20050113105643.L13218@carver.gumbysoft.com> References: <20050113100732.GA65407@unixpages.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE cc: current@freebsd.org Subject: Re: panic: softdep_deallocate_dependencies: dangling deps X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 18:58:17 -0000 On Thu, 13 Jan 2005, Christian Brueffer wrote: > Hi, > > got this panic on a SMP machine tonight. This is about the 10th time > I've gotten this specific panic during the last 2 years. Unfortunately > I haven't found a way to trigger this yet. Coredump is available for > further investigation. Version? It doesn't appear to be HEAD, the line numbers are all offset by too much. System configuration? Kernel compile options? There's one hop in here where a bufpointer gets converted to a NULL, which I don't think would happen in an inline macro. Unless ddb is misinterpreting something. > panic: softdep_deallocate_dependencies: dangling deps > panic messages: > --- > panic: softdep_deallocate_dependencies: dangling deps > cpuid =3D 1 > KDB: enter: panic > 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:159 > 159 pcpu.h: No such file or directory. > in pcpu.h > doadump () at pcpu.h:159 > 159 in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:159 > #1 0xc0475620 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D-1066882173= , > dummy4=3D0xd544a9ec "\030=AAD=D5\207\223h=C0\004=AAD=D5\b=AAD=D5\220\= a") > at /usr/home/build/src/sys/ddb/db_command.c:531 > #2 0xc0475422 in db_command (last_cmdp=3D0xc0742124, cmd_table=3D0x0, au= x_cmd_tablep=3D0xc070a468, > aux_cmd_tablep_end=3D0xc070a46c) at /usr/home/build/src/sys/ddb/db_co= mmand.c:349 > #3 0xc04754ee in db_command_loop () at /usr/home/build/src/sys/ddb/db_co= mmand.c:455 > #4 0xc047722c in db_trap (type=3D3, code=3D0) at /usr/home/build/src/sys= /ddb/db_main.c:221 > #5 0xc0556209 in kdb_trap (type=3D3, code=3D0, tf=3D0x1) at /usr/home/bu= ild/src/sys/kern/subr_kdb.c:418 > #6 0xc06a55d0 in trap (frame=3D > {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1066419633, = tf_esi > =3D 1, tf_ebp =3D -716919956, tf_isp =3D -716919976, tf_ebx =3D -71691991= 2, > tf_edx =3D 0, tf_ecx =3D -1056755712, tf_eax =3D 18, tf_trapno =3D 3, tf_= err =3D > 0, tf_eip =3D -1068146901, tf_cs =3D 8, tf_eflags =3D 646, tf_esp =3D > -716919924, tf_ss =3D -1068243131}) > at /usr/home/build/src/sys/i386/i386/trap.c:576 > #7 0xc069384a in calltrap () at /usr/home/build/src/sys/i386/i386/except= ion.s:140 > #8 0x00000018 in ?? () > #9 0x00000010 in ?? () > #10 0x00000010 in ?? () > #11 0xc06fba4f in ?? () > #12 0x00000001 in ?? () > #13 0xd544ab6c in ?? () > #14 0xd544ab58 in ?? () > #15 0xd544ab98 in ?? () > #16 0x00000000 in ?? () > #17 0xc1033000 in ?? () > #18 0x00000012 in ?? () > #19 0x00000003 in ?? () > #20 0x00000000 in ?? () > #21 0xc0555f2b in kdb_enter (msg=3D0x0) at cpufunc.h:56 > #22 0xc053e745 in panic (fmt=3D0xc06fba4f "softdep_deallocate_dependencie= s: dangling deps") > at /usr/home/build/src/sys/kern/kern_shutdown.c:550 > #23 0xc0646256 in softdep_deallocate_dependencies (bp=3D0x0) > at /usr/home/build/src/sys/ufs/ffs/ffs_softdep.c:5949 > #24 0xc058280f in brelse (bp=3D0xcbff6f9c) at buf.h:431 > #25 0xc0590430 in flushbuflist (blist=3D0xcbff6f9c, flags=3D0, vp=3D0xc1f= ac630, slpflag=3D0, slptimeo=3D0, > errorp=3D0x0) at /usr/home/build/src/sys/kern/vfs_subr.c:1101 > #26 0xc0590109 in vinvalbuf (vp=3D0xc1fac630, flags=3D0, cred=3D0x0, td= =3D0x0, slpflag=3D0, slptimeo=3D0) > at /usr/home/build/src/sys/kern/vfs_subr.c:987 > #27 0xc0592999 in vclean (vp=3D0xc1fac630, flags=3D8, td=3D0xc19e6c80) > at /usr/home/build/src/sys/kern/vfs_subr.c:2479 > #28 0xc0592f11 in vgonel (vp=3D0xc1fac630, td=3D0xc19e6c80) at /usr/home/= build/src/sys/kern/vfs_subr.c:2701 > #29 0xc058f3f2 in vlrureclaim (mp=3D0xc2395800) at pcpu.h:156 > #30 0xc058f5a6 in vnlru_proc () at /usr/home/build/src/sys/kern/vfs_subr.= c:598 > #31 0xc0529848 in fork_exit (callout=3D0xc058f460 , arg=3D0x0= , frame=3D0xd544ad48) > at /usr/home/build/src/sys/kern/kern_fork.c:807 > #32 0xc06938ac in fork_trampoline () at /usr/home/build/src/sys/i386/i386= /exception.s:209 > > > - Christian > > --=20 Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org