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

Re: [Xen-API] How to compile the 32 bits xen-api

I'd look through the logfiles and see if there's a difference in how the bootloader (pygrub, probably) is invoked. Perhaps the command-line arguments have changed?


On 25/08/14 02:32, Fan Liao wrote:
The old xapi works well, and HVM VM can boot with the new xapi.
And also, if I use the old xapi to launch a PV VM, then change to the new xapi, the PV VM can boot with the new xapi.
Can u give some suggestion on further work?

On Mon, Aug 18, 2014 at 7:05 PM, Jon Ludlam <jonathan.ludlam@xxxxxxxxxxxxx> wrote:
XenServer 6.2 is based on CentOS 5. For building there, I would recommend installing a CentOS 5 VM, and then installing the dependencies of xapi from the binpkg ISO (called 'Development Packages') from here: http://xenserver.org/overview-xenserver-open-source-virtualization/download.html. The dependencies are in domain0/RPMs/i686/.

Also, for 6.2 development you should use the 'clearwater-lcm' branch on github. Master has moved on a long way since 6.2 was released and will no longer compile with the 6.2 dependencies.

You may also want to check out the pre-release page here: http://xenserver.org/open-source-virtualization-download/11-product/142-download-pre-release.html. It's similar to 6.2 in that it's CentOS 5 based too, but 64 bit rather than 32 bit. The git branch for xapi development for this release is named xs64bit-ring3.

This is a slightly different process for dev than we use internally so I'd be keen to know if you come across any problems.

Good luck!


On 14/08/14 09:06, nu li wrote:
hi list
ÂÂÂ Now we are trying to compile the xapi for 32bits
ÂÂÂ We follow the steps from github like below:
ÂÂÂ While these are for 64 bits, not 32 bits.
ÂÂÂ I just want to know how to compile XAPI 32bits for Xserver6.2.
ÂÂÂ Any suggestions are welcome
ÂÂÂ Thanks a lot

ÂÂÂ nlx
ÂÂÂÂÂ buildroot
Buildroot for xen-api and related packages, producing RPM and (experimentally) Debian packages.

RPM-based distributions

On RPM-based distributions, the packages are built using mock. To install it on a 64-bit RHEL/CentOS system then you will need to add the EPEL repositories. Here is a useful article for CentOS.

After adding EPEL, install and set up mock:

yum install -y mock redhat-lsb-core
Mock will refuse to run as root. You must choose a non-privileged user to run mock as. Type the following as root:

(Note select a <user> which isn't "mock" when typing the commands below)

useradd <user> -G mock
passwd <user>

su - <user>
You are now ready to clone the buildroot repository and build the packages:

git clone git://github.com/xenserver/buildroot.git
cd buildroot

Finally, install the packages you have just built, run the install wizard to configure your system to boot Xen and start the buildroot components on boot, then reboot:

make install

Xen-api mailing list

Xen-api mailing list

Fan Liao
Cloudpi@BST, Samsung
College of Software Engineering@BUAA

Xen-api mailing list



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