From: Ian Campbell <icampbell@arcom.com>
To: colin <colin@realtek.com.tw>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange! Cannot use JFFS2 as root
Date: Wed, 20 Oct 2004 15:29:51 +0100 [thread overview]
Message-ID: <1098282591.29412.1706.camel@icampbell-debian> (raw)
In-Reply-To: <002101c4b6ad$9fe6d880$8b1a13ac@realtek.com.tw>
> I traced the code and found that when passing "/dev/mtdblock1" to
> name_to_dev_t() in do_mounts.c, it would return 0 at every try_name(), which
> will fail at open() with the path "/sys/block/%s/dev".
>
> What's the problem? Could anyone tell me?
If I remember correctly you need to pass the root in as the major and
minor numbers for jffs2 on 2.6. For example my 2.6 command line is
root=31:03 rootfstype=jffs2 ro console=ttyS0,115200
rather that root=/dev/mtdblock3.
I can't remember why this is the case though.
Ian.
--
Ian Campbell, Senior Design Engineer
Web: http://www.arcom.com
Arcom, Clifton Road, Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom Phone: +44 (0)1223 411 200
next prev parent reply other threads:[~2004-10-20 14:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 14:03 colin
2004-10-20 14:29 ` Ian Campbell [this message]
2004-10-21 1:49 ` [*VIP*] " colin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1098282591.29412.1706.camel@icampbell-debian \
--to=icampbell@arcom.com \
--cc=colin@realtek.com.tw \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome