Linux-kernel mailing list archive 1999-23,: Re: init failing in 2.3.6

# Re: init failing in 2.3.6

Mike Bennett (mbennett@cfcc.cc.fl.us)
Fri, 11 Jun 1999 09:23:36 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Alex Holden: "Re: SPARCstation's power led goes off upon kernel init"
- Previous message: Helmut Naughton: "Re: init failing in 2.3.6"
- In reply to: Paul Mackerras: "init failing in 2.3.6"

FWIW, log another initial failure to boot 2.3.6 and success
with this patch applied.

Thanks Paul!

Mike

On Fri, Jun 11, 1999 at 01:24:23PM +1000, Paul Mackerras wrote:
> I am seeing a problem with 2.3.6 where init is failing to start
> correctly with an error about not being able to map shared libraries.
>
> --- mm/mmap.c~ Thu Jun 10 09:49:31 1999
> +++ mm/mmap.c Tue Jun 11 21:48:50 2019
> @@ -728,6 +728,9 @@
> struct vm_area_struct * vma;
> unsigned long flags, retval;
>
> + if ((len = PAGE_ALIGN(len)) == 0)
> + return addr;
> +
> /*
> * mlock MCL_FUTURE?
> */
>
>
> Paul.

-
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/

- Next message: Alex Holden: "Re: SPARCstation's power led goes off upon kernel init"
- Previous message: Helmut Naughton: "Re: init failing in 2.3.6"
- In reply to: Paul Mackerras: "init failing in 2.3.6"