Date: Sat, 28 Aug 2004 16:25:33 -0400 From: Ken Smith <kensmith@cse.Buffalo.EDU> To: Colin Percival <colin.percival@wadham.ox.ac.uk> Cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/md md.c Message-ID: <20040828202532.GH26424@electra.cse.Buffalo.EDU> In-Reply-To: <6.1.0.6.1.20040828130357.0387c878@popserver.sfu.ca> References: <200408281954.i7SJsojG018658@repoman.freebsd.org> <20040828195953.GE26424@electra.cse.Buffalo.EDU> <6.1.0.6.1.20040828130357.0387c878@popserver.sfu.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828202532.GH26424>