From: soma@procsys.com (Somashekara DM)
To: linux-mtd@lists.infradead.org
Subject: Two questions on mtds on x86 platform
Date: Thu, 06 Feb 2003 20:13:22 +0530 [thread overview]
Message-ID: <3E42748A.D1E17F2A@procsys.com> (raw)
Hi,
We want to mount jffs2 on two mtd partitions as a part of our project.
Our platform is x86 - kernel version 2.4.13.
1. We are using mtdram ("Test driver using RAM") and blkmtd ("MTD
emulation using block device")
to create two mtd's. Our aim is to mount jffs2 on two different
mtds.
Using mtdram and blkmtd at the same time is not successful.
we could mount first mtd device (which ever we loaded first)
successfully but failed to mount second mtd.
mount is giving error as "mount: fs type jffs2 not supported by
kernel".
Here are the steps we have followed.
Step1 :
mknod /dev/mtd0 c 90 0
mknod /dev/mtd2 c 90 2
and
mknod /dev/mtdblock0 b 31 0
mknod /dev/mtdblock2 b 31 2
Step2 :
load mtd driver for RAM and hard disk using 'mtdram' and 'blkmtd'
respectively.
insmod mtdram
insmod blkmtd device=/dev/hda7
Step3 :
write jffs2 image on theses device
Step4 :
mount jffs2 file system on these mtd's as follows
mount -t jffs2 /dev/mtdblock0 /mnt/jffs2drive0 //successfully
mounted
mount -t jffs2 /dev/mtdblock2 /mnt/jffs2drive2 //this mount fails
error - "mount: fs type jffs2 not supported by kernel"
What is going wrong here? Is it possible to use mtdram and blkmtd at the
same time?
Can you give us the procedure for doing this?
2. Can we create multiple partitions on the 'mtdram'?
Can you give us the procedure for that?
--DMS
next reply other threads:[~2003-02-06 14:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 14:43 Somashekara DM [this message]
2003-02-06 14:58 ` Two questions on mtds on x86 platform David Woodhouse
2007-03-14 12:31 ` Two questions on mtds on x86 platform - multiple mtdram MikeW
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=3E42748A.D1E17F2A@procsys.com \
--to=soma@procsys.com \
--cc=linux-mtd@lists.infradead.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