panic in swap_pager_swap_init (amd64/smp/6.2-pre)

Alex Vasylenko lxv at omut.org
Tue Nov 14 07:01:22 PST 2006


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.
> > ("works" in the last case is defined as: I could upgrade gnome
> > 2.14->2.16 with buildworld -j2 going at the same time)
> 
> That's quite odd, since afaik boot -v doesn't change any behaviour
> apart from some printfs.  Is this still repeatable, i.e. it didn't in
> fact go away after you rebuilt your kernel from scratch during the
> course of the above testing?

nope, didn't go away, still does it with a brand new kernel built from
fresh /usr/{src,obj}. lockup is not 100% guaranteed, sometimes it enters
kdb:
SMP: AP CPU #1 Launched!
panic: failed to create swap_zone.
cpuid = Trying to mou0
KDB: enter: nt root from ufpanic
[thread pid 40 tid 100040 ]
Stopped at      kdb_enter+0x2f
db> where
Tracing pid 40 tid 100040 td 0xffffff003b9e24c0
kdb_enter() at kdb_enter+0x2f
panic() at panic+0x291
swap_pager_swap_init() at swap_pager_swap_init+0x20c
vm_pageout() at vm_pageout+0x17c
fork_exit() at fork_exit+0x86
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffffffa753bd00, rbp = 0 ---
db>

--
Alex.


More information about the freebsd-stable mailing list