From owner-freebsd-current@FreeBSD.ORG Fri Oct 8 05:14:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EC9A16A4CF for ; Fri, 8 Oct 2004 05:14:01 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id B84DB43D53 for ; Fri, 8 Oct 2004 05:14:00 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 7A954ACAF1; Fri, 8 Oct 2004 07:13:59 +0200 (CEST) Date: Fri, 8 Oct 2004 07:13:59 +0200 From: Pawel Jakub Dawidek To: John Hay Message-ID: <20041008051359.GF73767@darkness.comp.waw.pl> References: <20041006195428.GA8886@zibbi.icomtek.csir.co.za> <20041007055209.GU73767@darkness.comp.waw.pl> <20041007065125.GA29164@zibbi.icomtek.csir.co.za> <20041007082652.GX73767@darkness.comp.waw.pl> <20041007085920.GA32875@zibbi.icomtek.csir.co.za> <20041007090656.GY73767@darkness.comp.waw.pl> <20041007132421.GA41532@zibbi.icomtek.csir.co.za> <20041007133537.GC73767@darkness.comp.waw.pl> <20041007202326.GA55025@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mWEPrn9k3Wj8m9KK" Content-Disposition: inline In-Reply-To: <20041007202326.GA55025@zibbi.icomtek.csir.co.za> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-current@freebsd.org cc: y@zibbi.icomtek.csir.co.za Subject: Re: geom mirror problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 05:14:01 -0000 --mWEPrn9k3Wj8m9KK Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 07, 2004 at 10:23:27PM +0200, John Hay wrote: +> > This is because ad0 is open with exclusive bit, so gmirror cannot open +> > it for writing and it gets (EPERM - error=3D1 - errno(2)). +> > gmirror.patch should eliminate this race. +>=20 +> With gmirror.patch I don't see the geom_mirror error messages, but then +> it doesn't finish booting: +>=20 +> ####################################################### +> GEOM_MIRROR: Device gm0 created (id=3D861616013) +> GEOM_MIRROR: Device gm0: provider ad0 detected +> GEOM_MIRROR: Device gm0: provider ad2 detected +> Mounting root from ufs:/dev/mirror/gm0s1a +> setrootbyname failed +> Root mount failed: 6 +> Manual root filesystem specification +> ... +> mountroot> +> ####################################################### +>=20 +> So how do I go from here? Is there something else I can try? I wonder how is this possible with g_mirror.c rev.1.36... Could you try this patch and send me the output: http://people.freebsd.org/~pjd/patches/gmirror.3.patch --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --mWEPrn9k3Wj8m9KK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBZiIXForvXbEpPzQRAlZ+AKDTmzgRDS+Qjq2l5BXmtwS4pgUcaQCg917D O4VHYNaHDmR3PLtF1WSMAHg= =sc6E -----END PGP SIGNATURE----- --mWEPrn9k3Wj8m9KK--