From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 10 21:03:08 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 9F92B8FF for ; Sat, 10 Aug 2013 21:03:08 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2074A20B6 for ; Sat, 10 Aug 2013 21:03:07 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id fp13so3839227lab.10 for ; Sat, 10 Aug 2013 14:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ctagopgVy6Bwo94PAyAB0qxZftWqiUq0LBKM+qP4fWw=; b=WOzBBvoykq+1uYp0N+yJFgxLbrGfrFToVOR5h/mu6DzMcDBvjCBOTPOpewlhLufB8N fqlZCy3i2qbSBwSMin/ievukBx4hw8g8kR4KUSvHqfZA9YmaAyHQD4V8ZUvdVw65cGiT Urm0u2ad23kLmTPVy9IKfvrGuwJATKdGOagksE3uicHhhmjAq65w8gHC0Oqk7sZV+rbB z2LXJ66y8y13SfiGiJSLKTp9ChvOaovDdCJrHm+cZquxTDCyT20/IPIbFZP8zwGC98rs gluCqfWtkC58Gsn5hXUPQM6BO3sIaZGmvPMw3+nfDeCpxdfnXywoscxgh1CAMZNBROvL nU+A== X-Received: by 10.112.11.20 with SMTP id m20mr6805751lbb.56.1376168585824; Sat, 10 Aug 2013 14:03:05 -0700 (PDT) Received: from kloomba ([95.104.134.121]) by mx.google.com with ESMTPSA id b1sm1555004lah.6.2013.08.10.14.03.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 10 Aug 2013 14:03:05 -0700 (PDT) Sender: Roman Bogorodskiy Date: Sun, 11 Aug 2013 01:02:19 +0400 From: Roman Bogorodskiy To: Konstantin Belousov Subject: Re: Installation problem on G4 Message-ID: <20130810210218.GA1359@kloomba> 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> <20130809082540.GS4972@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20130809082540.GS4972@kib.kiev.ua> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Sat, 10 Aug 2013 21:03:08 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Konstantin Belousov wrote: > 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 rep= orted: > > > > > >=20 > > > > > > vm_thread_new: kstack allocation failed > > > > > >=20 > > > > > > it brings me into single user shell, but every command there al= so > > > > > > 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' com= mand > > > > 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 > >=20 > > PS Setting vfs.unmapped_buf_allowed=3D0 in loader prompt doesn't change > > anything. >=20 > Then the issue might be not an issue I suspected. >=20 > Anyway, I think there is no way forward without ddb in kernel. > G4 are AIM and 32bit only, right ? G4 are 32bit, not sure about AIM. I'll try installing some older version of FreeBSD and upgrading to fresh kernel with ddb enabled. I had -CURRENT on this laptop, but I screwed it up and didn't touch for a while. Roman Bogorodskiy --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAEBAgAGBQJSBqpaAAoJEMltX/4IwiJqARUH/0FokTUnlZ+vLlwTsr1V7oeW Bpl7dhyFdKrFG3q7Jls3CThBOqTjLMTnBme2nXM2StrAt6WbzENtmf8CF0Ojh0Eb uhtITbqbcdFfz/ZunxERJozn1zB1m2N8QKgUFvq7ujraKZhngB/jpxBzi3omdiUm kwrOZv2h/YfD83UUjhbMvJrX3S0a8kfqQjoXX2H3L9LOljcRD7ypvAHau0MdS1lH H3ZpOYPVRwWV8OcMfEJeuM4EUSbmcI0Mo5QyvESHGwjJDr188ntjmUPCUY2uTV7R lj8bzN0wxAaJiMJO06Icg/3vdtGFdjspNyuAlw9VxfRiriWycYU39rvo1QzR0KU= =L1mb -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--