Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 672844 - section mismatch due to wrong annotation of hugetlb_sysfs_add_hstate()
section mismatch due to wrong annotation of hugetlb_sysfs_add_hstate()
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel (Show other bugs)
6.1
All All
high Severity high
: rc
: ---
Assigned To: Dean Nelson
Caspar Zhang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-26 10:20 EST by Dean Nelson
Modified: 2013-07-03 03:28 EDT (History)
2 users (show)

See Also:
Fixed In Version: kernel-2.6.32-112.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-23 16:39:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 07:58:07 EDT

  None (edit)
Description Dean Nelson 2011-01-26 10:20:58 EST
Since the recent setting of CONFIG_DEBUG_SECTION_MISMATCH to 'y', builds of RHEL6.1 are seeing the following warning message:

  WARNING: mm/built-in.o(.text+0x405c0): Section mismatch in reference from the function hugetlb_register_node() to the function .init.text:hugetlb_sysfs_add_hstate()
  The function hugetlb_register_node() references
  the function __init hugetlb_sysfs_add_hstate().
  This is often because hugetlb_register_node lacks a __init
  annotation or the annotation of hugetlb_sysfs_add_hstate is wrong.

It turns out that the annotation of hugetlb_sysfs_add_hstate() is wrong. And can be corrected by backporting the following linux-2.6 commit:

  commit 094e9539bd24bbe23b8e2741e903b0f3f1f85b03
  Author: Jeff Mahoney <jeffm@suse.com>
  Date:   Tue Feb 2 13:44:14 2010 -0800
      hugetlb: fix section mismatches
Comment 1 RHEL Product and Program Management 2011-01-26 10:30:53 EST
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.
Comment 3 Aristeu Rozanski 2011-02-03 14:06:26 EST
Patch(es) available on kernel-2.6.32-112.el6
Comment 6 Caspar Zhang 2011-03-18 06:24:41 EDT
Tested with kernel-2.6.32-124.el6.src.rpm, the section mismatch was gone.

Move to "VERIFIED"
Comment 7 errata-xmlrpc 2011-05-23 16:39:02 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0542.html

Note You need to log in before you can comment on or make changes to this bug.