public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Can't mount jffs2 on mtdblock0
@ 2002-04-26 17:03 Eric Nelson
  2002-04-26 17:39 ` Frederick Lefebvre
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Nelson @ 2002-04-26 17:03 UTC (permalink / raw)
  To: linux-mtd

I started w/ kernel-2.4.19-pre7, and downloaded the mtd from cvs in the last
couple of days.

I am using a 32 Meg DOC2000

I believe I configured the correct options in the kernel, and set up the correct
devices in dev, including mtdblock0 at 31 0.

I loaded the following modules:
mtdcore docecc doc2000 nftl mtdchar docprobe jffs2

I can cat /dev/mtd and see the DOC 2000

I built the util files, and used mkfs.jffs2 to build a JFFS2 image.

I originally saw the nftla, but later ran erase from offset 0, so I don't have
nftl, but, as I understand it, I don't need it for JFFS2.

I can cat jffs2.image to and from /dev/mtd0, and see the files with jffs2reader.

But, when I try:
mount -t jffs2 /dev/mtdblock0 /mnt
I get "No such device or address"

When I ran this command w/ strace, it seemed to mess up as follows:
...
.../sbin/mount.jffs2, ... No such file or directory
and
mount("/dev/mtdblock0", "/mnt", "jffs2", 0xnnnnn,0) = -1 ENOSYS Function not
implemented
 "               "               "                  = -1 ENXIO No such device or
address

Hopefully, I am missing something obvious.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-26 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-26 17:03 Can't mount jffs2 on mtdblock0 Eric Nelson
2002-04-26 17:39 ` Frederick Lefebvre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox