X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=init%2Fdo_mounts.c;h=46fe407fb03eb6be6236378be2daa79a61cd5aa1;hb=1f8481d19af005c469ee50cf972486240905585e;hp=3f57ed4599d6d87282f0afaead6e8ae3ad8cbf79;hpb=02a93208edec0d655c9f18613d830dc6afeda7d4;p=mv-sheeva.git diff --git a/init/do_mounts.c b/init/do_mounts.c index 3f57ed4599d..46fe407fb03 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -308,17 +309,21 @@ retry: /* * Allow the user to distinguish between failed sys_open * and bad superblock on root device. + * and give them a list of the available devices */ #ifdef CONFIG_BLOCK __bdevname(ROOT_DEV, b); #endif printk("VFS: Cannot open root device \"%s\" or %s\n", root_device_name, b); - printk("Please append a correct \"root=\" boot option\n"); + printk("Please append a correct \"root=\" boot option; here are the available partitions:\n"); + printk_all_partitions(); panic("VFS: Unable to mount root fs on %s", b); } + printk("List of all partitions:\n"); + printk_all_partitions(); printk("No filesystem could mount root, tried: "); for (p = fs_names; *p; p += strlen(p)+1) printk(" %s", p);