Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 846553

Summary: crash warning: kernel relocated [0MB]: patching 3438 gdb minimal_symbol values
Product: Red Hat Enterprise Linux 5 Reporter: Guangze Bai <gbai>
Component: crashAssignee: Dave Anderson <anderson>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.9CC: ccui, qcai, yshao
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-30 18:07:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guangze Bai 2012-08-08 06:37:53 UTC
Description of problem:

This is observed in kernel-xen vmcore analysis

# crash /boot/xen-syms-2.6.18-333.el5 /var/crash/127.0.0.1-2012-08-08-00\:38\:56/vmcore 

crash 5.1.8-1.el5
... 
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...

WARNING: kernel relocated [0MB]: patching 3438 gdb minimal_symbol values <-----

   KERNEL: /boot/xen-syms-2.6.18-333.el5                               
DEBUGINFO: /usr/lib/debug/boot/xen-syms-2.6.18-333.el5.debug
 DUMPFILE: /var/crash/127.0.0.1-2012-08-08-00:38:56/vmcore
     CPUS: 2
  DOMAINS: 4
   UPTIME: 15:05:11
  MACHINE: Intel(R) Xeon(R) CPU            5160  @ 3.00GHz  (2992 Mhz)
   MEMORY: 2 GB
  PCPU-ID: 0
     PCPU: ff1f3fb4
  VCPU-ID: 0
     VCPU: ffbea080  (VCPU_RUNNING)
DOMAIN-ID: 0
   DOMAIN: ff1dc080  (DOMAIN_RUNNING)
    STATE: CRASH

crash>

How reproducible:
always on i386 xen kernel

Expected results:
no warning expected

Additional info:

Comment 2 Dave Anderson 2012-08-08 13:13:13 UTC
That warning message was addressed in crash 6.0.1:

  http://people.redhat.com/anderson/crash.changelog.html#6_0_1

  6.0.1  - Several fixes/updates for the 32-bit PPC architecture:
         ... [ cut ] ....

         - Fix for the inadvertent patching of the symbols of the 32-bit Xen
           hypervisor binary.  Without the patch, during initialization the
           minimal_symbols are "patched" with their original values, so they
           remain unchanged, and the message "WARNING: kernel relocated [0MB]:
           patching 3434 gdb minimal_symbol values" is displayed.
           (anderson)

         ...

It's harmless because the kernel is "relocated" by 0 bytes, and therefore
the minimal_symbol values are "patched" with their own values.

Comment 7 Dave Anderson 2013-10-30 18:07:46 UTC
This Bugzilla has been reviewed by Red Hat and is not planned on being
addressed in Red Hat Enterprise Linux 5, and therefore will be closed.
If this bug is critical to production systems, please contact your Red
Hat support representative and provide sufficient business
justification. Issue is already fixed in RHEL-6/7.