[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [Xen-users] XCP with 64-bit dom0?
On Fri, Apr 22, 2011 at 6:36 AM, Muriel <mucawhite@xxxxxxxxx> wrote:
>> I'm trying to integrate live-cloning (via the xen snowflock codebase)
>> into the XCP control path, which requires me to run a 64-bit PV
>> kernel, and also requires 64-bit dom0 tools to talk properly with Xen.
>> Perhaps I should re-ask this question in Xen-devel. It may be a more
>> appropriate venue.
> Ok, i will reply directly to xen-devel to move the discussion.
> I'm very interested and i'm starting to recompile. I'm trying to integrate
> into an existing 64bit cluster a dom0 based on xpc. What packages are
> fundamental to have a stable environment?
I've been working at it from the other end, with a goal of "shortest
path to working". I'm coming in with relative unfamiliarity with the
XCP architecture, and started working top-down.
I can boot the XCP host with a 64-bit snowflock kernel. I
subsequently ran into problems with a 32-bit blktap userspace toolset
having problems talking to a 64-bit dom0 kernel, so I started
rebuilding that and kept moving down as needed. I got the blktap
issue resolved, but currently I'm running into an issue with
unix-RPC||cli] Xapi_cli.exception_handler: Got exception
INTERNAL_ERROR: [ XenguestHelper.Xc_dom_linux_build_failure(4, "
xc_dom_boot_mem_init: can't allocate low memory for dom\\\"") ]
Once again, I think this is due to a mismatch between 32-bit/64-bit
addresses. The call is made through a tool called 'xenguest' which is
built alongside xapi and is used by xapi. I had to go and dig pretty
deep in the rebuild tree to generate the dependencies needed to build
a 64-bit xapi and xenguest.
So far, these are the high-level packages I've had to rebuild to
target a 64-bit runtime (all as part of getting to a 64-bit build of
xapi and xenguest):
Current problem: Installing these directly on a normal XCP deployment
is infeasible. It wants to pull a TON of 64-bit support packages, and
quickly descends into conflict hell.
So now I'm looking for ways to build an XCP install image, and hoping
I can replace all the base packages with 64-bit versions and go from
there. I've looked around for instructions on building a full install
image (found the instructions for building/modifying xapi.. those were
very useful earlier in the process.. but not for this).
If I can't rebuild an XCP install disk, the other tactic I have in
mind is to edit an existing install ISO and switch out the existing
packages for 64-bit surrogates.
I haven't tried either of these approaches yet. Does anybody know of
docs, or have thoughts, on either of these subjects? I'm picking up
what I need to know as I go along, so my overall picture of the system
is coalescing over time, but is almost definitely not complete at this
Just a note: from what I _have_ seen of the system, it's very nicely
designed. I like the xapi object model and schema design. Simple,
but complete, clear, and understandable. A short analysis was enough
to figure out how best to approach the integration of live-cloning
semantics into XCP. Kudos on the good work.
Xen-devel mailing list