Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2007 15:54:46 -0700
From:      Scott Long <scottl@samsco.org>
To:        Pekka Savola <pekkas@netcore.fi>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: panic: kmem_malloc boot error w/ 6.2
Message-ID:  <45BA86B6.3090609@samsco.org>
In-Reply-To: <Pine.LNX.4.64.0701261947440.32410@netcore.fi>
References:  <Pine.LNX.4.64.0701261947440.32410@netcore.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
Pekka Savola wrote:
> Hello,
> 
> (Not subscribed, let's hope this gets through..)
> 
> I saw the strangest case I've yet seen today when upgrading a dual-P3 
> system using sources (buildworld etc.) from FreeBSD 5.5 to RELENG_6 
> (6.2).  The system paniced at boot with a message like:
> 
> panic: kmem_malloc(-1059844096): kmem_map too small: 2990080 total 
> allocated
> 
> This seemed to be just before one would mount the root filesystem.
> 
> GENERIC kernel on 6.2-RELEASE boot CD worked though.  FreeSBIE 2.0 
> kernel (6.2-RELEASE) panicked in the same way, as well as another Rescue 
> CD based on FreeBSD 6.1.
> 
> I did a fair bit of bisecting (about 10 compiles) to find out which 
> feature in GENERIC removes this panic, and came to a suprising conclusion:
> 
>   makeoptions DEBUG=-g
> 
> .. when I added this, boot works fine.  When removing it, you get the 
> panic.
> 
> Strange, huh? :-/
> 
> 
> Below is a snippet of the boot log:

Please compile KDB and DDB into your kernel so we can see exactly where
the panic is happening.

Scott




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