|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-ia64-devel
Re: [Xen-ia64-devel] [IA64] Weekly benchmark results [ww36] 
| Hi Isaku,
On <20070910024022.GD12975%yamahata@xxxxxxxxxxxxx>
 Isaku Yamahata wrote:
> 
> > - PV-on-HVM drivers cannot be compiled for RHEL4U2
> 
> I'm afraid that the xencomm consolidation patch caused it.
> I sent out some patches. Does it fixes the issue?
> http://article.gmane.org/gmane.comp.emulators.xen.ia64/7570
Thank you for this information. 
In RHEL4U4, insmod xen-platform-pci.ko failed with these patches.
kernel's message:
  xen_platform_pci: Unknown symbol xencomm_arch_hypercall_suspend
In RHEL4U2, building PV-on-HVM drivers still failed on
ia64/xen-unstable:15840 and ia64/linux-2.6.18-xen.hg:196 with your
patches.
  /ia64/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/
  xencomm.c:71: error: syntax error before "gfp_mask"
This compilation issue was fixed by an attached patch.
But insmod fails with the same error as RHEL4U4.
Best Regards,
-- 
  KUWAMURA Shin'ya
 # HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1189408844 -32400
# Node ID 0b0ee2d51ecf8f25a4ab5e4b00eb12758462c718
# Parent  46d0be0c483a09273219872bf452406886f1b3e6
PV-on-HVM: xencomm - compilation fix for old Linux kernels.
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
diff -r 46d0be0c483a -r 0b0ee2d51ecf drivers/xen/core/xencomm.c
--- a/drivers/xen/core/xencomm.c        Tue Sep 04 10:57:25 2007 +0900
+++ b/drivers/xen/core/xencomm.c        Mon Sep 10 16:20:44 2007 +0900
@@ -27,6 +27,10 @@
 #include <asm/xen/xencomm.h>   /* for is_kern_addr() */
 #endif
 
+#ifdef HAVE_XEN_PLATFORM_COMPAT_H
+#include <xen/platform-compat.h>
+#endif
+
 static int xencomm_init(struct xencomm_desc *desc,
                        void *buffer, unsigned long bytes)
 {
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel | 
 |  | 
  
    |  |  |