From owner-freebsd-current Wed Oct 2 1:36:56 2002 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 6668837B401; Wed, 2 Oct 2002 01:36:55 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA50943E4A; Wed, 2 Oct 2002 01:36:54 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.5/8.12.5) with ESMTP id g928akvU015378; Wed, 2 Oct 2002 01:36:51 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200210020836.g928akvU015378@gw.catspoiler.org> Date: Wed, 2 Oct 2002 01:36:46 -0700 (PDT) From: Don Lewis Subject: vnode lock assertion failure in nfs_doio() To: current@FreeBSD.org, jeff@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Version 1.114 of nfs_bio.c added a call to ASSERT_VOP_LOCKED() to nfs_doio(). I've been running a kernel with the DEBUG_VFS_LOCKS option and I can consistently get this assertion to fail by running mozilla with an nfs mounted home directory. The DDB stack trace indicates this assertion fails when nfs_doio() is called from nfssvc_iod(), which is used by the nfsiod. I tried wrapping the bracketing calls to nfs_doio() in nfssvc_iod() with calls to vn_lock() and VOP_UNLOCK(), but I then get what appears to be an interruptable deadlock ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message