Installation problem on G4

Roman Bogorodskiy novel at FreeBSD.org
Sat Aug 10 21:03:08 UTC 2013


  Konstantin Belousov wrote:

> On Fri, Aug 09, 2013 at 11:24:45AM +0400, Roman Bogorodskiy wrote:
> >   Konstantin Belousov wrote:
> > 
> > > On Thu, Aug 08, 2013 at 03:36:30PM +0400, Roman Bogorodskiy wrote:
> > > >   Konstantin Belousov wrote:
> > > > 
> > > > > On Wed, Aug 07, 2013 at 03:52:02PM +0400, Roman Bogorodskiy wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > I've downloaded 9.2-RC1 iso to install it on G4.
> > > > > > 
> > > > > > However, installer doesn't start and the following error is reported:
> > > > > > 
> > > > > > vm_thread_new: kstack allocation failed
> > > > > > 
> > > > > > it brings me into single user shell, but every command there also
> > > > > > results in the same messge:
> > > > > > 
> > > > > > vm_thread_new: kstack allocation failed
> > > > > > Cannot fork: Cannot allocate memory
> > > > > > 
> > > > > > What could be wrong with that?
> > > > > 
> > > > > How much memory do you have ?
> > > > > 
> > > > > Show me the output of sysctl
> > > > > vfs.unmapped_buf_allowed
> > > > > kern.bio_transient_maxcnt
> > > > > kern.nbuf
> > > > 
> > > > It reports 1009MB of real memory and 974 MB avail memory.
> > > > 
> > > > Any tips how could I get the values of sysctl? Because 'sysctl' command
> > > > fails just like all the other commands.
> > > 
> > > Enter debugger and do
> > > x/d unmapped_buf_allowed
> > > x/d bio_transient_maxcnt
> > > x/d nbuf
> > > 
> > > Also you might try to boot with vfs.unmapped_buf_allowed=0
> > > set at the loader prompt (but I need the values above from the untuned
> > > boot).
> > 
> > Maybe a lame question, but how do I get into debugger?
> > 
> > 'boot -d' in loader prompt doesn't help. CTRL-ALT-ESC doesn't work as
> > well.
> > 
> > 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 ?
> 
> > 
> > PS Setting vfs.unmapped_buf_allowed=0 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 ?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20130811/bbfaf12b/attachment.sig>


More information about the freebsd-ppc mailing list