Bug 153789

Summary: [xen] [regression] FreeBSD 8.2-RC1 crashes under Solaris/Xen while FreeBSD 8.1-p2 does not.
Product: Base System Reporter: Andrew Kolchoogin <gadm>
Component: kernAssignee: Alan Cox <alc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Andrew Kolchoogin 2011-01-08 12:50:09 UTC
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.
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2011-01-08 12:56:35 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-xen

Assign Xen bug to freebsd-xen list.
Comment 2 Colin Percival freebsd_committer freebsd_triage 2011-01-08 13:27:49 UTC
> 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
Comment 3 admin666z 2011-02-28 15:57:56 UTC
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..
Comment 4 Alan Cox freebsd_committer freebsd_triage 2011-12-20 20:23:47 UTC
State Changed
From-To: open->patched

A fix was applied to HEAD in r228746.
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2011-12-21 00:56:14 UTC
Responsible Changed
From-To: freebsd-xen->alc

hand over to committer
Comment 6 Alan Cox freebsd_committer freebsd_triage 2012-01-23 13:43:20 UTC
State Changed
From-To: patched->closed

Patch has been applied to the FreeBSD 8 and 9 -STABLE branches.