From owner-freebsd-bugs Mon Mar 26 21:12:20 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from erlenstar.demon.co.uk (erlenstar.demon.co.uk [194.222.144.22]) by hub.freebsd.org (Postfix) with ESMTP id DE53937B719; Mon, 26 Mar 2001 21:12:16 -0800 (PST) (envelope-from andrew@erlenstar.demon.co.uk) Received: (from andrew@localhost) by erlenstar.demon.co.uk (8.8.8/8.8.8) id GAA21988; Tue, 27 Mar 2001 06:12:15 +0100 (BST) (envelope-from andrew) To: Cc: freebsd-bugs@freebsd.org Subject: Re: kern/4265: Panic in dsinit when multiple FreeBSD slices exist on one disk References: <200103262346.f2QNkXL76828@freefall.freebsd.org> From: Andrew Gierth In-Reply-To: 's message of "Mon, 26 Mar 2001 15:46:33 -0800 (PST)" X-Mayan-Date: Long count = 12.19.8.1.11; tzolkin = 5 Chuen; haab = 14 Cumku X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG Date: 27 Mar 2001 06:12:14 +0100 Message-ID: <87zoe794nl.fsf@erlenstar.demon.co.uk> Lines: 20 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> "iedowse" == writes: iedowse> Synopsis: Panic in dsinit when multiple FreeBSD slices exist iedowse> on one disk iedowse> State-Changed-From-To: open->feedback iedowse> State-Changed-By: iedowse iedowse> State-Changed-When: Mon Mar 26 15:45:29 PST 2001 iedowse> State-Changed-Why: iedowse> Is this still a problem in more recent releases? I don't have anything running a recent release that is sliced this way so I can't confirm this either way. See the original PR for suggestions on how to reproduce the problem. A cursory glance at the code suggests that the locking now present in diskopen() _should_ be sufficient to avoid the race condition. -- Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message