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>

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

[-- Attachment #1 --]
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 2005 
> 
> [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".
> #0  doadump () at pcpu.h:165
> 165		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
> (kgdb) where
> #0  doadump () at pcpu.h:165
> #1  0xc04dd3b2 in boot (howto=260) at ../../../kern/kern_shutdown.c:397
> #2  0xc04dd763 in panic (fmt=0xc067b7f4 "ufs_dirbad: bad dir")
>     at ../../../kern/kern_shutdown.c:553
> #3  0xc05d913d in ufs_dirbad (ip=0x0, offset=0, how=0x0)
>     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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

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

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