public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Aras Vaichas <arasv@magellan-technology.com>
To: MTD-LIST <linux-mtd@lists.infradead.org>
Subject: Re: problems mounting >3.3MB JFFS2 partitions on Dataflash on	AT91RM9200DK
Date: Wed, 21 Jul 2004 10:45:22 +1000	[thread overview]
Message-ID: <40FDBCA2.30102@magellan-technology.com> (raw)
In-Reply-To: <1090316488.6864.0.camel@lap02.tec.linutronix.de>


Thomas Gleixner wrote:
> Turn on MTD_DEBUG and JFFS2_DEBUG and provide the output of those
> 
> tglx
> 

OK, three examples:

(1) mounting a small jffs2 partition

[root@AT91RM9200DK /root]$more /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00010000 "Physically mapped flash"
mtd1: 000ffc00 00000420 "kernel_image"
mtd2: 00400080 00000420 "4MB_part"
mtd3: 00300060 00000420 "3MB_part"
mtd4: 00040320 00000420 "the_rest"

[root@AT91RM9200DK /root]$mount /dev/mtdblock/4 /mnt/4
mtdblock_open
ok
mtdblock: read on "the_rest" at 0x0, size 0x800
mtdblock: read on "the_rest" at 0x800, size 0x800
mtdblock: read on "the_rest" at 0x2000, size 0x800
mtdblock: read on "the_rest" at 0x2800, size 0x800
mtdblock: read on "the_rest" at 0x3000, size 0x800
mtdblock: read on "the_rest" at 0x3800, size 0x800
mtdblock: read on "the_rest" at 0x8000, size 0x800
mtdblock: read on "the_rest" at 0x8800, size 0x800
mtdblock: read on "the_rest" at 0x9000, size 0x800
mtdblock: read on "the_rest" at 0x9800, size 0x800
mtdblock_release
ok
mtdblock_open
ok


(2) mounting a large jffs2 partition, no fs type specified

[root@AT91RM9200DK /root]$mount /dev/mtdblock/2 /mnt/2
mtdblock_open
ok
mtdblock: read on "4MB_part" at 0x0, size 0x800
mtdblock: read on "4MB_part" at 0x800, size 0x800
mtdblock: read on "4MB_part" at 0x2000, size 0x800
mtdblock: read on "4MB_part" at 0x2800, size 0x800
mtdblock: read on "4MB_part" at 0x3000, size 0x800
mtdblock: read on "4MB_part" at 0x3800, size 0x800
mtdblock: read on "4MB_part" at 0x8000, size 0x800
mtdblock: read on "4MB_part" at 0x8800, size 0x800
mtdblock: read on "4MB_part" at 0x9000, size 0x800
mtdblock: read on "4MB_part" at 0x9800, size 0x800
mtdblock_release
ok
mtdblock_open
ok
mtdblock_release
ok
mount: you must specify the filesystem type

(3) mounting a large jffs2 partition, jffs2 type specified

[root@AT91RM9200DK /root]$mount -t jffs2 /dev/mtdblock/2 /mnt/2
mtdblock_open
ok
mtdblock_release
ok
mountmtdblock_open
:ok
  wrong fsmtdblock_release
  ok
type, bad option, bad superblock on /dev/mtdblock/2,
        or too many mounted file systems
[root@AT91RM9200DK /root]$

  reply	other threads:[~2004-07-21  0:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20  8:56 problems mounting >3.3MB JFFS2 partitions on Dataflash on AT91RM9200DK Aras Vaichas
2004-07-20  9:41 ` Thomas Gleixner
2004-07-21  0:45   ` Aras Vaichas [this message]
2004-07-21  2:51     ` David Woodhouse
2004-07-21  4:14       ` Aras Vaichas
2004-07-20 12:33 ` David Woodhouse

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=40FDBCA2.30102@magellan-technology.com \
    --to=arasv@magellan-technology.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