[lkml]   [2000]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: linux 2.4.0-test9
On Tue, 7 Nov 2000, Richard B. Johnson wrote:

> On Tue, 7 Nov 2000, Keith Owens wrote:
> > On Mon, 6 Nov 2000 16:31:23 -0500 (EST),
> > "Richard B. Johnson" <> wrote:
> > >However when running, the new kernel 2.4.0-test9, can't be used to
> > >make a usable initrd ram disk. The result being that 2.4.0-test9
> > >can't, itself, build an "initrd" bootable system.
> > >
> > >Before everybody screams that I don't know what I'm doing, let me
> > >assure you that I know that the two kernels put their modules in
> > >different directories and the new directory scheme seems to require
> > >the latest and greatest version of modutils.
> >
> > You also need the latest version of mkinitrd to handle the modules
> > directory structure.
> >
> No. I have my own script(s) that have been appropriately modified
> for both test floppies and boot from the hard disk.
> I have found the problem. A patch will follow after I get some
> breakfast. It's an obviously-correct one too.

Depending upon some name-space polution, inflate was executing junk
instead of its correct memzero().

Here's the patch....

--- /usr/src/linux-2.4.0/lib/inflate.c.orig Tue Nov 7 08:52:59 2000
+++ /usr/src/linux-2.4.0/lib/inflate.c Mon Nov 6 18:01:54 2000
@@ -147,6 +147,7 @@
STATIC int inflate_dynamic OF((void));
STATIC int inflate_block OF((int *));
STATIC int inflate OF((void));
+STATIC void *memzero OF((char *, size_t));

/* The inflate algorithm uses a sliding 32 K byte window on the uncompressed
stream to find repeated byte strings. This is implemented here as a

Dick Johnson

Penguin : Linux version 2.4.0 on an i686 machine (799.54 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.077 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site