From proff@profane.iq.org  Fri Nov 15 06:46:59 1996
Received: from pdx1.world.net (pdx1.world.net [192.243.32.18])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA17577
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Nov 1996 06:46:52 -0800 (PST)
Received: from suburbia.net (suburbia.net [198.142.2.24]) by pdx1.world.net (8.7.5/8.7.3) with ESMTP id GAA08267 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Nov 1996 06:46:38 -0800 (PST)
Received: (sendmail@localhost) by suburbia.net (8.7.4/Proff-950810) id BAA15586 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Nov 1996 01:46:13 +1100
Received: from profane.suburbia.net(203.4.184.222), claiming to be "profane.iq.org"
 via SMTP by suburbia.net, id smtpd15584aaa; Sat Nov 16 01:46:10 1996
Received: (from proff@localhost)
          by profane.iq.org (8.8.2/8.8.2) id BAA00372;
          Sat, 16 Nov 1996 01:42:54 +1100 (EST)
Message-Id: <199611151442.BAA00372@profane.iq.org>
Date: Sat, 16 Nov 1996 01:42:54 +1100 (EST)
From: Julian Assange <proff@profane.iq.org>
Reply-To: proff@profane.iq.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: unmount of doubly mounted devfs forces panic
X-Send-Pr-Version: 3.2

>Number:         2033
>Category:       kern
>Synopsis:       unmount of doubly mounted devfs forces panic
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 15 06:50:01 PST 1996
>Closed-Date:    Sat May 3 23:21:21 MET DST 1997
>Last-Modified:  Sat May  3 23:24:26 MET DST 1997
>Originator:     Julian Assange
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
>Environment:

	

>Description:

	Calling mount -a will mount any devfs (and mfs for that matter)
	file systems multiple times (this is a bug in its own right, imho).
	Any attempt to unmount the multiply mounted devfs partition will
	cause a panic (dangling vnode)

	

>How-To-Repeat:

	doubly mount a devfs fs then unmount

	

>Fix:
	
	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: fenner 
Responsible-Changed-When: Mon Nov 18 21:23:12 PST 1996 
Responsible-Changed-Why:  
Refiled from gnats-admin 
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat May 3 23:21:21 MET DST 1997 
State-Changed-Why:  
Suggested fixes from PR # 3276 and 3469 applied, in rev 1.36 and 
1.17 of devfs_tree.c, and devfs_vfsops.c, respectively. 

Thanks for the fixes! 

(There are still problems regarding the final umount, but the kernel 
doesn't crash anymore.) 
>Unformatted:
 
