[Top] [All Lists]

invalid compressed format (err=1)<6>

To: linux-mips <>
Subject: invalid compressed format (err=1)<6>
From: zhuzhenhua <>
Date: Sun, 22 Jan 2006 14:58:35 +0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dOdnpCD+p4sSYLlW3s/ktEPv0M2MBUK7n4D3pHcvHOmPR+ki0TczEfgNCUKocCN1lbinuH15fSdUK/bnMWV+MWPXSK/h8XQhke+Oeg6VEdKhKfwwTuPssWVa/bWVsxaxofZNgYuDfgfnkFwZdNrFMQStFOKngiVlDEuI44xRz9Y=
Original-recipient: rfc822;
because my board have no ethernet card now, is use the ramdisk to debug.
my board has 64M sdram, and use 2.4.20 kernel.
when i used 8M size ramdisk, it works fine.
but when i increase my ramdisk to 16M(i have changed the ramdisk size
support in .config) it occur "invalid compressed format (err=1)<6>"

can someone give any hints?

as follow is my script to make a ramdisk

#! /bin/bash
rm images/initrd.*.old
mv images/initrd.bin images/initrd.bin.old
mv images/initrd.img images/initrd.img.old
mkdir tmp images
mkdir tmp/initrd
dd if=/dev/zero of=images/initrd.img bs=1k count=8192
/sbin/mke2fs -F -v -m0 images/initrd.img
/sbin/tune2fs -c 0 images/initrd.img
mount -o loop images/initrd.img tmp/initrd

cp -av newrootfs/* tmp/initrd
umount tmp/initrd
gzip -9 < images/initrd.img > images/initrd.bin

as follow is the message of linux booting
CPU revision is: 00019068
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB 4-way, linesize 16 bytes.
Linux version 2.4.20_mvl31-dbau1100-mips_fp_le (root@zzhua) (gcc
version 3.3.1 (MontaVista 3.3.1- 2005-07-21)6Can't
analyze prologue code at 8002709c
Actions ACT213X/EVAL Board
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initial ramdisk at: 0x8019b000 (3403776 bytes)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200
calculating 4kecoff... 0003a980(240000)
CPU frequency 24.00 MHz
Calibrating delay loop... 23.91 BogoMIPS
MIPS CPU counter frequency is fixed at 12000000 Hz
Memory: 56336k/65536k available (1427k kernel code, 9200k reserved,
3420k data, 68k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
LSP Revision 1
ikconfig 0.5 with /proc/ikconfig
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
Serial driver version 1.01 (2005-09-04) with no serial options enabled
ttyS00 at 0xb0160000 (irq = 20) is a 16550
ttyS01 at 0xb0160020 (irq = 19) is a 16550
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
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)
IP-Config: No network devices available.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
invalid compressed format (err=1)<6>Freeing initrd memory: 3324k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 68k freed
freeAlgorithmics/MIPS FPU Emulator v1.5
EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in
directory #1599: rec_len is smaller than minimal - offse0

Please press Enter to activate this console.

Best regards

<Prev in Thread] Current Thread [Next in Thread>
  • invalid compressed format (err=1)<6>, zhuzhenhua <=