Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 11:38:21 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        obrien@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: [PANIC] ufs_dirbad: bad dir
Message-ID:  <20050429183821.GA7659@xor.obsecurity.org>
In-Reply-To: <20050429160222.GA2264@dragon.NUXI.org>
References:  <20050429160222.GA2264@dragon.NUXI.org>

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

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

On Fri, Apr 29, 2005 at 09:02:22AM -0700, David O'Brien wrote:
> FreeBSD 6.0-CURRENT FreeBSD 6.0-CURRENT #486: Mon Apr 25 09:41:31 PDT 200=
5=20
>=20
> [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".
> #0  doadump () at pcpu.h:165
> 165		__asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
> (kgdb) where
> #0  doadump () at pcpu.h:165
> #1  0xc04dd3b2 in boot (howto=3D260) at ../../../kern/kern_shutdown.c:397
> #2  0xc04dd763 in panic (fmt=3D0xc067b7f4 "ufs_dirbad: bad dir")
>     at ../../../kern/kern_shutdown.c:553
> #3  0xc05d913d in ufs_dirbad (ip=3D0x0, offset=3D0, how=3D0x0)
>     at ../../../ufs/ufs/ufs_lookup.c:598

This one is believed to be a long-standing bug in ufs to do with use
of data when it is not protected by an exclusive lock.

Kris


--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCcn8dWry0BWjoQKURAnK+AJ4jMiN7j8R10BnX1mWKN4slLVqjrQCfUDTg
6AY5ZH9xbMe5mRPo63li5zw=
=7WUx
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--



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