From owner-cvs-all@FreeBSD.ORG Sat Aug 28 20:25:34 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77FAA16A4CE; Sat, 28 Aug 2004 20:25:34 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2348C43D1F; Sat, 28 Aug 2004 20:25:34 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i7SKPXTH028884; Sat, 28 Aug 2004 16:25:33 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i7SKPXAl028883; Sat, 28 Aug 2004 16:25:33 -0400 (EDT) Date: Sat, 28 Aug 2004 16:25:33 -0400 From: Ken Smith To: Colin Percival Message-ID: <20040828202532.GH26424@electra.cse.Buffalo.EDU> References: <200408281954.i7SJsojG018658@repoman.freebsd.org> <20040828195953.GE26424@electra.cse.Buffalo.EDU> <6.1.0.6.1.20040828130357.0387c878@popserver.sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.1.0.6.1.20040828130357.0387c878@popserver.sfu.ca> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: Ken Smith cc: cvs-all@FreeBSD.org cc: Ken Smith cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/md md.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 20:25:34 -0000 On Sat, Aug 28, 2004 at 01:08:30PM -0700, Colin Percival wrote: > At 12:59 28/08/2004, Ken Smith wrote: > >On Sat, Aug 28, 2004 at 07:54:50PM +0000, Ken Smith wrote: > >> Back out the MFC done as rev 1.127.2.1. It seems to fix the problem of > >> mdconfig returning before the device's name appears in /dev but it seems > >> to cause a worse problem. When booting the installation media (CD or > >> boot floppies) the system hangs after the device probes, at the point > >> it should be trying to mount a MD-based filesystem as its root filesystem. > > > >Colin/Poul-Henning, do you mind checking into why the call to > >g_waitidle() seems to cause problems using an md device as a root > >filesystem during install? > > I'm guessing that at this point in the boot process, geom > hasn't reached the stage of being able to look at events > and do something with them. > > I suspect that replacing > g_waitidle(); > with > if (sc->type != MD_PRELOAD) > g_waitidle(); > will fix this problem; I'll test and commit this later. > Thanks! Sorry for blind-siding you guys with this but it was getting in the way of getting BETA2 completed which needed to be based on what's in RELENG_5. The backout of the MFC seemed like the best way to handle it. :-( -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |