Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2004 10:59:20 +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:  <20041007085920.GA32875@zibbi.icomtek.csir.co.za>
In-Reply-To: <20041007082652.GX73767@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 07, 2004 at 10:26:52AM +0200, Pawel Jakub Dawidek wrote:
> On Thu, Oct 07, 2004 at 08:51:26AM +0200, John Hay wrote:
> +> > +> Anyway here are some more detail. I'm running the latest RELENG_5 with
> +> > +> Pawel's with g_mirror.c v 1.34 and 1.35 from current applied. After
> +> > +> syncing and rebooting I see these messages:
> +> > [...]
> +> > 
> +> > Is this 5.3 or 6-CURRENT?
> +> 
> +> I guess "latest RELENG_5 with ... g_mirror.c v 1.34 and 1.35 from current"
> +> makes it somewhere past 5.3-beta7, but not current. :-)
> 
> Sorry, I missed that.
> 
> +> > Could you try this patch:
> +> > 
> +> > 	http://people.freebsd.org/~pjd/patches/gmirror.patch
> +> 
> +> I did, but it does not boot, it stops with a mountroot> prompt. Hand
> +> written it looks something like this:
> +> 
> +> #######################################################
> +> GEOM_MIRROR: Device gm0 created (id=861616013)
> +> 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>
> +> #######################################################
> 
> But you still need:
> 
> 	http://people.freebsd.org/~pjd/patches/gmirror.2.patch
> 
> Could you try again with both those patches?
> If it works, could you try only with gmirror.2.patch?

But that is the same as v1.34 of g_mirror.c? I did apply that, also
1.35 which added the "if (sc == NULL)" check. I haven't added 1.36
yet though.

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?20041007085920.GA32875>