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-users

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

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [Q] Xen 4.1.1 and kernel-2.6.36.4 on scientific linux 6.
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ZokFIvjTBeDkUxrF0jXKbekg8vIuu/A26pj5mVNlz3k=; b=o+huTCaFVxBao10gAZaFY/5qBg0GrreSLdIXaLzFu82KFJhteG8wZypRn74+/fJgNs mijqCdtmbu62g7gHIu4m6njYrD5FNwW23kHXxDZTBuN4EXnLkuc+GK/7VqxYdBrC5TSO tc901cqeBFQHgI2av9zpjUqoD8pTBxLinO4cI=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] [Q] Xen 4.1.1 and kernel-2.6.36.4 on scientific linux 6., Hiroyuki Sato <=