* Some drivers pickup devices asynchronously in a manner which the
intitial CAM probe does not cover. Try to give these drivers a little
extra time to pickup devices before mounting root. This is a hack.
static void
vfs_mountroot(void *junk)
{
- int i;
cdev_t save_rootdev = rootdev;
+ int i;
+ int dummy;
/*
* Make sure all disk devices created so far have also been probed,
*
* Messages can fly around here so get good synchronization
* coverage.
+ *
+ * XXX - Delay an additional 2 seconds to help drivers which pickup
+ * devices asynchronously and are not caught by CAM's initial
+ * probe.
*/
sync_devs();
+ tsleep(&dummy, 0, "syncer", hz*2);
+
/*
* The root filesystem information is compiled in, and we are