Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2006 21:42:30 -0500 (EST)
From:      Alex Vasylenko <lxv@omut.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   amd64/106186: panic in swap_pager_swap_init (amd64/smp/6.2-pre)
Message-ID:  <200612020242.kB22gURW018665@blackbox.intranet>
Resent-Message-ID: <200612020250.kB22o642061487@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106186
>Category:       amd64
>Synopsis:       panic in swap_pager_swap_init (amd64/smp/6.2-pre)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 02:50:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Vasylenko
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD blackbox.intranet 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Fri Dec 1 20:36:12 EST 2006 root@:/usr/obj/usr/src/sys/GENERIC-AMD64-C amd64


	
>Description:
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 as follows:
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 ---

old dmesg:      http://www.omut.org/~lxv/bbox-dmesg-20060824
new dmesg (-v): http://www.omut.org/~lxv/bbox-dmesg-20061113-v
kernel config:  http://www.omut.org/~lxv/bbox-GENERIC-BBOX

>How-To-Repeat:
	
>Fix:
There are several known workarounds:
- GENERIC (UP) kernel works fine;
- 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.

... and the best one discovered by another person who also experiences this
issue:
- have FireWire-related drivers removed from kernel configuration file
  (firewire/sbp/fwe)
>Release-Note:
>Audit-Trail:
>Unformatted:



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