jffs2 problem

Hinko Kocevar hinko.kocevar at cetrtapot.si
Tue Jul 19 07:45:40 EDT 2005


Artem B. Bityuckiy wrote:
>> Flash is NOR Intel E28F128J3A150.
>>
>> I'm booting with NFS enabled kernel and rootfs over NFS, then erasing 
>> mtd partition that holds rootfs and then copying rootfs.jffs2 to mtd 
>> partition like this:
> 
> 
> Could you please enable JFFS2 debugging and post its output?
> 

There you go. This is with JFFS2 debug set to 2 and MTD debug set to 3.
...
NET: Registered protocol family 17
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x234a 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x755a 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x7404 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x2e9e 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x7084 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x3922 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x3d61 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x8bd7 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x71ed 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x0f2a 
instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x00005ae4
You cannot use older JFFS2 filesystems with newer kernels
Old JFFS2 bitmask found at 0x00006d1c
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
SR.4 or SR.5 bits set in buffer write (status b0). Clearing.


I dont't understand why would JFFS2 complain about older fs and newer kernel if 
I'm using mkfs.jffs2 from July 2005 snapshot?!

-- 
..because under Linux "if something is possible in principle,
then it is already implemented or somebody is working on it".

					--LKI




More information about the linux-mtd mailing list