From owner-freebsd-current@FreeBSD.ORG Thu Oct 9 18:14:33 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64186106568E for ; Thu, 9 Oct 2008 18:14:33 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id CCDD48FC16 for ; Thu, 9 Oct 2008 18:14:32 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (e180139110.adsl.alicedsl.de [85.180.139.110]) by acme.spoerlein.net (8.14.2/8.14.2) with ESMTP id m99IEU0I065753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 9 Oct 2008 20:14:31 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m99IEUTL002726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 9 Oct 2008 20:14:30 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m99IEULO002725 for current@freebsd.org; Thu, 9 Oct 2008 20:14:30 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Thu, 9 Oct 2008 20:14:30 +0200 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20081009181430.GA2699@roadrunner.spoerlein.net> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: LOR: bufwait vs dirhash X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 09 Oct 2008 18:14:33 -0000 Hi all, pretty fresh -CURRENT, just removed a directory et voilá root@igor: /boot# rm -rf kernel.old lock order reversal: 1st 0xcffcd344 bufwait (bufwait) @ /vol/src/sys/kern/vfs_bio.c:2443 2nd 0xc38a0a00 dirhash (dirhash) @ /vol/src/sys/ufs/ufs/ufs_dirhash.c:254 KDB: stack backtrace: db_trace_self_wrapper(c07d2a15,daa7ca78,c057de85,4,c07ce2fe,...) at db_trace_self_wrapper+0x26 kdb_backtrace(4,c07ce2fe,c07ee685,c30f01e8,daa7cad0,...) at kdb_backtrace+0x29 _witness_debugger(c07d53e1,c38a0a00,c07ee9ec,c30f01e8,c07ee685,...) at _witness_debugger+0x25 witness_checkorder(c38a0a00,9,c07ee685,fe,0,...) at witness_checkorder+0x7ec _sx_xlock(c38a0a00,0,c07ee685,fe,d0c5c018,...) at _sx_xlock+0x85 ufsdirhash_acquire(0,e,c31e0800,cffcd2e4,d0c5c018,...) at ufsdirhash_acquire+0x48 ufsdirhash_remove(c3930780,d0c5c018,18,daa7cb60,daa7cb5c,...) at ufsdirhash_remove+0x14 ufs_dirremove(c393e2b0,c39bb618,500800c,0,c393e2b0,...) at ufs_dirremove+0xe3 ufs_remove(daa7cc30,c07fed1f,0,daa7cc30,c39bd2b0,...) at ufs_remove+0x6e VOP_REMOVE_APV(c08367e0,daa7cc30,2,c07d40b6,8116238,...) at VOP_REMOVE_APV+0xf6 kern_unlinkat(c36a3000,ffffff9c,8116238,0,daa7cc80,...) at kern_unlinkat+0x187 kern_unlink(c36a3000,8116238,0,daa7cd2c,c07939f3,...) at kern_unlink+0x27 unlink(c36a3000,daa7ccf8,4,c07e9923,c0815770,...) at unlink+0x22 syscall(daa7cd38) at syscall+0x2e3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (10, FreeBSD ELF32, unlink), eip = 0x2815e33f, esp = 0xbfbfeccc, ebp = 0xbfbfecf8 --- Btw, how come the LOR page is down? http://sources.zabbadoz.net/freebsd/lor.html Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.