[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [PATCH] xentrace buffer alignment



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.