mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue