JFFS2 Corruption.

Simon Haynes simon at baydel.com
Fri Mar 19 05:37:04 EST 2004


On 16 Mar 2004 at 16:14, David Woodhouse wrote:

> On Tue, 2004-03-09 at 15:33 +0000, Simon Haynes wrote:
> > -bash-2.05b# mount -t jffs2 /dev/ram1 /smc
> > Cowardly refusing to erase blocks on filesystem with no valid JFFS2
> 
> This I believe we put down to user error?

Yes, this was a problem I introduced when trying to track down why I got the Magic 
bitmask messages.


> 
> > After 5 reboots the new SMC gave this magic bitmask failure.
> > 
> > jffs2: Erase block size too small (16KiB). Using virtual blocks size
> > (32KiB) instead ofs 0x000a8400 has already been seen. Skipping, jeb
> 
> That was a bug in the scanning code. Should be fixed in v1.58 of
> scan.c in CVS. Please could you try that and let me know if it works?
> 
I have not had chance a yet to download scan from CVS. However I did make the 
simple change you suggested and everything worked fine.

Thankyou, Thankyou, Thankyou

Simom.





__________________________

Simon Haynes - Baydel 
Phone : 44 (0) 1372 378811
Email : simon at baydel.com
__________________________




More information about the linux-mtd mailing list