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] domU guest for xcp 0.1.1

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] domU guest for xcp 0.1.1
From: Ritu kaur <ritu.kaur.us@xxxxxxxxx>
Date: Sat, 13 Mar 2010 17:43:23 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 13 Mar 2010 17:44:09 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=0CmzicwIYsBc+psLS/KmH8Hnr3rWVUh4UXwxDcMohD4=; b=lj1ZsqY0MP1PksFY3lTPieo+YgJs4HIT3zZChEI3MBbc+z29bSGIxKt6vrtjmzm47D a8is3LPBzM8v0V4+D4GRPGNP0BGy/1IIFrooXpq18hlfaMOJzVjrnONCambMHgklGtuA IReFABG8fcEXFdi9gLAfJ3328tjfxE8BLgeoI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=u0kC04nheyuQf7gEeoZbHJlyutRziAqcUbOR9L6aGW0xvc4fwVqW2Yd5666Ve4G9Zk d8tqZJno6Lm34rOLkIyHWNOphQuqCnb/4V/STaL+C2zi22qKpzL23IGHRHN/fwO48Fw9 kAvBmWw90oZFoI+tQbQMFlBDK3EQIb/WSJV/s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100313164102.GZ1878@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <29b32d341003120910l5340bc01tcada3ca2adbaf763@xxxxxxxxxxxxxx> <20100312175135.GK1878@xxxxxxxxxxx> <29b32d341003121751s517ea28qbdb78e8cc69243ac@xxxxxxxxxxxxxx> <20100313111857.GS1878@xxxxxxxxxxx> <29b32d341003130809u49d1edcas234fdca4c3d70ed@xxxxxxxxxxxxxx> <20100313164102.GZ1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I followed the steps mentioned in  wiki to pull xen code to compile domU kernel from

1. xen/master, I get following compilation errors. I do see in xen-devel forum someone else has reported similar issue but no solution yet(patch provided by Konrad has followup errors)

CC [M]  drivers/watchdog/machzwd.o
  CC [M]  drivers/watchdog/sbc_epx_c3.o
  CC [M]  drivers/watchdog/softdog.o
  CC      drivers/xen/grant-table.o
  CC      drivers/xen/features.o
  CC      drivers/xen/events.o
drivers/xen/events.c:605: error: redefinition of ‘xen_destroy_irq’
/root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:29: error: previous definition of ‘xen_destroy_irq’ was here
drivers/xen/events.c:637: error: redefinition of ‘xen_create_msi_irq’
/root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:25: error: previous definition of ‘xen_create_msi_irq’ was here
make[2]: *** [drivers/xen/events.o] Error 1
make[1]: *** [drivers/xen] Error 2
make: *** [drivers] Error 2

2. xen/stable, I get following errors

 CC      drivers/pci/xen-pcifront.o
drivers/pci/xen-pcifront.c:373: error: variable ‘pci_frontend_ops’ has initializut incomplete type
drivers/pci/xen-pcifront.c:374: error: unknown field ‘enable_msi’ specified in ializer
drivers/pci/xen-pcifront.c:374: warning: excess elements in struct initializer
drivers/pci/xen-pcifront.c:374: warning: (near initialization for ‘pci_frontend_op)’
drivers/pci/xen-pcifront.c:375: error: unknown field ‘disable_msi’ specified in ializer
drivers/pci/xen-pcifront.c:375: warning: excess elements in struct initializer
drivers/pci/xen-pcifront.c:375: warning: (near initialization for ‘pci_frontend_op)’
drivers/pci/xen-pcifront.c:376: error: unknown field ‘enable_msix’ specified in ializer
drivers/pci/xen-pcifront.c:376: warning: excess elements in struct initializer
drivers/pci/xen-pcifront.c:376: warning: (near initialization for ‘pci_frontend_op)’
drivers/pci/xen-pcifront.c:377: error: unknown field ‘disable_msix’ specified intializer
drivers/pci/xen-pcifront.c:377: warning: excess elements in struct initializer
drivers/pci/xen-pcifront.c:377: warning: (near initialization for ‘pci_frontend_op)’
drivers/pci/xen-pcifront.c: In function ‘pci_frontend_registrar’:
drivers/pci/xen-pcifront.c:383: error: ‘xen_pci_frontend’ undeclared (first use his function)
drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is reported only once
drivers/pci/xen-pcifront.c:383: error: for each function it appears in.)
make[2]: *** [drivers/pci/xen-pcifront.o] Error 1
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2

Kindly let me know how to proceed on this.

Thanks


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