OpenWrt Forum Archive

Topic: Problem with "rootfs_data" partition

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All,

I am using Attitude Adjustment falvour of OpenWRT.

I have compiled a OpenWRT firmware for my unit. When the unit boots I am getting following error message,


jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x0527 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xfa47 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x0753 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0100 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x5040 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x5040 instead                                                                           
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xe11a instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0x0205 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0x6163 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0x6569 instead
jffs2: Further such events for this erase block will not be printed
jffs2: Empty flash at 0x00000588 ends at 0x00000640                               
jffs2: Empty flash at 0x000071d8 ends at 0x000071e0
jffs2: Empty flash at 0x0001b184 ends at 0x0001b240                               
jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
jffs2: empty_blocks 39, bad_blocks 0, c->nr_blocks 40                             
switching to jffs2

Note: I have created the partition named "rootfs_data", but I guess it is not being formatted with jffs2 file system. Could any one please point where I am doing the mistake?

Any help would be highly  appreciated.

Regards,
Subhra

I don't think I know how to help you, but at least elaborate on what device you have (supported? applied some patch to official source?), how did you flash it, etc..

Thank you for your response.

I am using a arm based unit similar to Netgear WNDR3800. Flashed the firmware from boot loader prompt.
Most importantly, I have created the "rootfs_data" partition explicitly.
Is it necessary to have a specific flash layout to make "rootfs_data" work properly ?

Regards,
Subhra

Hi All,

I am still not being able to solve this issue.
Could any one provide any idea ??

Regards,
Subhra

The discussion might have continued from here.