From owner-freebsd-current@FreeBSD.ORG Wed Jan 12 10:12:03 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24874106564A for ; Wed, 12 Jan 2011 10:12:03 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id CF71F8FC0C for ; Wed, 12 Jan 2011 10:12:02 +0000 (UTC) Received: by qyk36 with SMTP id 36so401112qyk.13 for ; Wed, 12 Jan 2011 02:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=157lK0LNGxV9YLU2mhVXlpDGPhUYng4tvCx1ZWnjyCg=; b=QYzKWIekPqrUhm/xeQvoqt9LDotXGH85gc6l/sU+JZdFRMat+ox+s0IcS/NdMbNmcI iLvUI82NFHmOtqcdK7BrAZ9O9KaU0+r/b/NFbgeXv5wG+om1VSHcEotsM4zfBBSi8oqf jCxidc9QM+uyL3IZE71W0dGLLVIIRdB4TJtGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oNDbG+dS+FyiEqOYzNinR2UTTXOBgHjQjm28/ej1aDTLB6slJOku9BqjEzQjyYsYJN QKzhxnxQAN3dy+9Nbtoui9qs29Aym30VYehspML2RvNocyw+UdB2WpREosa/D6QpRlLz S/r5g7dP9lsQ2Wdk5erVcJQnUnmkt9OiV0KoM= MIME-Version: 1.0 Received: by 10.229.182.147 with SMTP id cc19mr661899qcb.271.1294827121934; Wed, 12 Jan 2011 02:12:01 -0800 (PST) Received: by 10.229.39.147 with HTTP; Wed, 12 Jan 2011 02:12:01 -0800 (PST) In-Reply-To: References: Date: Wed, 12 Jan 2011 13:12:01 +0300 Message-ID: From: Sergey Kandaurov To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: /sbin/init refuses to start with large physmem installed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 10:12:03 -0000 On 12 January 2011 12:06, Sergey Kandaurov 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