I get an 'Unable to mount root' panic if I don't apply it,
because the attached device rolls in too late.
Same for FireWire, but that's currently out of reach because
I must run rescan-scsi-bus.sh from user space to make the
disk visible as /dev/sd? (to be fixed soon??).
Same for all hotpluggable storage devices I suppose.
Of course that patch is really terribly wrong, maybe someone
will fix these things some day.
Please CC, I'm not on the list.
wait-before-mounting-root.patch in
Linux xyz 2.4.19-pre8 #2 Sun May 26 20:02:49 UTC 2002 ppc unknown
--- init/do_mounts.c.orig Sat May 25 18:11:45 2002
+++ init/do_mounts.c Sat May 25 18:15:22 2002
@@ -311,9 +311,13 @@
}
static void __init mount_block_root(char *name, int flags)
{
- char *fs_names = __getname();
+ char *fs_names;
char *p;
+ set_current_state(TASK_UNINTERRUPTIBLE);
+ schedule_timeout(10*HZ);
+
+ fs_names = __getname();
get_fs_names(fs_names);
retry:
for (p = fs_names; *p; p += strlen(p)+1) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/