Lu Baolu wrote:
> On Fri, Oct 31, 2008 at 4:52 PM, David Edmondson <[EMAIL PROTECTED]> wrote:
>> On Fri, Oct 31, 2008 at 04:13:15PM +0800, Lu Baolu wrote:
>>> For onnv, do you mean build 94 or 89?
>> Start with build 89. The onnv gate that Mark describes in his
>> instructions started out as based on build 89. It was later updated to
>> build 94, but it's still easier to start with 89.
>>
>
> Hi David,
>
> I changed the steps to build the vt-d supported xvm and onnv bits
> according to the discussion with you. Would you please help me to
> review it and tell whether it works?
>
> Grub and build xvm packages
> ========================
> 1. Setting up all the environment parameters according to the Mark's
> instruction
>
> 2. Grab/setup the b101 xvm sources
> mkdir xvm-gate
> cd xvm-gate
> wget http://dlc.sun.com/osol/on/downloads/b89/xvm-src.tar.bz2
> bzcat xvm-src.tar.bz2 | tar xf -
>
> 3. Clone the sunos.hg bits
> mv sunos.hg sunos.hg.89
> hg clone ssh://[EMAIL PROTECTED]/hg/xen-gate/sunos-unstable sunos.hg
You probably want to have the b89 sunos.hg bits
and
hg pull -uv <path-to-b101-xvm-source>/sunos.hg
to pull in the 101 bits.. There will be a fair amount of merging
to get that to work.
MRJ
> 4. Get the xen-unstable changeset 17748
> [Note: Since the latest xvm source was sync'ed up to xen-unstable
> changeset 17748, the changeset # is different from Mark's original
> instruction.]
> mv xen.hg xen.hg.89
> hg clone -r 17748 http://xenbits.xensource.com/xen-unstable.hg xen.hg
>
> 5. get xen-unstable patches
> cd xen.hg
> hg qinit -c
> echo "[paths]" > .hg/patches/.hg/hgrc
> echo "default =
> ssh://[EMAIL PROTECTED]/hg/xen-gate/devel-unstable-patches" >>
> .hg/patches/.hg/hgrc
> cd .hg/patches/
> hg pull -uv
>
> 6. push the patch stack
> cd ../../
> hg qpush -a
>
> 7. build xvm packages
> sunos.hg/bin/build-all full
>
> Grub and build onnv bits
> ===================
> hg clone ssh://[EMAIL PROTECTED]/hg/xen-gate/matrix-unstable
> hg clone ./matrix-unstable matrix-unstable-build
> cd matrix-unstable-build
>
> [Note: since the onnv bits are updated to onnv_94, so the b94
> close-bin is grubed instead of b89 in original instruction.]
>
> wget http://dlc.sun.com/osol/on/downloads/b94/on-closed-bins.i386.tar.bz2
> wget http://dlc.sun.com/osol/on/downloads/b94/on-closed-bins-nd.i386.tar.bz2
> bzcat on-closed-bins.i386.tar.bz2 | tar xf -
> bzcat on-closed-bins-nd.i386.tar.bz2 | tar xf -
> setup env script and run nightly
>
> Update xvm packages and onnv bits
> ============================
>
> [Question: is there any dependence between the xvm packages
> installation and onnv bits BFU? In another word, is there a must that
> who will be updated first?]
>
> 1. install xvm packages
> # svcadm disable xvm/domains xvm/console xvm/xend xvm/store
> # pkgrm SUNWvirtinst SUNWurlgrabber SUNWlibvirt SUNWxvmh \
> SUNWxvmhvm SUNWxvmu SUNWxvmr SUNWxvmdomu SUNWxvmdomr
> # pkgadd -d packages-nondebug SUNWxvmdomr SUNWxvmdomu SUNWxvmr
> SUNWxvmu SUNWxvmhvm \
> SUNWxvmh SUNWlibvirt SUNWurlgrabber SUNWvirtinst
> # svcadm enable xvm/store xvm/xend xvm/console xvm/domains
> # reboot
>
> 2. BFU the onnv bits
>
> That's all.
> Thanks,
> -Baolu
> _______________________________________________
> xen-discuss mailing list
> [email protected]
_______________________________________________
xen-discuss mailing list
[email protected]