WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] kernel compilation

this is the top of my .config ... will it help if I post the whole thing?

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.10
# Mon Apr 25 14:44:29 2005
#
CONFIG_XEN=y
CONFIG_ARCH_XEN=y
CONFIG_NO_IDLE_HZ=y

#
# XEN
#
# CONFIG_XEN_PRIVILEGED_GUEST is not set
# CONFIG_XEN_PHYSDEV_ACCESS is not set
# CONFIG_XEN_BLKDEV_BACKEND is not set
# CONFIG_XEN_NETDEV_BACKEND is not set
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
# CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set
CONFIG_XEN_WRITABLE_PAGETABLES=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y
CONFIG_X86=y
# CONFIG_X86_64 is not set

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y


On Mon, 25 Apr 2005, Keir Fraser wrote:


On 25 Apr 2005, at 19:56, andrew mathes wrote:

I posted to xen-users I was having problems, but looking through list archives looks like xen-devel is a more appropriate place.

After patching my kernel, and running make menuconfig ARCH=xen, everything seems fine. When I run make ARCH=xen, it compiles fine till here:
  CC      arch/xen/kernel/skbuff.o
 arch/xen/kernel/skbuff.c:28: error: redefinition of `__dev_alloc_skb'
include/linux/skbuff.h:940: error: `__dev_alloc_skb' previously defined here
 arch/xen/kernel/skbuff.c: In function `__dev_alloc_skb':
arch/xen/kernel/skbuff.c:30: warning: implicit declaration of function `alloc_skb_from_cache' arch/xen/kernel/skbuff.c:30: warning: assignment makes pointer from integer without a cast

 is there anything I should be doing different/workaround?

Take a look in your .config file. There should be a line near the start, at the end of the 'XEN' subsection, that says 'CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y'.

If you're missing that, and/or the entire xen subsection, then you've somehow configured for native i386 by mistake.

-- Keir




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

<Prev in Thread] Current Thread [Next in Thread>