From nobody@FreeBSD.org  Sat Jan  8 12:42:36 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5BF4110656A7
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 Jan 2011 12:42:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 4A7A78FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 Jan 2011 12:42:36 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p08CgZsN084014
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 8 Jan 2011 12:42:35 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p08CgZeu084013;
	Sat, 8 Jan 2011 12:42:35 GMT
	(envelope-from nobody)
Message-Id: <201101081242.p08CgZeu084013@red.freebsd.org>
Date: Sat, 8 Jan 2011 12:42:35 GMT
From: Andrew Kolchoogin <gadm@avalon-island.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: REGRESSION: FreeBSD 8.2-RC1 crashes under Solaris/Xen while FreeBSD 8.1-p2 does not.
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         153789
>Category:       kern
>Synopsis:       [xen] [regression] FreeBSD 8.2-RC1 crashes under Solaris/Xen while FreeBSD 8.1-p2 does not.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    alc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 08 12:50:09 UTC 2011
>Closed-Date:    Mon Jan 23 13:45:05 UTC 2012
>Last-Modified:  Mon Jan 23 13:45:05 UTC 2012
>Originator:     Andrew Kolchoogin
>Release:        FreeBSD 8.2-RC1
>Organization:
>Environment:
>Description:
After building FreeBSD 8.2-RC1/i386/Xen kernel and booting it under Solaris Express 2010.11/xVM it crashes immediately in pmap_init():

pmap_init(): address is out of range

As partition map initialisation is a very early part of kernel init, backtrace is useless -- it is empty.

It is a regression in comparision with FreeBSD v8.1 -- with the same Xen configuration FreeBSD v8.1 boots and runs adequately.

With decreasing of amount of memory available in virtual machine to value below 1G, kernel hungs in endless loop without any output to console -- only 'xm destroy' is able to destroy the domain in question.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-xen 
Responsible-Changed-By: bz 
Responsible-Changed-When: Sat Jan 8 12:56:35 UTC 2011 
Responsible-Changed-Why:  
Assign Xen bug to freebsd-xen list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153789 

From: Colin Percival <cperciva@freebsd.org>
To: bug-followup@FreeBSD.org, gadm@avalon-island.ru
Cc:  
Subject: Re: kern/153789: REGRESSION: FreeBSD 8.2-RC1 crashes under Solaris/Xen
 while FreeBSD 8.1-p2 does not.
Date: Sat, 08 Jan 2011 05:27:49 -0800

 > pmap_init(): address is out of range
 
 You sure about that message?  I can't find it anywhere in the source tree.  Is
 it possible that the message was "pmap_init(): page table page is out of range"
 instead?
 
 -- 
 Colin Percival
 Security Officer, FreeBSD | freebsd.org | The power to serve
 Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

From: AdminZ adm <admin666z@gmail.com>
To: bug-followup@FreeBSD.org, gadm@avalon-island.ru
Cc:  
Subject: Re: kern/153789: [xen] [regression] FreeBSD 8.2-RC1 crashes under
 Solaris/Xen while FreeBSD 8.1-p2 does not.
Date: Mon, 28 Feb 2011 17:57:56 +0200

 I get this panic (pmap_init: page table page is out of range), when
 trying to boot FreeBSD 8.2-RELEASE/i386/Xen kernel under XEN
 4.0@2.6.32-xen-r1 with domU memory > 768M.
 If set memory < 768M freebsd boot normally in PV mode.
 
 Please advise..
State-Changed-From-To: open->patched 
State-Changed-By: alc 
State-Changed-When: Tue Dec 20 20:23:47 UTC 2011 
State-Changed-Why:  
A fix was applied to HEAD in r228746. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153789 
Responsible-Changed-From-To: freebsd-xen->alc 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Wed Dec 21 00:56:14 UTC 2011 
Responsible-Changed-Why:  
hand over to committer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153789 
State-Changed-From-To: patched->closed 
State-Changed-By: alc 
State-Changed-When: Mon Jan 23 13:43:20 UTC 2012 
State-Changed-Why:  
Patch has been applied to the FreeBSD 8 and 9 -STABLE branches. 

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