Hiroyuki Sato
2011-Jun-24  14:39 UTC
[Xen-users] [Q] Xen 4.1.1 and kernel-2.6.36.4 on scientific linux 6.
Dear members.
I''m trying to build Xen 4.1.1 and kernel-2.6.36.4 on scientific linux
6.
And I would like to know how to avoid this warning.
Please tell me how to fix this warning.
( or Can I ignore this warning?? )
  WARNING: arch/x86/built-in.o(.text+0x515): Section mismatch in
reference from th
  e function xen_hvm_init_shared_info() to the function .init.text:extend_brk()
  The function xen_hvm_init_shared_info() references
  the function __init extend_brk().
  This is often because xen_hvm_init_shared_info lacks a __init
  annotation or the annotation of extend_brk is wrong.
* Environment
  OS: scientific linux
  kernel: 2.6.32-131.2.1.el6.x86_64
* how to build
  1, extract source
    tar xvfz linux-2.6.36.4
  2, make menuconfig
  3, edit .config file
    CONFIG_XEN=y
    CONFIG_XEN_PVHVM=y
    CONFIG_XEN_MAX_DOMAIN_MEMORY=32
    CONFIG_XEN_SAVE_RESTORE=y
    CONFIG_XEN_DEBUG_FS=y
    CONFIG_XEN_BLKDEV_FRONTEND=y # modified m -> y
    CONFIG_NETXEN_NIC=y # modified  m -> y
    CONFIG_XEN_NETDEV_FRONTEND=y # modified  m -> y
    CONFIG_XEN_KBDDEV_FRONTEND=y
    CONFIG_HVC_XEN=y
    CONFIG_XEN_FBDEV_FRONTEND=y
    CONFIG_XEN_BALLOON=y
    CONFIG_XEN_SCRUB_PAGES=y
    CONFIG_XEN_DEV_EVTCHN=y # modified  m -> y
    CONFIG_XENFS=y # modified  m -> y
    CONFIG_XEN_COMPAT_XENFS=y
    CONFIG_XEN_SYS_HYPERVISOR=y
    CONFIG_XEN_PLATFORM_PCI=y
    CONFIG_SWIOTLB_XEN=y
  4, make bzImage
     MODPOST vmlinux.o
    WARNING: vmlinux.o(.text+0x2515): Section mismatch in reference
from the functio
    n xen_hvm_init_shared_info() to the function .init.text:extend_brk()
    The function xen_hvm_init_shared_info() references
    the function __init extend_brk().
    This is often because xen_hvm_init_shared_info lacks a __init
    annotation or the annotation of extend_brk is wrong.
    WARNING: vmlinux.o(.cpuinit.text+0x65d9): Section mismatch in
reference from the
     function end_local_APIC_setup() to the function
.init.text:enable_drhd_fault_ha
    ndling()
    The function __cpuinit end_local_APIC_setup() references
    a function __init enable_drhd_fault_handling().
    If enable_drhd_fault_handling is only used by end_local_APIC_setup then
    annotate enable_drhd_fault_handling with a matching annotation.
Sincerely.
-- 
Hiroyuki Sato
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users