cvs commit: src/sys/dev/md md.c

Ken Smith kensmith at cse.Buffalo.EDU
Sat Aug 28 13:25:34 PDT 2004


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 at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


More information about the cvs-all mailing list