panic: kmem_malloc boot error w/ 6.2
Scott Long
scottl at samsco.org
Fri Jan 26 23:14:06 UTC 2007
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
More information about the freebsd-stable
mailing list