Error: jffs2_decompress returned -5
So,
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 :
SnapGear Intel: Found 1 x16 devices at 0x0 in 8-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write methodcfi_cmdset_0001: Erase suspend on write enabled
SnapGear Intel: Found 1 x16 devices at 0x0 in 8-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write methodcfi_cmdset_0001: Erase suspend on write enabled
SNAPGEAR: Intel flash device size = 16384K
Creating 6 MTD partitions on "SnapGear Intel":
0x00000000-0x000e0000 : "JBM kernel"
0x00100000-0x00fe0000 : "JBM filesystem"
0x000e0000-0x00100000 : "JBM config"
0x00000000-0x01000000 : "JBM Intel"
0x00fe0000-0x01000000 : "JBM BIOS Config" 0x00fe0000-0x01000000 : "JBM BIOS"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
Linux IP multicast router 0.06 plus PIM-SMip_conntrack version 2.1 (512 buckets, 4096 max) - 288 bytes per conntrackip_tables: (C) 2000-2002 Netfilter core teamarp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
NET4: Linux IPX 0.47 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
VFS: Mounted root (jffs2 filesystem) readonly.
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 haven't seen those errors before. Anyone care to point me in the right
direction?
Thanks,
-Brian
Quoted 14 lines · Brian T
So,
After patching 2.4.27 with the snapshot from today, and adding "
__ffs" tocompatmac.h, everything compiles, but then when reading my jffs2 file system I get this :Freeing unused kernel memory: 68k freed
JFFS2 compression type0x06not available.
Error:jffs2_decompressreturned -5
JFFS2 compression type0x06not available.
Error:jffs2_decompressreturned -5Kernel panic: No init found. Try passing init= option to kernel.
Quoted 6 lines
I haven't seen those errors before. Anyone care to point me in the right
direction?Thanks,
-Brian
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.
regards,
dominik
Quoted 6 lines · Dominik Karall
Quoted 4 lines · Brian T
After patching 2.4.27 with the snapshot from today, and adding "
__ffs" tocompatmac.h, everything compiles, but then when reading my jffs2 file system I get this :
Quoted 8 lines
Quoted 6 lines
Freeing unused kernel memory: 68k freed
JFFS2 compression type0x06not available.
Error:jffs2_decompressreturned -5
JFFS2 compression type0x06not available.
Error:jffs2_decompressreturned -5Kernel 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
0x06is.
0x06 means ZLIB. (you can check it in jffs2.h)
Is there CONFIG_JFFS2_ZLIB in your kernel config?
Regards,
Ferenc
Quoted 6 lines
0x06means ZLIB. (you can check it injffs2.h)Is there
CONFIG_JFFS2_ZLIBin your kernel config?
Ah no, that's not set. I'll check turn that on and try again Monday.
-Brian