Error: jffs2_decompress returned -5

Ferenc Havasi havasi at inf.u-szeged.hu
Sat Aug 28 16:32:55 EDT 2004


Dominik Karall wrote:
> On Friday 27 August 2004 23:50, Brian T wrote:
 >
>>After patching 2.4.27 with the snapshot from today, and adding "__ffs" to
>>compatmac.h , everything compiles, but then when reading my jffs2 file
>>system I get this :
>>
>>Freeing unused kernel memory: 68k freed
>>JFFS2 compression type 0x06 not available.
>>Error: jffs2_decompress returned -5
>>JFFS2 compression type 0x06 not available.
>>Error: jffs2_decompress returned -5
>>Kernel panic: No init found.  Try passing init= option to kernel.
 >
> I think you specified a compression type when building the image with 
> mkfs.jffs2, which isn't selected in the kernel config. But I can't tell you 
> which type 0x06 is.

0x06 means ZLIB. (you can check it in jffs2.h)

Is there CONFIG_JFFS2_ZLIB in your kernel config?

Regards,
Ferenc




More information about the linux-mtd mailing list