<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m looking for an alternative to BLCR to provide checkpoint/restart functionality for a Linux application on IBM Power hardware. Having seen some mentions that OpenVZ supports Power, I wanted to try it out.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve tried to rebuild vzkernel-2.6.32-042stab049.6.src.rpm in Mock on an IBM JS-12 blade (Power6) running Fedora 12, and have run into a number of problems. I’ll note that we have successfully rebuilt the Fedora12 2.6.32-based kernel from
SRPM in the same Mock configuration.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The initial issue was that the patch-042stab049 introduced a single line of invalid syntax into arch/powerpc/include/asm/elf.h:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">export struct page *vdso32_pages[1];<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Correcting “export” to “extern” resulted in a type-redefinition compile error, since vdso32_pages is defined as IIR “static unsigned int” in the PPC vdso.c.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Removing the extern declaration from elf.h entirely, since apparently the symbol usage in the cpt/cpt_mm.h is ifdef’d by CONFIG_X86 revealed another stumbling block with undefined functions [un]charge_beancounter_fast() due to CONFIG_BEANCOUNTERS
not getting defined. I added appropriate no-op definitions to the group already present in the #ifndef CONFIG_BEANCOUNTERS section of kernel/include/bc/beancounters.h, but there appears to be a larger problem in that the contents of config-vz aren’t getting
reflected in the final kernel config used during the RPM build.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My basic question is whether or not there’s any hope of successfully generating a ppc64 OpenVZ kernel. I tried the stable RHEL5 kernel SRPM as well, but encountered a different build failure.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I note that the last e.g. vzctl version that has an RPM download for ppc64 is 3.0.26 from 2/27/2011, and that the next minor release 3.0.26.1 from about a week later has no mention of Power at all. I reviewed the –announce, -user, and
–devel list archives from that timeframe, and didn’t see any explicit mention of support for Power being dropped.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is ppc[64] still a supported architecture for OpenVZ? If so, is checkpoint/restart available? How should I go about building a kernel (and, eventually the utilities) for my Fedora12 systems?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">-Bryson Lee<o:p></o:p></p>
</div>
</body>
</html>