Re: Problems with memory in 2.3.3 and 2.3.6 kernels

Chuck Lever (cel@monkey.org)
Fri, 18 Jun 1999 10:37:12 -0400 (EDT)


On Thu, 17 Jun 1999, fito wrote:
> Later i upgrade to 2.3.6 and when it starts init and says freeing
> unused kernel memory 36K bla bla .... it freezes and the last messages is:
> error in loading shared libraries: /lib/libNoVersion.so.1 and says cannot
> allocate memory.....and cannot reboot i got to hard-reset the machine.....
>
> Any ideas why this ???

hi rodolfo-

i posted a patch to fix this yesterday. if you don't have access to
list archives, just add this line at the top of do_brk() in mm/mmap.c:

len = PAGE_ALIGN(len);

- Chuck Lever

--
corporate:	<chuckl@netscape.com>
personal:	<chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project: http://www.citi.umich.edu/projects/linux-scalability/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/