From owner-freebsd-current@FreeBSD.ORG Wed Oct 13 15:00:38 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 813EC16A4CF for ; Wed, 13 Oct 2004 15:00:38 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFF5143D1F for ; Wed, 13 Oct 2004 15:00:37 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 161D9ACC68; Wed, 13 Oct 2004 17:00:27 +0200 (CEST) Date: Wed, 13 Oct 2004 17:00:27 +0200 From: Pawel Jakub Dawidek To: John Hay Message-ID: <20041013150027.GK73767@darkness.comp.waw.pl> References: <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> <20041008051359.GF73767@darkness.comp.waw.pl> <20041008055833.GB42075@zibbi.icomtek.csir.co.za> <20041008090309.GA77513@zibbi.icomtek.csir.co.za> <20041011134828.GI73767@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5szWch92WbdldFR4" Content-Disposition: inline In-Reply-To: <20041011134828.GI73767@darkness.comp.waw.pl> 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 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: Wed, 13 Oct 2004 15:00:38 -0000 --5szWch92WbdldFR4 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 11, 2004 at 03:48:28PM +0200, Pawel Jakub Dawidek wrote: +> +> ####################################################### +> +> ad0: 114473MB [232581/16/63] at ata0-master UDMA100 +> +> ad2: 114473MB [232581/16/63] at ata1-master UDMA100 +> +> GEOM_MIRROR: g_mirror_can_go: can_go=3D1 +> +> 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 I guess there is still some kind of race going on and I was just l= ucky +> +> with my first try with gmirror.3.patch? +>=20 +> Looks like it. I'll try to prepare another, but more hackish patch. Here is a real hack, but I can't find a quick, non-hackish and non-intrusive fix: http://people.freebsd.org/~pjd/patches/g_mirror.c.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! --5szWch92WbdldFR4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBbUMLForvXbEpPzQRAvofAKCvMlC6/88WirF6I7fqYmqhJsD9WQCgjfQI V1M1iqMNdSOEJ9BxY+1TzoM= =LIMN -----END PGP SIGNATURE----- --5szWch92WbdldFR4--