From owner-freebsd-current@FreeBSD.ORG Sun May 11 16:45:33 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 431B437B401; Sun, 11 May 2003 16:45:33 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFB5C43FBD; Sun, 11 May 2003 16:45:31 -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 h4BNjQrN002687 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 12 May 2003 01:45:28 +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 h4BNjOiP003646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 May 2003 01:45:24 +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 h4BNjMRw005145; Mon, 12 May 2003 01:45:23 +0200 (CEST) (envelope-from ticso@cicely9.cicely.de) Received: (from ticso@localhost) by cicely9.cicely.de (8.12.9/8.12.9/Submit) id h4BNjMOl005144; Mon, 12 May 2003 01:45:22 +0200 (CEST) (envelope-from ticso) Date: Mon, 12 May 2003 01:45:21 +0200 From: Bernd Walter To: Don Lewis Message-ID: <20030511234520.GF3789@cicely9.cicely.de> References: <20030511133355.GA3789@cicely9.cicely.de> <200305112329.h4BNTYM7045966@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305112329.h4BNTYM7045966@gw.catspoiler.org> 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: Sun, 11 May 2003 23:45:33 -0000 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. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de