Re: 2.6.0-test2-mm1: Can't mount root

From: Andrew Morton (akpm@osdl.org)
Date: Mon Jul 28 2003 - 16:47:04 EST


Shawn <core@enodev.com> wrote:
>
> I'm using ide=reverse, and my root is on hde5. 2.6.0-test1-mm2 finds my
> root fs fine using the init/do_mounts.c patch posted recently.
>
> 2.6.0-test2-mm1 (in which said patch seems to have been included),
> however, fails on all of the following root= options:
> * 2105
> * /dev/ide/host2/bus0/target0/lun0/part5
> * /dev/hde5
>
> I don't know what to try next. Can someone enlighten me as to what has
> been happening lately?

Beats me. Tried "/dev/hde/5" and "21:05"?

Can you see what this says?

 25-akpm/init/do_mounts.c | 1 +
 1 files changed, 1 insertion(+)

diff -puN init/do_mounts.c~a init/do_mounts.c
--- 25/init/do_mounts.c~a Mon Jul 28 14:44:37 2003
+++ 25-akpm/init/do_mounts.c Mon Jul 28 14:44:53 2003
@@ -74,6 +74,7 @@ static dev_t __init try_name(char *name,
         /*
          * The format of dev is now %u:%u -- see print_dev_t()
          */
+ printk("scanning `%s'\n", buf);
         if (sscanf(buf, "%u:%u", &maj, &min) == 2)
                 res = MKDEV(maj, min);
         else

_

Also take a close look at the dmesg output, make sure that all the devices
and partitions are appearing in the expected places.

-
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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:38 EST