From owner-freebsd-geom@FreeBSD.ORG Mon Oct 4 13:12:28 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7939216A4CE; Mon, 4 Oct 2004 13:12:28 +0000 (GMT) Received: from clueful.shagged.org (clueful.shagged.org [212.13.201.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41CD043D53; Mon, 4 Oct 2004 13:12:28 +0000 (GMT) (envelope-from chris@clueful.shagged.org) Received: from chris by clueful.shagged.org with local (Exim 4.40 (FreeBSD)) id 1CESda-000KuA-SC; Mon, 04 Oct 2004 14:12:22 +0100 Date: Mon, 4 Oct 2004 14:12:22 +0100 From: Chris Elsworth To: Pawel Jakub Dawidek Message-ID: <20041004131222.GA80231@shagged.org> References: <20041004084442.GA65504@shagged.org> <20041004090227.GB73767@darkness.comp.waw.pl> <20041004091509.GB65504@shagged.org> <20041004102411.GC73767@darkness.comp.waw.pl> <20041004110637.GA72685@shagged.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041004110637.GA72685@shagged.org> User-Agent: Mutt/1.5.6i Sender: Chris Elsworth X-Shagged-MailScanner-Information: See www.mailscanner.info for information X-Shagged-MailScanner: Found to be clean X-MailScanner-From: chris@clueful.shagged.org cc: freebsd-geom@freebsd.org Subject: Re: SCSI disk getting disconnected on boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 13:12:28 -0000 On Mon, Oct 04, 2004 at 12:06:37PM +0100, Chris Elsworth wrote: > On Mon, Oct 04, 2004 at 12:24:11PM +0200, Pawel Jakub Dawidek wrote: > > On Mon, Oct 04, 2004 at 10:15:09AM +0100, Chris Elsworth wrote: > > +> GEOM_MIRROR[1]: Disk da0 state changed from NEW to ACTIVE (device gm). > > +> GEOM_MIRROR[2]: Access da0 r0w1e1 = 1 > > +> GEOM_MIRROR[0]: Cannot update metadata on disk da0 (error=1). > > > > I haven't seen this error before. > > Simlar race was reported earlier. Could you try this patch: > > > > http://people.freebsd.org/~pjd/patches/gmirror.patch > > > > (You need to recompile you kernel and geom_mirror.ko module.) > > Hello Pawel, > > Oh dear - this seems to have made it worse :( Replying to myself, but I've managed to get it working. I've applied http://people.freebsd.org/~pjd/patches/root_mount.patch and set mount_root_delay="10" and it has now booted three times without disconnecting da0 :) So I look forward to the merging of both those patches :) -- Chris