Hi,
I've installed a Xen version 3.0.3 from XenSource rpms on my RHEL 4 Update 2
distro (xen-3.0.3.0-1.i386.rpm, kernel-xen-2.6.16.29-3.0.3.0.i386.rpm,
xen-devel-3.0.3.0-1.i386.rpm)
I'm now trying to install vnet support as described in Xen 3.0 User's
Manual.
I've first installed xen-3.0.3.0-1.src.rpm package:
rpm -ivh xen-3.0.3.0-1.src.rpm
This package installation creates the following files:
in /usr/src/redhat/SOURCES directory:
-rw-r--r-- 1 root root 40835061 Oct 15 15:29 linux-2.6.16.29.tar.bz2
-rw-r--r-- 1 root root 4587164 Oct 16 15:13
xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb.tar.bz2
in /usr/src/redhat/SPECS directory:
-rw-r--r-- 1 root root 8673 Oct 16 15:13
xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb.spec
Then I've extracted the tar.bz2 files:
tar -tjvf linux-2.6.16.29.tar.bz2
tar -tjvf
xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb.tar.bz2
These extractions create the following directories:
/usr/src/redhat/SOURCES/linux-2.6.16.29
/usr/src/redhat/SOURCES/xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb
Finally, I make the vnet installation by executing make install into
/usr/src/redhat/SOURCES/xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb/tools/vnet
directory
The following error messages are displayed when processing the vnet-module
directory:
make -C vnet-module all
make[1]: Entering directory
`/usr/src/redhat/SOURCES/xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb/tools/vnet/vnet-module'
Makefile.ver:28: *** Kernel source for linux 2.6 not found. Stop.
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/xen-3.0.3-testing-local_2006-10-16-14-13-24+0100_57fa367206fb/tools/vnet/vnet-module'
make: *** [vnet-module-all] Error 2
The Makefile.ver file in vnet-module directory contains the following lines:
LINUX_VERSION?=$(shell (/bin/ls -d
$(XEN_ROOT)/pristine-linux-$(LINUX_SERIES).* 2>/dev/null) | \
sed -e 's!^.*linux-\(.\+\)!\1!' )
ifeq ($(LINUX_VERSION),)
$(error Kernel source for linux $(LINUX_SERIES) not found)
endif
$XEN_ROOT is not defined and pristine-linux-$(LINUX_SERIES).* directories do
not exist in this installation context (by using rpms).
So, the vnet installation aborts.
What can I do?
Regards,
Michel Gauthier.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|