DragonFly bugs List (threaded) for 2009-09
Re: [issue1463] Mountroot before drives are initialized
:Hasso Tepper <firstname.lastname@example.org> added the comment:
:I have the same issue and also using ciss(4) (HP Proliant DL360 G6). Vanill=
:kernel fails 100% here to mount root from harddisk, but with kern.disk_debu=
If Alex doesn't come up with something in the next week or so we will
add a straight-up delay before mountroot.
In fact, could you test that a straight out delay before mountroot works?
Here's a patch.
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index a159afc..8bdea67 100644
@@ -109,8 +109,9 @@ SYSINIT(mountroot, SI_SUB_MOUNT_ROOT, SI_ORDER_SECOND, vfs_mountroot, NULL);
- int i;
cdev_t save_rootdev = rootdev;
+ int i;
+ int dummy;
* Make sure all disk devices created so far have also been probed,
@@ -121,6 +122,8 @@ vfs_mountroot(void *junk)
+ tsleep(&dummy, 0, "syncer", hz*2);
* The root filesystem information is compiled in, and we are