From owner-freebsd-current@FreeBSD.ORG Sun Jul 29 17:57:01 2007 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 40D8016A420; Sun, 29 Jul 2007 17:57:01 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id ECDBD13C49D; Sun, 29 Jul 2007 17:57:00 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from prometheus.scode.org (85.229.22.84) by proxy2.bredband.net (7.3.127) id 46A88258000CAC4E; Sun, 29 Jul 2007 19:56:59 +0200 Received: from localhost (localhost [127.0.0.1]) by prometheus.scode.org (Postfix) with ESMTP id 7184A1CC8E; Sun, 29 Jul 2007 21:57:10 +0200 (CEST) From: Peter Schuller To: freebsd-current@freebsd.org Date: Sun, 29 Jul 2007 21:57:09 +0200 User-Agent: KMail/1.9.7 References: <200707282028.37102.peter.schuller@infidyne.com> <20070728175426.GF1092@garage.freebsd.pl> In-Reply-To: <20070728175426.GF1092@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707292157.09742.peter.schuller@infidyne.com> Cc: Pawel Jakub Dawidek , current@freebsd.org Subject: Re: (ZFS?): panic: lockmgr: locking against myself 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: Sun, 29 Jul 2007 17:57:01 -0000 > Could you paste the output of: > > db> show vnode 0x > > Where is the first argument to vrele() function above. I was not able to get ddb to include function arguments in backtraces for some reason, but I inserted a pointer printout before each of the two calls to vrele() in mountcheckdirs(). Based on the last printout prior to panic, it is the second call in the function (code line wise; i.e., when locking rootvnode) that is triggering the panic, on this vnode: vnode 0xffffff00037473e0: tag devfs, type VDIR usecount 0, writecount 0, refcount 1 mountedhere 0xffffff0003745ca0 flags (VV_ROOT) lock type devfs: EXCL (count 1) by thread 0xffffff00010e6680 (pid 1) Also, this time I triggered it after having dropped a drive (as opposed to when I then booted back up again with two drives). Am I understanding this correctly that the root filesystem has suddenly become devfs? -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org