I have built 32-bit xapi on centos5.8, using tag XS62ESP1 on github and
binpkg ISO,
 but after replacing original xapi file on my Xenserver 6.2 SP1 with the
new one, I can't launch a VM with an error 'The bootloader for this VM
returned an error -- did the VM installation succeed? Bootable disk has no
valid filesystem'
How can I build the same Xapi as on my XenServer 6.2 with SP1
Thanks,
Fan


On Mon, Aug 18, 2014 at 7:05 PM, Jon Ludlam <jonathan.lud...@eu.citrix.com>
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!
>
> Jon
>
>
>
> 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
>
> ./configure.sh
> make
> 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
> xenserver-install-wizard
> reboot
> =======================================================================
>
>
> _______________________________________________
> Xen-api mailing 
> listxen-...@lists.xen.orghttp://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
>
>
> _______________________________________________
> Xen-api mailing list
> Xen-api@lists.xen.org
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
>


-- 
Fan Liao
Cloudpi@BST, Samsung
College of Software Engineering@BUAA
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to