cvs commit: src/sys/dev/md md.c
Colin Percival
colin.percival at wadham.ox.ac.uk
Sat Aug 28 16:48:31 PDT 2004
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
More information about the cvs-src
mailing list