From owner-freebsd-current@FreeBSD.ORG Wed Jun 22 18:52:25 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0587016A41F for ; Wed, 22 Jun 2005 18:52:25 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from portpc-design.spb.ru (ns2.portpc-design.spb.ru [195.161.118.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BF3F43D48 for ; Wed, 22 Jun 2005 18:52:23 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [85.140.139.173] (ppp85-140-139-173.pppoe.mtu-net.ru [85.140.139.173]) (authenticated bits=0) by portpc-design.spb.ru (8.13.4/8.13.4) with ESMTP id j5MIqKvg008616 for ; Wed, 22 Jun 2005 22:52:20 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <42B9B35E.3090808@mcsi.pp.ru> Date: Wed, 22 Jun 2005 22:52:14 +0400 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050528 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on 81.176.64.226 X-Virus-Status: Clean Cc: Subject: VFS unlink LOR 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: Wed, 22 Jun 2005 18:52:25 -0000 Hello. Just caught this on freshest CURRENT: FreeBSD ultra.domain 6.0-CURRENT FreeBSD 6.0-CURRENT #2: Wed Jun 22 22:09:12 MSD 2005 mcsi@ultra.domain:/usr/obj/usr/src/sys/ULTRA i386 lock order reversal 1st 0xc26547ec vnode interlock (vnode interlock) @ /usr/src/sys/kern/vfs_subr.c:2122 2nd 0xc1159144 system map (system map) @ /usr/src/sys/vm/vm_kern.c:295 KDB: stack backtrace: kdb_backtrace(0,ffffffff,c09af168,c09af1b8,c0933164) at kdb_backtrace+0x29 witness_checkorder(c1159144,9,c08e1670,127) at witness_checkorder+0x55c _mtx_lock_flags(c1159144,0,c08e1670,127) at _mtx_lock_flags+0x5b _vm_map_lock(c11590c0,c08e1670,127) at _vm_map_lock+0x26 kmem_malloc(c11590c0,1000,101,e2e62b18,c07d9a71) at kmem_malloc+0x32 page_alloc(c1163840,1000,e2e62b0b,101,c09ebd00) at page_alloc+0x1a slab_zalloc(c1163840,101,c1163840,c096e064,c1164460) at slab_zalloc+0xa1 uma_zone_slab(c1163840,1,c1164468,0,c08e0929,894) at uma_zone_slab+0xe8 uma_zalloc_internal(c1163840,0,1,0,c11422f8) at uma_zalloc_internal+0x29 bucket_alloc(80,1,c113c0a0,0,c263276c) at bucket_alloc+0x2c uma_zfree_arg(c11422c0,c263276c,0) at uma_zfree_arg+0x23e mac_labelzone_free(c263276c,c2654770,c2654770,e2e62bd4,c07acdfa) at mac_labelzone_free+0x13 mac_vnode_label_free(c263276c,c2654770,e2e62be4,c06d2ffa,c2654770) at mac_vnode_label_free+0x72 mac_destroy_vnode(c2654770) at mac_destroy_vnode+0x12 vdestroy(c2654770,0,e2e62c2c,c06d513d,c2654770) at vdestroy+0x1a6 vdropl(c2654770,c097d900,c2654770,0,c238b900) at vdropl+0x3e vput(c2654770) at vput+0x181 kern_unlink(c238b900,80678a8,0,e2e62d30,c0856843) at kern_unlink+0x1bd unlink(c238b900,e2e62d04,1,7,296) at unlink+0x12 syscall(3b,3b,3b,1,804d000) at syscall+0x22b Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (10, FreeBSD ELF32, unlink), eip = 0x280c165f, esp = 0xbfbfeb7c, ebp = 0xbfbfeba8 -- -- Maxim Maximov