Re: Probloem mounting mtd with jffs2

"Sam Fei" <[email protected]>
Newsgroups gmane.linux.file-systems.jffs
Message-ID <[email protected]>
Lsreddy,您好!

	you should create jffs2 fs by using:

    eraseall /dev/mtd2
    cp jffs2.img /dev/mtd2

    jffs2.img is the jffs2 fs image file created  by mkfs.jffs2  in host computer. (you should know little-edian or big-edian!)
  
then mount.

======= 2003-10-30 08:03:00 您在来信中写道:=======

>Dear All,
>mounting mtdblock with jffs2 fails says not found magic number for jffs2
>filesystem.Does it mean that i have to create jffs2 fs on mtdblock2, before
>mount.It also syas in some place Old bitmask found at location 0xxxxxx.At
>the end it says faild to mount to mtdblock.Please find the info pasted
>bellow.I use montavista linux corss compilting evironment for arm xscale
>architecture.
>I use mvl 2.4.18 kernel.Please let me know how to mount to the mtd partion.
>thanks,
>regards,
>lsreddy.
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
># mount -n -t jffs2 /dev/mtdblock3 /mnt/jffs2/
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000:
>0x28cd instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004:
>0x006e instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010:
>0x436f instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014:
>0x7265 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018:
>0x6564 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c:
>0x4f4d instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020:
>0x5a4e instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030:
>0x436f instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000034:
>0x7265 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000038:
>0x6564 instead
>Further such events for this erase block will not be printed
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000:
>0xae8e instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004:
>0xefae instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008:
>0x8edc instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c:
>0xa4c7 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010:
>0x1eab instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014:
>0xf5ca instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018:
>0xbfc5 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c:
>0xff12 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020:
>0x53ca instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024:
>0x5d9a instead
>Further such events for this erase block will not be printed
>Old JFFS2 bitmask found at 0x00026920
>You cannot use older JFFS2 filesystems with newer kernels
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000:
>0x9ee8 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004:
>0x2b7b instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008:
>0x7cc8 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c:
>0x5c36 instead
>---
>---
>---jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0000:
>0x26bf instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0004:
>0xbf51 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0008:
>0x4f7b instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e000c:
>0x1286 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0010:
>0xf64c instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0014:
>0xc911 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0018:
>0x166c instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e001c:
>0x9ac5 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0020:
>0x3368 instead
>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006e0024:
>0x5d60 instead
>Further such events for this erase block will not be printed
>Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
>empty_blocks 0, bad_blocks 0, c->nr_blocks 56
>mount: Mounting /dev/mtdblock2 on /mnt/jffs2 failed: Invalid argument
>
>
>To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
>the body of a message to [email protected]

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 


2003-10-31




To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.