From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 10:12:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 788E516A41F for ; Wed, 31 Aug 2005 10:12:26 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C9843D70 for ; Wed, 31 Aug 2005 10:12:18 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 27953440A9; Wed, 31 Aug 2005 12:12:16 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22240-02; Wed, 31 Aug 2005 12:12:14 +0200 (CEST) Received: from m2a2.dyndns.org (p5091368B.dip0.t-ipconnect.de [80.145.54.139]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 8DB7A440A0; Wed, 31 Aug 2005 12:12:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 78006774D4; Wed, 31 Aug 2005 12:12:12 +0200 (CEST) Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14534-16; Wed, 31 Aug 2005 12:12:11 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id A61C277790; Wed, 31 Aug 2005 12:12:11 +0200 (CEST) From: Matthias Andree To: Kris Kennaway In-Reply-To: <20050830232818.GA83944@xor.obsecurity.org> (Kris Kennaway's message of "Tue, 30 Aug 2005 19:28:18 -0400") References: <20050830124435.GW659@obiwan.tataz.chchile.org> <20050830232818.GA83944@xor.obsecurity.org> X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc Date: Wed, 31 Aug 2005 12:12:11 +0200 Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at dt.e-technik.uni-dortmund.de Cc: Matthias Andree , Jeremie Le Hen , freebsd-current@freebsd.org Subject: Re: nfs through nullfs 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: Wed, 31 Aug 2005 10:12:26 -0000 Kris Kennaway writes: > On Tue, Aug 30, 2005 at 02:44:35PM +0200, Jeremie Le Hen wrote: >> > Subject says it all. >> > >> > mount a ext2 file system, use it as basis for a nullfs mount -> panic. >> >> Mount a NFS filesystem, use it as basis for nullfs mount -> panic. > > Please provide details. OK, to reproduce, three steps apart from having an ext2 file system (the ext2 FS is clean according to e2fsck) mount_ext2fs /dev/ad0s5 /linux mount_nullfs /linux /mnt umount /mnt -> panic, "locking against myself" backtrace in the kernel debugger, copied manually: kdb_enter panic +0x13d lockmgr +0x44d vop_stdlock +0x2f VOP_LOCK_APV vn_lock vrele null_reclaim VOP_RECLAIM_APV vgonel vgone vflush nullfs_unmount dounmount unmount syscall... (process unmount) If needed, I can save a core of this. -- Matthias Andree