I tried to upgrade an amd64x2 box from "FreeBSD 6.1-STABLE #36: Mon Sep
4 11:22:15 EDT 2006" to "FreeBSD 6.2-PRERELEASE #1: Mon Nov 13 10:01:57
EST 2006" and found that a newly built kernel panics on boot and locks
up solid after printing:
SMP: AP CPU #1 Launched!
panic: failed to create swap_zone.
On Tue, Nov 14, 2006 at 01:06:22AM -0500, Kris Kennaway wrote:
> > - GENERIC (UP) kernel works fine;
> > - SMP kernel fails in the same way;
> > - my kernel (a stripped down SMP) with "options SMP" removed works;
> > - my kernel with SMP enabled and either -v or -d (followed by cont)
> > works.
>
This is FreeBSD 5.4-PRERELEASE #34: Thu Mar 31 08:39:00 EST 2005 i386/smp,
debug.mpsafenet=1
(kgdb) where
#0 doadump () at pcpu.h:159
#1 0xc0532acb in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:410
#2 0xc0532ef3 in panic (fmt=0xc06d3755 "%s") at
/usr/src/sys/kern/kern_shutdown.c:56