* Error: jffs2_decompress returned -5
@ 2004-08-27 21:50 Brian T
2004-08-27 23:06 ` Dominik Karall
0 siblings, 1 reply; 4+ messages in thread
From: Brian T @ 2004-08-27 21:50 UTC (permalink / raw)
To: linux-mtd
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 method
cfi_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 method
cfi_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-SM
ip_conntrack version 2.1 (512 buckets, 4096 max) - 288 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
arp_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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error: jffs2_decompress returned -5
2004-08-27 21:50 Error: jffs2_decompress returned -5 Brian T
@ 2004-08-27 23:06 ` Dominik Karall
2004-08-28 20:32 ` Ferenc Havasi
0 siblings, 1 reply; 4+ messages in thread
From: Dominik Karall @ 2004-08-27 23:06 UTC (permalink / raw)
To: linux-mtd; +Cc: Brian T
On Friday 27 August 2004 23:50, Brian T wrote:
> 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 :
>
> 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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error: jffs2_decompress returned -5
2004-08-27 23:06 ` Dominik Karall
@ 2004-08-28 20:32 ` Ferenc Havasi
2004-08-29 13:39 ` Brian T
0 siblings, 1 reply; 4+ messages in thread
From: Ferenc Havasi @ 2004-08-28 20:32 UTC (permalink / raw)
To: linux-mtd; +Cc: Brian T
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-29 13:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-27 21:50 Error: jffs2_decompress returned -5 Brian T
2004-08-27 23:06 ` Dominik Karall
2004-08-28 20:32 ` Ferenc Havasi
2004-08-29 13:39 ` Brian T
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox