From owner-freebsd-current Mon Dec 30 19:36:33 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 2F67D37B401 for ; Mon, 30 Dec 2002 19:36:32 -0800 (PST) Received: from habanero.hesketh.net (habanero.hesketh.net [66.45.6.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B1043EA9 for ; Mon, 30 Dec 2002 19:36:31 -0800 (PST) (envelope-from brent@mutt.rcfile.org) Received: from mutt.rcfile.org (rdu57-229-060.nc.rr.com [66.57.229.60]) by habanero.hesketh.net (8.12.6/8.12.6) with ESMTP id gBV3aOkM032344 for ; Mon, 30 Dec 2002 22:36:24 -0500 X-Received-From: brent@mutt.rcfile.org X-Delivered-To: X-Spam-Filter: check_local@habanero.hesketh.net by digitalanswers.org Received: from mutt.rcfile.org (localhost [127.0.0.1]) by mutt.rcfile.org (8.12.6/8.12.6) with ESMTP id gBV3ac5k096254 for ; Mon, 30 Dec 2002 22:36:38 -0500 (EST) (envelope-from brent@mutt.rcfile.org) Received: (from brent@localhost) by mutt.rcfile.org (8.12.6/8.12.6/Submit) id gBV3acSw096253 for current@FreeBSD.ORG; Mon, 30 Dec 2002 22:36:38 -0500 (EST) Date: Mon, 30 Dec 2002 22:36:38 -0500 From: Brent Verner To: current@FreeBSD.ORG Subject: problem with nullfs Message-ID: <20021231033638.GB95923@rcfile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-muttrc: $Id: .muttrc,v 1.9 2002/01/02 07:04:49 brent Exp $ X-uname: FreeBSD 4.7-STABLE #26: Sun Dec 15 17:46:15 EST 2002 root@mutt.rcfile.org:/usr/obj/usr/src/sys/MUTTS User-Agent: Mutt/1.5.1i 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 A nullfs mounted target cannot be umounted if another target is mounted from the same source. Maybe it has something to do with the LOR in the first umount... I'll see if I can fix this later in the week if it hasn't already been fixed. scratch# uname -a FreeBSD scratch.rcfile.org 5.0-CURRENT FreeBSD 5.0-CURRENT #27: Mon Dec 30 14:28 :24 EST 2002 root@scratch.rcfile.org:/usr/obj/usr/src/sys/SCRATCH i386 scratch# mount -t nullfs -oro /usr/ports /jail/10.0.0.75/usr/ports scratch# umount /jail/10.0.0.75/usr/ports lock order reversal 1st 0xc523cce0 process lock (process lock) @ /usr/src/sys/kern/vfs_mount.c:1143 2nd 0xc5289b34 filedesc structure (filedesc structure) @ /usr/src/sys/kern/vfs_ mount.c:1150 Debugger("witness_lock") Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0 db> trace Debugger(c0498ff5,c5289b34,c04cf6a9,c04cf6a9,c04d8df6) at Debugger+0x54 witness_lock(c5289b34,8,c04d8df6,47e,c04d934f) at witness_lock+0x667 _mtx_lock_flags(c5289b34,0,c04d8df6,47e,0) at _mtx_lock_flags+0xb1 checkdirs(c546a9fc,c546ad50,1,c5236540,0) at checkdirs+0xc8 dounmount(c5366800,0,c5236540,bfbffd67,0) at dounmount+0x188 unmount(c5236540,e1a43d10,c04ec1f2,407,2) at unmount+0xcc syscall(2f,2f,2f,809ab0e,80b3b3e) at syscall+0x28e Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (22, FreeBSD ELF32, unmount), eip = 0x804b3ef, esp = 0xbfbff71c, ebp = 0xbfbff798 --- db> cont scratch# mount -t nullfs -oro /usr/ports /jail/10.0.0.75/usr/ports scratch# umount /jail/10.0.0.75/usr/ports scratch# mount -t nullfs -oro /usr/ports /jail/10.0.0.75/usr/ports scratch# umount /jail/10.0.0.75/usr/ports scratch# mount -t nullfs -oro /usr/ports /jail/10.0.0.75/usr/ports scratch# mount -t nullfs -oro /usr/ports /jail/10.0.0.76/usr/ports scratch# umount /jail/10.0.0.75/usr/ports umount: unmount of /jail/10.0.0.75/usr/ports failed: Device busy scratch# umount /jail/10.0.0.76/usr/ports umount: unmount of /jail/10.0.0.76/usr/ports failed: Device busy cheers. b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message