public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [BUG] initrd >24MB corruption (fwd)
@ 2002-08-27  2:49 Jeff Chua
  2002-08-27  2:56 ` Erik Andersen
  2002-09-14  3:02 ` Werner Almesberger
  0 siblings, 2 replies; 9+ messages in thread
From: Jeff Chua @ 2002-08-27  2:49 UTC (permalink / raw)
  To: Alan Cox; +Cc: Linux Kernel


Alan,

Who else can help with this problem? I tried to write to Werner
Almesberger <werner.almesberger@epfl.ch> (no such email) and Hans Lermen
<lermen@fgan.de>, but no response from either.

I'm suspecting that somehow part of initrd is being corrupted during boot
up or may be ungzip is not working properly, because I can definitely
gzip/ungzip on all versions of running Linux for the ram.gz filesystem I
created.  Again, the only difference between ram-18mb.gz (6MB) and
ram-24mb.gz (8MB) is ram24.gz contains one extra file to fill up the
filesystem to 90%.

Same bzImage, same ramdisk_size=28000, just different initrd files.
ram-18mb.gz boots, ram-24mb.gz hangs.

gzip 1.3.3

I noticed that lib/inflate.c says gzip is based on gzip-1.0.3

Thanks,
Jeff
[ jchua@fedex.com ]

---------- Forwarded message ----------
Date: Tue, 27 Aug 2002 08:05:14 +0800 (SGT)
From: Jeff Chua <jchua@fedex.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] initrd >24MB corruption


On 26 Aug 2002, Alan Cox wrote:

> > 	RAMDISK: Compressed image found at block 0 ... then stuck!
> Force a 1K block size when you make the fs

That was the default for mke2fs.

Tried compress instead of gzip. Same problem. I guess the compressed file
is too big for the kernel. The 8MB compressed (from 24MB) didn't work. 6MB
compressed from 18MB worked. The 24MB filesystem has just one extra junk
file in /tmp to fill up the filesystem to 90% and this caused the system
to hang.

I'm thinking it could be the ungzip function in the kernel that's causing
the problem.


Jeff.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-09-14  3:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-27  2:49 [BUG] initrd >24MB corruption (fwd) Jeff Chua
2002-08-27  2:56 ` Erik Andersen
2002-08-27  8:55   ` Jeff Chua
2002-08-27  9:30     ` Russell King
2002-08-28  5:37       ` Jeff Chua
2002-08-28  5:59       ` Jeff Chua
2002-08-30  7:12         ` Jeff Chua
2002-09-14  3:02 ` Werner Almesberger
2002-09-14  3:35   ` Jeff Chua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox