From nobody@FreeBSD.org Mon Jul 20 21:43:04 2009 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3B051065674 for ; Mon, 20 Jul 2009 21:43:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 77DFB8FC17 for ; Mon, 20 Jul 2009 21:43:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6KLh4xe008530 for ; Mon, 20 Jul 2009 21:43:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6KLh4V6008529; Mon, 20 Jul 2009 21:43:04 GMT (envelope-from nobody) Message-Id: <200907202143.n6KLh4V6008529@www.freebsd.org> Date: Mon, 20 Jul 2009 21:43:04 GMT From: Rene Ladan To: freebsd-gnats-submit@FreeBSD.org Subject: [lor] filedesc structure/ufs (poll) X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 136945 >Category: kern >Synopsis: [ufs] [lor] filedesc structure/ufs (poll) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-fs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 20 21:50:05 UTC 2009 >Closed-Date: >Last-Modified: Mon Jul 27 14:00:03 UTC 2009 >Originator: Rene Ladan >Release: 8.0-BETA2 amd64 >Organization: >Environment: FreeBSD self.rene-ladan.nl 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Wed Jul 15 21:48:41 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: lock order reversal: 1st 0xffffff0078c6b648 filedesc structure (filedesc structure) @ /usr/src/sys/kern/sys_generic.c:1211 2nd 0xffffff0078b73620 ufs (ufs) @ /usr/src/sys/kern/vfs_vnops.c:863 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a _witness_debugger() at _witness_debugger+0x2e witness_checkorder() at witness_checkorder+0x81e __lockmgr_args() at __lockmgr_args+0xcf3 ffs_lock() at ffs_lock+0x8c VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b _vn_lock() at _vn_lock+0x47 vn_poll() at vn_poll+0x64 poll() at poll+0x1b8 syscall() at syscall+0x1af Xfast_syscall() at Xfast_syscall+0xe1 --- syscall (209, FreeBSD ELF64, poll), rip = 0x804878e6c, rsp = 0x7fffffff7a88, rbp = 0x38 --- >How-To-Repeat: GENERIC kernel, only devfs and UFS2 filesystems mounted via /dev/ad* (/ , /var, /tmp, /usr) >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: linimon Responsible-Changed-When: Sat Jul 25 01:28:44 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=136945 From: John Baldwin To: bug-followup@freebsd.org, rene@freebsd.org Cc: Subject: Re: kern/136945: [ufs] [lor] filedesc structure/ufs (poll) Date: Mon, 27 Jul 2009 08:32:26 -0400 I would actually expect this to be the correct order for these two locks. Can you capture the output of the 'debug.witness.fullgraph' sysctl to a file? -- John Baldwin From: Rene Ladan To: John Baldwin Cc: bug-followup@freebsd.org Subject: Re: kern/136945: [ufs] [lor] filedesc structure/ufs (poll) Date: Mon, 27 Jul 2009 15:51:15 +0200 2009/7/27 John Baldwin : > I would actually expect this to be the correct order for these two locks.= =A0Can > you capture the output of the 'debug.witness.fullgraph' sysctl to a file? > Yes, see attachment. I'm still running the same 8.0-BETA2. >Unformatted: