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