From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 13:45:13 2003 Return-Path: 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 B3F1937B401 for ; Mon, 7 Jul 2003 13:45:13 -0700 (PDT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1B2743F75 for ; Mon, 7 Jul 2003 13:45:12 -0700 (PDT) (envelope-from k@numeri.campus.luth.se) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) by numeri.campus.luth.se (8.12.9/8.12.9) with ESMTP id h67KjAd5028663 for ; Mon, 7 Jul 2003 22:45:10 +0200 (CEST) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.12.9/8.12.9/Submit) id h67KjAga028662 for current@freebsd.org; Mon, 7 Jul 2003 22:45:10 +0200 (CEST) Date: Mon, 7 Jul 2003 22:45:10 +0200 From: Johan Karlsson To: current@freebsd.org Message-ID: <20030707204510.GA620@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: LOR filedesc structure and Giant X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 07 Jul 2003 20:45:14 -0000 Hi I just got the following LOR with a kernel and world from today ==== lock order reversal 1st 0xc49ce134 filedesc structure (filedesc structure) @ /home/k/FreeBSD-src/5-current/src/sys/kern/sys_generic.c:902 2nd 0xc03149e0 Giant (Giant) @ /home/k/FreeBSD-src/5-current/src/sys/fs/specfs/spec_vnops.c:372 Stack backtrace: backtrace(c02d42e0,c03149e0,c02d0996,c02d0996,c02cbf6c) at backtrace+0x17 witness_lock(c03149e0,8,c02cbf6c,174,c01881e0) at witness_lock+0x697 _mtx_lock_flags(c03149e0,0,c02cbf6c,174,c02d48f5) at _mtx_lock_flags+0xb1 spec_poll(e0f05af8,e0f05b18,c01f05fc,e0f05af8,c030b3e0) at spec_poll+0x104 spec_vnoperate(e0f05af8,c030b3e0,c413c6d8,40,c4951300) at spec_vnoperate+0x18 vn_poll(c4684440,40,c4951300,c4663be0,c4951300) at vn_poll+0x3c selscan(c4663be0,e0f05b98,e0f05b88,7,4) at selscan+0x12e kern_select(c4663be0,7,806b140,806b180,0) at kern_select+0x37f select(c4663be0,e0f05d10,c02e692a,3fd,5) at select+0x66 syscall(2f,2f,2f,0,3) at syscall+0x26e Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (93), eip = 0x282bdbc3, esp = 0xbfbff3cc, ebp = 0xbfbff478 --- ==== Let me know if I can do anything to help with tracking this. No local modifications to the source. /Johan K -- Johan Karlsson mailto:johan@FreeBSD.org