From owner-freebsd-current@FreeBSD.ORG Mon May 12 13:33:58 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 2F93B37B401; Mon, 12 May 2003 13:33:58 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDFFD43F75; Mon, 12 May 2003 13:33:56 -0700 (PDT) (envelope-from ticso@cicely9.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h4CKXTrN022044 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 12 May 2003 22:33:50 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (cicely9.cicely.de [IPv6:3ffe:400:8d0:301:210:5aff:fe30:1c1a]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h4CKXFhx002429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 May 2003 22:33:16 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: from cicely9.cicely.de (localhost [127.0.0.1]) by cicely9.cicely.de (8.12.9/8.12.9) with ESMTP id h4CKXBRw008039; Mon, 12 May 2003 22:33:15 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: (from ticso@localhost) by cicely9.cicely.de (8.12.9/8.12.9/Submit) id h4CKXAdr008038; Mon, 12 May 2003 22:33:10 +0200 (CEST) (envelope-from ticso) Date: Mon, 12 May 2003 22:33:08 +0200 From: Bernd Walter To: Don Lewis Message-ID: <20030512203308.GC7361@cicely9.cicely.de> References: <20030511133355.GA3789@cicely9.cicely.de> <200305112329.h4BNTYM7045966@gw.catspoiler.org> <20030511234520.GF3789@cicely9.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030511234520.GF3789@cicely9.cicely.de> X-Operating-System: FreeBSD cicely9.cicely.de 5.0-CURRENT alpha User-Agent: Mutt/1.5.3i cc: ticso@cicely.de cc: current@FreeBSD.org Subject: Re: NFS troubles on recent -current. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 20:33:58 -0000 On Mon, May 12, 2003 at 01:45:21AM +0200, Bernd Walter wrote: > On Sun, May 11, 2003 at 04:29:34PM -0700, Don Lewis wrote: > > On 11 May, Bernd Walter wrote: > > > I have a -current (10th may) NFS server which serves for a diskless > > > NFS client (11th May). > > > The client has / on a CF media and /usr as well as /var/spool on the > > > server. > > > Also swap is on the server (/usr/swapfile) via md. > > > When I run installworld on the client the server hangs with > > > "lockmgr draning against myself". > > > I got no DDB prompt so no stacktrace or crashdump :( > > > > Try the attached patch. I didn't have any problems with > > make -j10 buildworld > > make DESTDIR=/mnt installworld > > with /usr/obj and /mnt NFS mounted from the filesystems exported on the > > same server (though I had to tweak some sysctl variables to avoid wdrain > > deadlocks in the bio code in this configuration). > > > > Can you break into the debugger with CNTRL-Alt-Esc? I also recommend > > I havn't tried as it shouldn't be required after a panic. > > > trying the DEBUG_VFS_LOCKS kernel configuration option, which will drop > > into ddb if any of the vnode locking assertions are violated. > > I will try your patch and suggestions tomorrow. I can't reproduce the panic with your patch anymore. Great work! -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de