[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] [Q] Xen 4.1.1 and kernel-2.6.36.4 on scientific linux 6.


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Hiroyuki Sato <hiroysato@xxxxxxxxx>
  • Date: Fri, 24 Jun 2011 23:39:40 +0900
  • Cc:
  • Delivery-date: Fri, 24 Jun 2011 07:45:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M4IDOSCmjLCk/2Sh80bOIgv9IcThWZQrS1o+wVoGZqg7LydriR+drw/svSA1qtcXvm cgLPxyrDNQy2NEw8Jndio/BdPXSK1VCKz6oUQrvHSEvQMIrk38ItKSr3VSS00i0lc8by 1p/100WbNSGVy6u9hBKyvt5eGNdZL+RyIArrI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.