Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2013 01:02:19 +0400
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Installation problem on G4
Message-ID:  <20130810210218.GA1359@kloomba>
In-Reply-To: <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> <20130809082540.GS4972@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130810210218.GA1359>