<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>bad gunzip</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I am having difficulty uncompressing the ramdisk. The ramdisk does uncompress<BR>
when I do not have FCC disabled in the kernel and it comes up to the prompt.<BR>
I cannot see how leaving at an option in .config would affect the ramdisk<BR>
from uncompressing.<BR>
<BR>
I noticed that the code just hangs in huft_build in lib/inflate.c<BR>
(i.e. just a infinite loop).<BR>
<BR>
Has someone else has seen this?<BR>
<BR>
I added some debug info, which is illustrated in the output below.<BR>
<BR>
## Booting image at fc800000 ...<BR>
&nbsp;&nbsp; Image Name:&nbsp;&nbsp; Kernel 1.0.0-Wed Oct 31 1<BR>
&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux Kernel Image (gzip compressed)<BR>
&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 954708 Bytes = 932.3 kB<BR>
&nbsp;&nbsp; Load Address: 00000000<BR>
&nbsp;&nbsp; Entry Point:&nbsp; 00000000<BR>
&nbsp;&nbsp; Verifying Checksum ... OK<BR>
&nbsp;&nbsp; Uncompressing Kernel Image ... OK<BR>
## Loading RAMDisk Image at fca00000 ...<BR>
&nbsp;&nbsp; Image Name:&nbsp;&nbsp; Good Ramdisk<BR>
&nbsp;&nbsp; Image Type:&nbsp;&nbsp; PowerPC Linux RAMDisk Image (gzip compressed)<BR>
&nbsp;&nbsp; Data Size:&nbsp;&nbsp;&nbsp; 1663803 Bytes =&nbsp; 1.6 MB<BR>
&nbsp;&nbsp; Load Address: 00000000<BR>
&nbsp;&nbsp; Entry Point:&nbsp; 00000000<BR>
&nbsp;&nbsp; Verifying Checksum ... OK<BR>
&nbsp;&nbsp; Loading Ramdisk to 00e69000, end 00fff33b ... OK<BR>
Linux version 2.6.19.2 (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #39 Wed Oct 31 14:53:16 PDT 2007<BR>
memsize 0x2000000<BR>
bus freq 0x3ef1480<BR>
cpm freq 0x7de2900<BR>
brg freq 0xfbc520<BR>
vco 0xfbc5200<BR>
baudrate 0x2580<BR>
Zone PFN ranges:<BR>
&nbsp; DMA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 -&gt;&nbsp;&nbsp;&nbsp;&nbsp; 8192<BR>
&nbsp; Normal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8192 -&gt;&nbsp;&nbsp;&nbsp;&nbsp; 8192<BR>
early_node_map[1] active PFN ranges<BR>
&nbsp;&nbsp;&nbsp; 0:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 -&gt;&nbsp;&nbsp;&nbsp;&nbsp; 8192<BR>
preempt_disable()<BR>
build_all_zonelists()<BR>
Built 1 zonelists.&nbsp; Total pages: 8128<BR>
page_alloc_init()<BR>
Kernel command line: console=ttyCPM0,9600 root=/dev/ram<BR>
parse_early_param()<BR>
trap_init()<BR>
rcu_init()<BR>
init_IRQ()<BR>
pidhash_init()<BR>
PID hash table entries: 128 (order: 7, 512 bytes)<BR>
init_timers()<BR>
hrtimers_init()<BR>
softirq_init()<BR>
timekeeping_init()<BR>
cpm_uart: console: compat mode<BR>
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)<BR>
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)<BR>
cpuset_init_early()<BR>
mem_init()<BR>
Memory: 28816k available (1540k kernel code, 404k data, 96k init, 0k highmem)<BR>
kmem_cache_init()<BR>
calibrate_delay()<BR>
pidmap_init()<BR>
pgtable_cache_init()<BR>
Mount-cache hash table entries: 512<BR>
signals_init()<BR>
lock_kernel()<BR>
cpuset_init_smp()<BR>
populate_rootfs()<BR>
inflate complete<BR>
checking if image is initramfs...<BR>
inflate complete<BR>
it isn't (no cpio magic); looks like an initrd<BR>
Freeing initrd memory: 1624k freed<BR>
do_basic_setup()<BR>
init_workqueues()<BR>
usermodehelper_init()<BR>
driver_init()<BR>
sysctl_init()<BR>
do_initcalls()<BR>
NET: Registered protocol family 16<BR>
NET: Registered protocol family 2<BR>
IP route cache hash table entries: 256 (order: -2, 1024 bytes)<BR>
TCP established hash table entries: 1024 (order: 0, 4096 bytes)<BR>
TCP bind hash table entries: 512 (order: -1, 2048 bytes)<BR>
TCP: Hash tables configured (established 1024 bind 512)<BR>
TCP reno registered<BR>
io scheduler noop registered<BR>
io scheduler anticipatory registered<BR>
io scheduler deadline registered<BR>
io scheduler cfq registered (default)<BR>
Serial: CPM driver $Revision: 0.02 $<BR>
cpm_uart: WARNING: no UART devices found on platform bus!<BR>
cpm_uart: the driver will guess configuration, but this mode is no longer supported.<BR>
ttyCPM0 at MMIO 0xf0011a20 (irq = 41) is a CPM UART<BR>
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize<BR>
loop: loaded (max 8 devices)<BR>
eth0: FCC ENET Version 0.3, 00:20:7b:80:45:04<BR>
TCP cubic registered<BR>
NET: Registered protocol family 1<BR>
NET: Registered protocol family 17<BR>
prepare_namespace()<BR>
RAMDISK: Compressed image found at block 0<BR>
number blocks 0<BR>
</FONT>
</P>

</BODY>
</HTML>