From lxv@omut.org  Sat Dec  2 02:42:36 2006
Return-Path: <lxv@omut.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9E21916A403
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Dec 2006 02:42:36 +0000 (UTC)
	(envelope-from lxv@omut.org)
Received: from mail.omut.org (mail.omut.org [216.218.215.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A810443C9D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Dec 2006 02:42:18 +0000 (GMT)
	(envelope-from lxv@omut.org)
Received: from blackbox.omut.org (blackbox.intranet [10.10.10.12])
	by mail.omut.org (8.13.8/8.13.8) with ESMTP id kB22gXd1010009
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 1 Dec 2006 18:42:34 -0800 (PST)
	(envelope-from lxv@omut.org)
Received: from blackbox.intranet (localhost [127.0.0.1])
	by blackbox.omut.org (8.13.8/8.13.8) with ESMTP id kB22gVWv018666
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 1 Dec 2006 21:42:33 -0500 (EST)
	(envelope-from lxv@blackbox.intranet)
Received: (from lxv@localhost)
	by blackbox.intranet (8.13.8/8.13.8/Submit) id kB22gURW018665;
	Fri, 1 Dec 2006 21:42:30 -0500 (EST)
	(envelope-from lxv)
Message-Id: <200612020242.kB22gURW018665@blackbox.intranet>
Date: Fri, 1 Dec 2006 21:42:30 -0500 (EST)
From: Alex Vasylenko <lxv@omut.org>
Reply-To: Alex Vasylenko <lxv@omut.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: panic in swap_pager_swap_init (amd64/smp/6.2-pre)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106186
>Category:       amd64
>Synopsis:       [panic] panic in swap_pager_swap_init (amd64/smp/6.2-pre) [regression]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 02:50:06 GMT 2006
>Closed-Date:    Mon Dec 13 19:14:32 UTC 2010
>Last-Modified:  Mon Dec 13 19:14:32 UTC 2010
>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:

From: Alex Vasylenko <lxv@omut.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: amd64/106186: panic in swap_pager_swap_init (amd64/smp/6.2-pre)
Date: Thu, 07 Dec 2006 11:10:49 -0500

 I was able to narrow the problem down to several commits to RELENG_6.
 System built from cvsup "tag=RELENG_6 date=2006.09.26.22.00.00" boots 
 fine, "tag=RELENG_6 date=2006.09.27.01.00.00" locks up.
 
 All builds use this kernel configuration: 
 http://www.omut.org/~lxv/bbox-GENERIC-BBOX
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sun Nov 28 09:46:46 UTC 2010 
State-Changed-Why:  
Can you still reproduce this on 8.x? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106186 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Mon Dec 13 19:14:31 UTC 2010 
State-Changed-Why:  
Submitter can't reproduce anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106186 
>Unformatted:
