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

[Xen-devel] An Error happend when install PV drivers on HVM guest

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] An Error happend when install PV drivers on HVM guest
From: cheechuang <cheechuang@xxxxxxxxx>
Date: Sat, 2 Aug 2008 20:20:49 +0800
Delivery-date: Sat, 02 Aug 2008 05:21:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=V1cwCFTgwLJGHKnwqncaAHXR67ZTjppocVWULKrsTqg=; b=gXletp6xPYu+Qxb+PoCrc9ggEamuZcJeEFzrb9XFcG9rlLXkAdhS9nIN6U9+xQEFOP KVMB/9E5LQCpwnYSmFvTEtLsVWEaS/elFqzoBBcFD5lmjyP8BJmzdNtfDULUCvNvdsEs t1oRcbH7yCCOkAmNJnbF9kpsnAf91TPpSyU4c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dOKmOM+MTnwkzujRBpHRphmZJ0+BsbASdYK/RAZmmb9bS2jxzbQeU+VWSJg2Fz2MnQ E547Wip0hl/AuvXLd0KW3F/lRZqgG+LbQ5s7t3/SV/ajgaunorIihKsN2ThjzeDqQUgi 4puoRgW3sbLhrCrJUxyYJq4taW8pDrTFLiZvs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Hi all:

I am trying to compile PV drivers for RHEL5.2 HVM guest(2.6.28-92.el5), but I came across the following errors while I compile it.

 

[root@xenserver linux-2.6]# make -C /lib/modules/`uname -r`/build M=`pwd` modules

make: Entering directory `/usr/src/kernels/2.6.18-92.el5-i686'

  CC [M]  /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.o

In file included from include/xen/interface/xen.h:12,

                 from /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/include/asm/hypervisor.h:40,

                 from /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.c:48:

include/xen/interface/xen-compat.h:23:2: error: #error "These header files do not support the requested interface version."

In file included from /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.c:63:

/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h:150: error: redefinition of typedef ‘irq_handler_t’

include/linux/interrupt.h:67: error: previous declaration of ‘irq_handler_t’ was here

make[2]: *** [/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.o] Error 1

make[1]: *** [/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon] Error 2

make: *** [_module_/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6] Error 2

 

 

Can anybody give me some hints on how to solve this problem ?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] An Error happend when install PV drivers on HVM guest, cheechuang <=