problems mounting >3.3MB JFFS2 partitions on Dataflash on AT91RM9200DK
Aras Vaichas
arasv at magellan-technology.com
Tue Jul 20 20:45:22 EDT 2004
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 at 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 at 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 at 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 at 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 at AT91RM9200DK /root]$
More information about the linux-mtd
mailing list