[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Cannot install vnet support in Xen 3.0.3.


  • To: "Michel Gauthier" <Michel.Gauthier@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 10 Nov 2006 17:33:56 +0100
  • Delivery-date: Fri, 10 Nov 2006 08:34:38 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AccE5SJsGxu/r3GFTw24YbzYU+eDAgAAI3KA
  • Thread-topic: [Xen-users] Cannot install vnet support in Xen 3.0.3.

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Michel Gauthier
> Sent: 10 November 2006 16:27
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Cannot install vnet support in Xen 3.0.3.
> 
> 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.

You should build the entire Xen system, or perhaps it will be sufficient
to do "export
XEN_ROOT=/usr/src/redhat/SOURCES/xen-3.0.3-testing-local...." and then
do "make -C vnet-module all".

The former is known to work, the latter MAY work...

--
Mats
> 
> What can I do?
> 
> Regards,
> Michel Gauthier.
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.