Re: [PANIC] handle_written_inodeblock: live inodedep

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sat, 15 Jan 2005 21:06:16 -0800
On Sat, Jan 15, 2005 at 05:02:15PM -0800, David O'Brien wrote:
> Anyone want to claim ownership of this one?
> 
> FreeBSD dragon.nuxi.com 6.0-CURRENT FreeBSD 6.0-CURRENT #463: Fri Jan 14 09:57:44 PST 2005 rootk_at_dragon.nuxi.com:/FBSD/src/sys/i386/compile/DRAGON  i386
> 
> Script started on Sat Jan 15 16:58:16 2005
> kgdb -c vmcore.2 kernel.debug.2
> [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 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-marcel-freebsd".
> doadump () at pcpu.h:159
> (kgdb) where
> #0  doadump () at pcpu.h:159
> #1  0xc04d869a in boot (howto=260) at ../../../kern/kern_shutdown.c:398
> #2  0xc04d8a53 in panic (
>     fmt=0xc066ee02 "handle_written_inodeblock: live inodedep")
>     at ../../../kern/kern_shutdown.c:554
> #3  0xc05c2b7d in handle_written_inodeblock (inodedep=0xcd2b4b00, 
>     bp=0xd8034480) at ../../../ufs/ffs/ffs_softdep.c:4458
> #4  0xc05c1fb9 in softdep_disk_write_complete (bp=0xd8034480)
>     at ../../../ufs/ffs/ffs_softdep.c:4013
> #5  0xc052c8de in bufdone (bp=0xd8034480) at buf.h:428
> #6  0xc04a3791 in g_vfs_done (bip=0xcccaa18c) at ../../../geom/geom_vfs.c:82
> #7  0xc052c3b0 in biodone (bp=0xcccaa18c) at ../../../kern/vfs_bio.c:3034
> #8  0xc04a0106 in g_io_schedule_up (tp=0xc3dc68a0)
>     at ../../../geom/geom_io.c:489
> #9  0xc04a04d8 in g_up_procbody () at ../../../geom/geom_kern.c:95
> #10 0xc04c0f06 in fork_exit (callout=0xc04a0440 <g_up_procbody>, arg=0x0, 
>     frame=0x0) at ../../../kern/kern_fork.c:790
> #11 0xc061dedc in fork_trampoline () at ../../../i386/i386/exception.s:208

Here's a variant:

dev = ad0d, block = 579936, fs =
panic: ffs_blkfree: freeing free block
KDB: enter: panic
[thread pid 37 tid 100023 ]
Stopped at      kdb_enter+0x32: leal    0(%esi),%esi
db> tr
Tracing pid 37 tid 100023 td 0xc1965450
kdb_enter(c071a867,c077cb40,c072dd1b,d4116ae4,c1965450) at kdb_enter+0x32
panic(c072dd1b,c1d97480,8d960,0,c1f3d0d4) at panic+0x14d
ffs_blkfree(c1f3d000,c1f95cf0,8d960,0,8000) at ffs_blkfree+0x539
indir_trunc(46ca80,0,0,c,0) at indir_trunc+0x20a
handle_workitem_freeblocks(0,c1a02c00,2,634,0) at handle_workitem_freeblocks+0x354
process_worklist_item(1,41e9f527,0,c1965450,c0722d8e) at process_worklist_item+0x207
softdep_process_worklist(0,0,c0722d8e,634,0) at softdep_process_worklist+0x62
sched_sync(0,d4116d48,c07180ca,30e,65722064) at sched_sync+0x571
fork_exit(c058b2a0,0,d4116d48) at fork_exit+0xa9
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd4116d7c, ebp = 0 ---
Received on Sun Jan 16 2005 - 04:06:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC