Make sure GEOM has stopped rattling the disks before we try to mount
the root filesystem, this may be implicated in the PC98 issue.
This commit is contained in:
parent
d3eaf40966
commit
7c0c26b4c4
@ -1465,6 +1465,8 @@ vfs_mountroot(void)
|
||||
panic("Root mount failed, startup aborted.");
|
||||
}
|
||||
|
||||
void g_waitidle(void);
|
||||
|
||||
/*
|
||||
* Mount (mountfrom) as the root filesystem.
|
||||
*/
|
||||
@ -1483,6 +1485,8 @@ vfs_mountroot_try(char *mountfrom)
|
||||
mp = NULL;
|
||||
error = EINVAL;
|
||||
|
||||
g_waitidle();
|
||||
|
||||
if (mountfrom == NULL)
|
||||
return(error); /* don't complain */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user