Alexandra (Sasha) Fedorova wrote:
> I am trying to build Xen from on-src-b79. According to opensolaris website,
> all xVM sources should be in the on-src-b79 tree, and no additional sources
> are required. I followed the procedure for doing the nightly build, and I
> expected that, as a result I will build, along with the Solaris kernel, the
> xen.gz image. I was hoping to copy that xen.gz image to my test machine, so I
> can boot with my own copy of Xen. I was sure that xen.gz was needed, because
> the grub boot menu for xVM requires that file.
>
> However, the nightly build did not produce xen.gz, and grepping nightly.log
> for "xen" didn't show any build errors. When I searched the proto/root_i386
> directory, produced as part of the build, for filenames containing the string
> "xen", this is what I saw:
>
> ./platform/i86xpv/kernel/drv/amd64/xenbus
> ./platform/i86xpv/kernel/drv/amd64/xencons
> ./platform/i86xpv/kernel/drv/xencons.conf
> ./platform/i86xpv/kernel/drv/xenbus
> ./platform/i86xpv/kernel/drv/xencons
> ./usr/platform/i86xpv/include/sys/xen_errno.h
> ./usr/platform/i86xpv/include/sys/xen_mmu.h
> ./usr/lib/devfsadm/linkmod/SUNW_xen_link.so
>
> My question is: why wasn't xen.gz built as part of the nightly build? What do
> I need to do to build and run my own copy of Xen?
The xen sources are in a different gate.. You need to
grab the xen related sources which match the build
of on-src... e.g. for b79
http://dlc.sun.com/osol/on/downloads/b79/xvm-src.tar.bz2
In there, you'll see a xen.hg with mercurial mq patches
required to build Xen on/for a Solaris dom0.
I believe b79 is based on 3.0.4. Build 89 which
should be available soon is based on 3.1.4.
MRJ
_______________________________________________
xen-discuss mailing list
[email protected]