From wom@oct.wom.ru  Thu Jul 29 04:19:15 2004
Return-Path: <wom@oct.wom.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2BE6916A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 29 Jul 2004 04:19:15 +0000 (GMT)
Received: from oct.wom.ru (oct.wom.ru [81.2.35.46])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BCFC443D62
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 29 Jul 2004 04:19:14 +0000 (GMT)
	(envelope-from wom@oct.wom.ru)
Received: from wom by oct.wom.ru with local (Exim 4.40 (FreeBSD))
	id 1Bq2Nd-0001FT-59
	for FreeBSD-gnats-submit@freebsd.org; Thu, 29 Jul 2004 15:18:57 +1100
Message-Id: <E1Bq2Nd-0001FT-59@oct.wom.ru>
Date: Thu, 29 Jul 2004 15:18:57 +1100
From: wom <wom@wom.ru>
Sender: wom <wom@oct.wom.ru>
Reply-To: wom <wom@wom.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: system trap on gbde's double attach
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69741
>Category:       kern
>Synopsis:       system trap on gbde's double attach
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 29 04:20:31 GMT 2004
>Closed-Date:    Tue Aug 24 19:51:52 GMT 2004
>Last-Modified:  Tue Aug 24 19:51:52 GMT 2004
>Originator:     wom
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD oct.wom.ru 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #3: Sun Jul 18 12:14:16 VLAST 2004 root@oct.wom.ru:/usr/obj/usr/src/sys/GW2 i386


>Description:
		if forgot to detach gbde disk and attach it again - system traps at 100% time
>How-To-Repeat:
		gbde attach ad3s1d -l /etc/ad3s1d.lock
		gbde attach ad3s1d -l /etc/ad3s1d.lock

>Fix:

	nope

>Release-Note:
>Audit-Trail:

From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To: wom <wom@wom.ru>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/69741: system trap on gbde's double attach 
Date: Thu, 29 Jul 2004 09:44:51 +0200

 In message <E1Bq2Nd-0001FT-59@oct.wom.ru>, wom writes:
 
 >>Description:
 >		if forgot to detach gbde disk and attach it again - system traps at 100% time
 >>How-To-Repeat:
 >		gbde attach ad3s1d -l /etc/ad3s1d.lock
 >		gbde attach ad3s1d -l /etc/ad3s1d.lock
 
 This is fixed in -current.
 
 -- 
 Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
 phk@FreeBSD.ORG         | TCP/IP since RFC 956
 FreeBSD committer       | BSD since 4.3-tahoe    
 Never attribute to malice what can adequately be explained by incompetence.

From: Maxim Konovalov <maxim@macomnet.ru>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: bug-followup@freebsd.org
Subject: Re: kern/69741: system trap on gbde's double attach 
Date: Thu, 29 Jul 2004 12:39:51 +0400 (MSD)

 Hi Poul,
 
 >  >>Description:
 >  >		if forgot to detach gbde disk and attach it again - system traps at 100% time
 >  >>How-To-Repeat:
 >  >		gbde attach ad3s1d -l /etc/ad3s1d.lock
 >  >		gbde attach ad3s1d -l /etc/ad3s1d.lock
 >
 >  This is fixed in -current.
 
 Could you please point me out where exactly?  Using -CURRENT is a bit
 risky at the moment and I will help to the submitter to port these
 changes back to 5.2.1.  Thanks!
 
 -- 
 Maxim Konovalov

From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: bug-followup@freebsd.org
Subject: Re: kern/69741: system trap on gbde's double attach 
Date: Thu, 29 Jul 2004 17:36:20 +0200

 In message <20040729123740.G3068@mp2.macomnet.net>, Maxim Konovalov writes:
 >Hi Poul,
 >
 >>  >>Description:
 >>  >		if forgot to detach gbde disk and attach it again - system traps at 100% time
 >>  >>How-To-Repeat:
 >>  >		gbde attach ad3s1d -l /etc/ad3s1d.lock
 >>  >		gbde attach ad3s1d -l /etc/ad3s1d.lock
 >>
 >>  This is fixed in -current.
 >
 >Could you please point me out where exactly?  Using -CURRENT is a bit
 >risky at the moment and I will help to the submitter to port these
 >changes back to 5.2.1.  Thanks!
 
 You want 1.24 of src/sys/geom/bde/g_bde.c
 
 -- 
 Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
 phk@FreeBSD.ORG         | TCP/IP since RFC 956
 FreeBSD committer       | BSD since 4.3-tahoe    
 Never attribute to malice what can adequately be explained by incompetence.
State-Changed-From-To: open->patched 
State-Changed-By: arved 
State-Changed-When: Tue Aug 24 17:33:30 GMT 2004 
State-Changed-Why:  
Correct state: According to phk this is fixed in CURRENT 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69741 
State-Changed-From-To: patched->closed 
State-Changed-By: simon 
State-Changed-When: Tue Aug 24 19:49:42 GMT 2004 
State-Changed-Why:  
Close this PR since there really isn't anywhere to MFC the fix to, 
since gbde isn't in 4.X, and RELENG_5_2 is a security branch. 

The fix will be in 5.3 when that is released. 

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