Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2005 21:06:16 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        David O'Brien <obrien@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [PANIC] handle_written_inodeblock: live inodedep
Message-ID:  <20050116050616.GA68089@xor.obsecurity.org>
In-Reply-To: <20050116010215.GA1616@dragon.nuxi.com>
References:  <20050116010215.GA1616@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 15, 2005 at 05:02:15PM -0800, David O'Brien wrote:
> Anyone want to claim ownership of this one?
>=20
> FreeBSD dragon.nuxi.com 6.0-CURRENT FreeBSD 6.0-CURRENT #463: Fri Jan 14 =
09:57:44 PST 2005 rootk@dragon.nuxi.com:/FBSD/src/sys/i386/compile/DRAGON  =
i386
>=20
> 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.s=
o: 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 conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> 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=3D260) at ../../../kern/kern_shutdown.c:398
> #2  0xc04d8a53 in panic (
>     fmt=3D0xc066ee02 "handle_written_inodeblock: live inodedep")
>     at ../../../kern/kern_shutdown.c:554
> #3  0xc05c2b7d in handle_written_inodeblock (inodedep=3D0xcd2b4b00,=20
>     bp=3D0xd8034480) at ../../../ufs/ffs/ffs_softdep.c:4458
> #4  0xc05c1fb9 in softdep_disk_write_complete (bp=3D0xd8034480)
>     at ../../../ufs/ffs/ffs_softdep.c:4013
> #5  0xc052c8de in bufdone (bp=3D0xd8034480) at buf.h:428
> #6  0xc04a3791 in g_vfs_done (bip=3D0xcccaa18c) at ../../../geom/geom_vfs=
.c:82
> #7  0xc052c3b0 in biodone (bp=3D0xcccaa18c) at ../../../kern/vfs_bio.c:30=
34
> #8  0xc04a0106 in g_io_schedule_up (tp=3D0xc3dc68a0)
>     at ../../../geom/geom_io.c:489
> #9  0xc04a04d8 in g_up_procbody () at ../../../geom/geom_kern.c:95
> #10 0xc04c0f06 in fork_exit (callout=3D0xc04a0440 <g_up_procbody>, arg=3D=
0x0,=20
>     frame=3D0x0) at ../../../kern/kern_fork.c:790
> #11 0xc061dedc in fork_trampoline () at ../../../i386/i386/exception.s:208

Here's a variant:

dev =3D ad0d, block =3D 579936, fs =3D
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_freeblock=
s+0x354
process_worklist_item(1,41e9f527,0,c1965450,c0722d8e) at process_worklist_i=
tem+0x207
softdep_process_worklist(0,0,c0722d8e,634,0) at softdep_process_worklist+0x=
62
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 =3D 0, esp =3D 0xd4116d7c, ebp =3D 0 ---
--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB6fZIWry0BWjoQKURAhXaAJ4jUx7MV5zo9WYVBphqZFQ1adjXfgCeOxpE
keSu8WEz963kuDdiCQmkn18=
=e75h
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050116050616.GA68089>