From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 9 08:25:47 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9CB80F2; Fri, 9 Aug 2013 08:25:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3B31426DB; Fri, 9 Aug 2013 08:25:47 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r798PfPh026451; Fri, 9 Aug 2013 11:25:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r798PfPh026451 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r798Pe9b026441; Fri, 9 Aug 2013 11:25:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 9 Aug 2013 11:25:40 +0300 From: Konstantin Belousov To: Roman Bogorodskiy Subject: Re: Installation problem on G4 Message-ID: <20130809082540.GS4972@kib.kiev.ua> References: <20130807115201.GB86757@ritual.srt.mirantis.net> <20130807154357.GH4972@kib.kiev.ua> <20130808113629.GA58058@ritual.srt.mirantis.net> <20130808213940.GN4972@kib.kiev.ua> <20130809072444.GA63653@ritual.srt.mirantis.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GKCueqPgsJz6YLYe" Content-Disposition: inline In-Reply-To: <20130809072444.GA63653@ritual.srt.mirantis.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 08:25:47 -0000 --GKCueqPgsJz6YLYe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 09, 2013 at 11:24:45AM +0400, Roman Bogorodskiy wrote: > Konstantin Belousov wrote: >=20 > > On Thu, Aug 08, 2013 at 03:36:30PM +0400, Roman Bogorodskiy wrote: > > > Konstantin Belousov wrote: > > >=20 > > > > On Wed, Aug 07, 2013 at 03:52:02PM +0400, Roman Bogorodskiy wrote: > > > > > Hi, > > > > >=20 > > > > > I've downloaded 9.2-RC1 iso to install it on G4. > > > > >=20 > > > > > However, installer doesn't start and the following error is repor= ted: > > > > >=20 > > > > > vm_thread_new: kstack allocation failed > > > > >=20 > > > > > it brings me into single user shell, but every command there also > > > > > results in the same messge: > > > > >=20 > > > > > vm_thread_new: kstack allocation failed > > > > > Cannot fork: Cannot allocate memory > > > > >=20 > > > > > What could be wrong with that? > > > >=20 > > > > How much memory do you have ? > > > >=20 > > > > Show me the output of sysctl > > > > vfs.unmapped_buf_allowed > > > > kern.bio_transient_maxcnt > > > > kern.nbuf > > >=20 > > > It reports 1009MB of real memory and 974 MB avail memory. > > >=20 > > > Any tips how could I get the values of sysctl? Because 'sysctl' comma= nd > > > fails just like all the other commands. > >=20 > > Enter debugger and do > > x/d unmapped_buf_allowed > > x/d bio_transient_maxcnt > > x/d nbuf > >=20 > > Also you might try to boot with vfs.unmapped_buf_allowed=3D0 > > set at the loader prompt (but I need the values above from the untuned > > boot). >=20 > Maybe a lame question, but how do I get into debugger? >=20 > 'boot -d' in loader prompt doesn't help. CTRL-ALT-ESC doesn't work as > well. >=20 > The image I'm booting from is FreeBSD-9.2-RC1-powerpc-disc1.iso. It seems that ddb is not in GENERIC. Do you see a line like 'KDB: current backend: ddb' near the start of the kernel output on boot ? >=20 > PS Setting vfs.unmapped_buf_allowed=3D0 in loader prompt doesn't change > anything. Then the issue might be not an issue I suspected. Anyway, I think there is no way forward without ddb in kernel. G4 are AIM and 32bit only, right ? --GKCueqPgsJz6YLYe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJSBKeDAAoJEJDCuSvBvK1BELUP/39upkkACTzTtsXmTX/ucKPq o9kfKWg78rXWy1nksrx4fBaZxlWr6QSZ+moiTNrMyeoEBTgE80j5ERcBleA7IQ2v TDMQL0iujZz0252O8H3G+ZWqzc3ncAtz/SyPQ2WJlFaUY3h0IgscsNZ13Dg0kFSQ PrS9U+gmTRByAh7zbcH3gU8go5Afw5WKvBfwGZFUsGCkbBGxOUqo6h0wXNdF9Nbv BgWYSTcltI5amuYYJrgFcNAV734dB8QjQb9QUJWy+U8lXkzm3/WX9R/rYAgXzggf eLGJGqWW0o/3+7NwkbJX+ZA29zv7RsImpS1ud6kKdJZdKkHC1yUfcYHGtmk7tW9t WX5ShHL8Q/kpkmMf1unnPLk7/+elkj2XGf4lKSpyAUkN9qrVGHYo4Yxo+IztUBGE Y1Q42JxAqHbu4om7rBdmZYDXaQIAp99lZvNvTxOS7Is8/ixPP9baUY9hsSk6DsWl z1seJ8a+iim3kbxN44S/yt8Ou6WOGmFfwzhAfTL5UgzkUkyFREhYEDT302yfibQ5 Jq+cPEZ5IRR/ZA8W4wTUENRtep0ofRVAczmYeH5e16AIsiEj+4zFEYfDv4tQlUIy SWmedOUIYpJ8zq/cr1OK0Wx2+7kxVJNpROF4u2xxESfbVi744Bs2IqyLl2yY2gn8 BIHWpHpd8TGHkhLH8xS8 =b4C4 -----END PGP SIGNATURE----- --GKCueqPgsJz6YLYe--