Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2011 13:12:01 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: /sbin/init refuses to start with large physmem installed
Message-ID:  <AANLkTimprmjMF4PubuWn50LKg4S%2Bj4THz5Sk_mTPkCdn@mail.gmail.com>
In-Reply-To: <AANLkTi=7fiQNZzKY3AQz_3op5U69Qk8h_V5dq-CdkpcH@mail.gmail.com>
References:  <AANLkTi=7fiQNZzKY3AQz_3op5U69Qk8h_V5dq-CdkpcH@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 January 2011 12:06, Sergey Kandaurov <pluknet@gmail.com> wrote:
> Hi.
>
> The box I have observed such a problem has 458752 MB of real memory (RAM).
> With this high value /sbin/init refuses to start with "Out of memory".
> I suspect there may be sort of (type) overflow somewhere.
> A corresponding part of console output below:
>
> start_init: trying /sbin/init
>
> Cannot map anonymous memory(null): Out of memory: Cannot map anonymous
> memoryCannot allocate memory
> Enter full pathname of shell or RETURN for /bin/sh:
> Cannot map anonymous memory(null): Out of memory: Cannot map anonymous
> memoryCannot allocate memory
> Cannot map anonymous memory(null): Out of memory: Cannot map anonymous
> memoryCannot allocate memory
> Enter full pathname of shell or RETURN for /bin/sh: ^CCannot map
> anonymous memory(null): Out of memory: Cannot map anonymous
> memoryCannot allocate memory
> Cannot map anonymous memory(null): Out of memory: Cannot map anonymous
> memoryCannot allocate memory
> Enter full pathname of shell or RETURN for /bin/sh:
>
> Full dmesg + remain: http://plukky.net/~pluknet/misc/ibmx5.verbosedmesg.txt
>
> This is confirmed by the fact that it started to pass multiuser (up to login)
> after I've reduced hw.physmem down to 8GB.

                      ^^
Also that helped to eliminate ~6 minutes pause after printing SMAP lines.

>
> Any tips are appreciated.


-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimprmjMF4PubuWn50LKg4S%2Bj4THz5Sk_mTPkCdn>