From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 06:20:42 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 7D28E16A4CE; Fri, 15 Oct 2004 06:20:42 +0000 (GMT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AAE143D2D; Fri, 15 Oct 2004 06:20:35 +0000 (GMT) (envelope-from jhay@icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) i9F6KOZV081836; Fri, 15 Oct 2004 08:20:27 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)i9F6KOqE081835; Fri, 15 Oct 2004 08:20:24 +0200 (SAST) (envelope-from jhay) Date: Fri, 15 Oct 2004 08:20:24 +0200 From: John Hay To: Pawel Jakub Dawidek Message-ID: <20041015062024.GA81642@zibbi.icomtek.csir.co.za> References: <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> <20041013150027.GK73767@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041013150027.GK73767@darkness.comp.waw.pl> User-Agent: Mutt/1.4.1i 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: Fri, 15 Oct 2004 06:20:42 -0000 > +> +> > +> +> So I guess there is still some kind of race going on and I was just lucky > +> +> with my first try with gmirror.3.patch? > +> > +> 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 Ok, I have tried it with all the other patches also applied. Maybe I should try with only this one? I see you are pulling all your changes into RELENG_5, so maybe I should try with just that and no patches? Anyway I have booted twice now and both times it booted, but in degraded mode. It looks like this: ################### acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0% ad0: 114473MB [232581/16/63] at ata0-master UDMA100 ad2: 114473MB [232581/16/63] at ata1-master UDMA100 GEOM_MIRROR: Device gm0 created (id=861616013). GEOM_MIRROR: Device gm0: provider ad0 detected. GEOM_MIRROR: Device gm0: provider ad2 detected. GEOM_MIRROR: g_mirror_can_go: geom gm0.sync GEOM_MIRROR: g_mirror_can_go: NULL provider GEOM_MIRROR: g_mirror_can_go: can_go=0 GEOM_MIRROR: Device gm0: provider ad2 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. GEOM_MIRROR: Device gm0: rebuilding provider ad0. GEOM_MIRROR: g_mirror_can_go: geom gm0.sync GEOM_MIRROR: g_mirror_can_go: geom is ready GEOM_MIRROR: g_mirror_can_go: geom gm0 GEOM_MIRROR: g_mirror_can_go: geom is ready GEOM_MIRROR: g_mirror_can_go: can_go=1 Mounting root from ufs:/dev/mirror/gm0s1a ################### How can I see why it starts in degraded mode or can one deduce it from the above output? John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org