Warning during GC, resulting in to Magic Bitmask Error for JFFS2.
Niraj Maheshwari
niraj.maheshwari at gmail.com
Fri May 6 02:27:19 EDT 2005
Hi,
I am using Linux 2.6.10 kernel and mounting the JFFS2 partition from
Intel NOR flash after booting the system. These error doesn't appear
always, it only comes
if we follow the steps explained below.
1. Boot the system and mount the JFFS2 partition. It happens without
any error at the first time.
2. Copy enough data to JFFS2 mounted directory so it becomes full.
3. Once the mounted partition is full, we delete few files from the partition.
We get following warning when we do that.
"jffs2_reserve_space(): Low on dirty space to GC, but it's a
deletion. Allowing.."
4. Now again reboot the system now we get below errors while mounting the
JFFS2 partition.
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0013cad4: 0xa6fc instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0013cad8: 0x6e03 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013cadc: 0x70cd in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013cae0: 0x0e5f in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013cae4: 0x75aa in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013cae8: 0xca04 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0013caec: 0x5aec in
stead
It would be really great if you can help me out to fix this problem.
Pl. note that i am only using the JFFS2 support which has come along
with the 2.6.10 Kernel.
Pl. help me out to fix this problem.
Thanks
Niraj
More information about the linux-mtd
mailing list