WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [PATCH] free initmem and add __init and __initdata.

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] free initmem and add __init and __initdata.
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 23 May 2007 18:23:06 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 May 2007 02:21:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1179861177.6432.5.camel@lappy>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070518021433.GB30905%yamahata@xxxxxxxxxxxxx> <1179787573.27201.9.camel@lappy> <20070522032753.GA21681%yamahata@xxxxxxxxxxxxx> <1179861177.6432.5.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, May 22, 2007 at 01:12:57PM -0600, Alex Williamson wrote:

> I'll put the __init/__initdata declarations in, but leave the actual
> freeing disabled until we can track this down.  Thanks,

I figured out what's going on. un/pickle_domain() were broken
because __init_begin < __init_end < _end <= xen_heap_start.
Thus page owner check failed and panic.

When I tested the first patch, I was able to boot domU.
It was because my local patches for debug were applied so that
xen heap was used more than xen-ia64-unstable.hg.
It happened that struct domain* > xen_heap_start luckily.
I was able to reporduce the panic by removing my local patches.

thanks
-- 
yamahata

Attachment: 15115_125b0a093632_ia64_free_initmem.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel