|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] should packages be removed before installing xen from so
On Wed, 2009-10-21 at 11:48 -0600, Nick Couchman wrote:
> >>> On 2009/10/21 at 10:37, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
> > I have some xen servers running on sles10sp2. I'd like to try and
> run
> > the latest stable release from source to see if it improves any
> issues
> > I'm having. Should I remove the xen packages before installing from
> > source?
> >
> > Thanks,
> > James
>
> Yes, you will almost certainly need to do this, as the locations for
> source file installation and the packages are different, and this can
> lead to (and has led to, in my experience) Xen getting confused about
> which Python files it needs to run. Removing the Xen packages should
> help resolve these issues. Once caveat to this is that you'll
> probably have to build *everything* - packages like virt-manager and
> libvirt require the Xen packages to be installed, so you should either
> plan on building new Xen packages and installing those, or making sure
> you download and compile code for all of the components, not just the
> xen-* packages.
>
> -Nick
Nick,
I uninstalled all the xen packages, including all the supporting virt
stuff. I installed a newer kernel-xen and kernel-source. I copied xen.gz
from 3.4.1 to /boot and then booted the new kernel.
When I try to make dist on 3.4.1 it errors out saying it can't find the
source files:
make[2]: Entering directory `/install/xen-3.4.1'
set -e ; \
if [ ! -e linux-2.6.18-xen.hg/.hg ] ; then \
__repo=$(sh buildconfigs/select-repository
linux-2.6.18-xen.hg .:..) ; \
if [ -d ${__repo} ] ; then \
echo "Linking ${__repo} to linux-2.6.18-xen.hg." ; \
ln -s ${__repo} linux-2.6.18-xen.hg ; \
else \
echo "Cloning ${__repo} to linux-2.6.18-xen.hg." ; \
hg clone ${__repo#file://} linux-2.6.18-xen.hg ; \
fi ; \
else \
__parent=$(hg -R linux-2.6.18-xen.hg path default) ; \
echo "Pulling changes from ${__parent} into linux-2.6.18-xen.hg." ;
\
hg -R linux-2.6.18-xen.hg pull ${__parent} ; \
fi
select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
Unable to determine path to Linux source tree.
Falling back to linux-2.6.18-xen Mercurial repository.
Cloning http://xenbits.xensource.com/linux-2.6.18-xen.hg to
linux-2.6.18-xen.hg.
/bin/sh: hg: command not found
make[2]: *** [linux-2.6.18-xen.hg/.valid-src] Error 127
make[2]: Leaving directory `/install/xen-3.4.1'
make[1]: *** [linux-2.6-xen-install] Error 2
make[1]: Leaving directory `/install/xen-3.4.1'
make: *** [install-kernels] Error 1
I think it's looking at the wrong kernel. I'm running
2.6.16.60-0.42.5-xen with the source at /usr/src/linux, but it seems to
be looking for 2.6.18-xen. Do I need to install that specific kernel?
If I do need 2.6.18-xen, where do I get it? Looking at kernel.org but
not finding it.
Thanks,
James
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|