From green@feldman.dyn.ml.org  Tue Apr  7 05:45:06 1998
Received: from feldman.dyn.ml.org (green@1Cust232.tnt5.tco2.da.uu.net [153.35.91.232])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA17534
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 7 Apr 1998 05:45:04 -0700 (PDT)
          (envelope-from green@feldman.dyn.ml.org)
Received: (from green@localhost)
	by feldman.dyn.ml.org (8.8.8/8.8.8) id IAA00476;
	Tue, 7 Apr 1998 08:45:01 -0400 (EDT)
	(envelope-from green)
Message-Id: <199804071245.IAA00476@feldman.dyn.ml.org>
Date: Tue, 7 Apr 1998 08:45:01 -0400 (EDT)
From: green@feldman.dyn.ml.org
Reply-To: brianfeldman@hotmail.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: mount_union causes locking problems, system panics
X-Send-Pr-Version: 3.2

>Number:         6237
>Category:       kern
>Synopsis:       panic rm'ing a union mounted file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  7 05:50:01 PDT 1998
>Closed-Date:    Wed Apr 15 10:53:39 PDT 1998
>Last-Modified:  Wed Apr 15 10:54:04 PDT 1998
>Originator:     Brian Feldman
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
>Environment:

	Standard system up and running, had mount_union /tmp /usr/tmp done.
>Description:

IdlePTD 23c000
current pcb at 20c93c
panic: ufs_lock: recursive lock not expected, pid: %d

#0  0xf0112723 in boot ()
(kgdb) 

Is that a nice description?

>How-To-Repeat:

mount_union /tmp /usr/tmp
rm /usr/tmp/*
panic()
(I think that the file may have been previously locked already, unsure)
>Fix:
	
	Well, I guess I should stop messing around with all the filesystems I don't really need.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Apr 15 10:53:39 PDT 1998 
State-Changed-Why:  
unionfs is broken, we know it. 
>Unformatted:
