Date: Fri, 15 Oct 2004 08:20:24 +0200 From: John Hay <jhay@icomtek.csir.co.za> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: geom mirror problem Message-ID: <20041015062024.GA81642@zibbi.icomtek.csir.co.za> In-Reply-To: <20041013150027.GK73767@darkness.comp.waw.pl> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> +> +> > +> +> 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 <ST3120022A/8.54> [232581/16/63] at ata0-master UDMA100 ad2: 114473MB <ST3120022A/8.54> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041015062024.GA81642>