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] xentrace buffer alignment

To: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] xentrace buffer alignment
From: Rob Gardner <rob.gardner@xxxxxx>
Date: Wed, 23 Nov 2005 21:49:45 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Nov 2005 04:49:29 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200511240435.AA01942@xxxxxxxxxxxxxxxxxxxxxx>
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: <200511240435.AA01942@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Masaki Kanno wrote:

Hi,

When the "tbuf_size=" option was added,
Xen cannot be booted and show the following messages.

(XEN) About to call init_trace_bufs()
(XEN) Xen trace buffers: initialised
(XEN) About to call schedulers_start dom0=f0000000040ec100, 
idle0_dom=f0000000040d2e10
(XEN) ia64_handle_reflection: reflecting with priv=0!!

Unaligned Reference fault occurred in trace function.
This small patch correct alignment of the trace buffer.

Hmmm, x86-64 must have more relaxed alignment rules than ia64, since all that works ok on an athlon64. You may want to also check and make sure tools/xentrace_format still works (assuming it ever worked on ia64). The python code in that script is sensitive to structure packing.

Rob Gardner
(at the desk right next to Magenheimer)



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