jffs2 file corruption

Josh Boyer jdub at us.ibm.com
Mon Aug 30 15:40:13 EDT 2004


On Mon, 2004-08-30 at 14:30, Brian T wrote:
> Trying to (still) update from 2.4.20 to 2.4.27 on an x86 embedded unit.
> Made the kernel with CVS from 20040826 ( and added in the __ffs macro from
> the previous thread ).
> 
> Running on a 486 with 16mb Intel flash, 128k size erase sectors.  To create
> the file system I run :
> 
> mkfs.jffs2 -o romfs.img -U -n -p -e0x2000 -d romfs/

128KiB is 0x20000 (131072), not 0x2000 (8192).  Not sure if that was a
typo or not. 

> What other info would be needed to figure out what's wrong with this
> picture?

Maybe try setting CONFIG_JFFS2_FS_DEBUG=1.

josh





More information about the linux-mtd mailing list