From nobody@FreeBSD.org  Tue Jul 17 18:54:09 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 556C816A406
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Jul 2007 18:54:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (groups.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 46A4D13C4B3
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Jul 2007 18:54:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l6HIs9lH069283
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 17 Jul 2007 18:54:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l6HIs9Ym069278;
	Tue, 17 Jul 2007 18:54:09 GMT
	(envelope-from nobody)
Message-Id: <200707171854.l6HIs9Ym069278@www.freebsd.org>
Date: Tue, 17 Jul 2007 18:54:09 GMT
From: Jan Harkes <jaharkes@cs.cmu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Kernel hangs when Coda file system is mounted a second time
X-Send-Pr-Version: www-3.0

>Number:         114672
>Category:       kern
>Synopsis:       [codafs] Kernel hangs when Coda file system is mounted a second time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 17 19:00:08 GMT 2007
>Closed-Date:    Fri Jan 18 20:13:06 UTC 2008
>Last-Modified:  Fri Jan 18 20:13:06 UTC 2008
>Originator:     Jan Harkes
>Release:        FreeBSD-CURRENT (7.0)
>Organization:
>Environment:
FreeBSD freebsd.local 7.0-CURRENT #8: Thu Jul 12 05:31:49 EDT 2007 root@freebsd.local:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Coda obtains a reference to a 'control vnode' during the mount, but never
releases this reference. During the mount the vnode is flagged as
S_UNMOUNTING. Then when the file system is mounted a second time the kernel
hangs, possibly waiting for the old vnode to disappear.

The attached patch fixes the problem.
>How-To-Repeat:

>Fix:
For some reason I'm getting the following error when trying to attach the
patch file with firefox.

There is an error with your problem report submission. The problem was:
Patch file has wrong content type: got application/octet-stream but was
expecting one matching text/.* or application/shar.

I also sent it to freebsd-fs, message-id is
<20070717183651.GA16599@delft.aura.cs.cmu.edu>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 17 20:11:08 UTC 2007 
State-Changed-Why:  
To submitter: please just put the patch up somewhere and follow-up with 
a URL to point to it.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114672 
Responsible-Changed-From-To: freebsd-bugs->rwatson 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Tue Jul 17 22:20:46 UTC 2007 
Responsible-Changed-Why:  
Take ownership of this PR; I've submitted the patch to re@ for commit 
approval and will commit it once I've received approval. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=114672 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Wed Jul 18 02:52:54 UTC 2007 
State-Changed-Why:  
Feedback apparently received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114672 

From: linimon@lonesome.com (Mark Linimon)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/114672: [codafs] Kernel hangs when Coda file system is mounted a second time
Date: Tue, 17 Jul 2007 21:53:52 -0500

 ----- Forwarded message from Jan Harkes <jaharkes@cs.cmu.edu> -----
 
 It looks like Robert Watson already picked up the patch from the post to
 freebsd-fs and has sent a request to merge it to re@freebsd.
 
 For reference, here is a link to the freebsd-fs archived copy,
 
     http://lists.freebsd.org/pipermail/freebsd-fs/2007-July/003529.html
 
 ----- End forwarded message -----
State-Changed-From-To: open->closed 
State-Changed-By: rwatson 
State-Changed-When: Fri Jan 18 19:48:28 UTC 2008 
State-Changed-Why:  
Patch was applied and committed, and will appear in 7.0-RELEASE. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=114672 
>Unformatted:
