Bug 918098 - build id problem - needed for systemtap and perf annotations
Summary: build id problem - needed for systemtap and perf annotations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-configuration
Version: 2.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 2.3.4
: ---
Assignee: John Kacur
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
: 917855 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-05 13:34 UTC by John Kacur
Modified: 2013-05-20 16:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: BuildID bits missing from vmlinux and vDSO images Consequence: Systemtap and perf do not work as expected. Fix: Use the AFTER_LINK variable solution Result: BuildID bits in final images, Systemtap and perf work as expected
Clone Of:
Environment:
Last Closed: 2013-05-20 16:50:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
0001-kbuild-AFTER_LINK.patch (3.95 KB, patch)
2013-03-05 14:24 UTC, John Kacur
no flags Details | Diff
0002-Modify-AFTER_LINK-in-kernel-rt.spec-for-v3.6-rt.patch (999 bytes, patch)
2013-03-05 14:25 UTC, John Kacur
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0829 0 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2013-05-20 20:47:02 UTC

Description John Kacur 2013-03-05 13:34:38 UTC
Description of problem:
It seems the build id problem is back:

[root@perf80 ~]# rpm -ql kernel-rt-debuginfo-`uname -r` | grep build-id | head -4
/usr/lib/debug/.build-id
/usr/lib/debug/.build-id/00
/usr/lib/debug/.build-id/00/1d66fd706fa473e260686d56f3a76fd657ef22
/usr/lib/debug/.build-id/00/1d66fd706fa473e260686d56f3a76fd657ef22.debug
[root@perf80 ~]# uname -r
3.6.11-rt30.25.el6rt.x86_64
[root@perf80 ~]# rpm -q kernel-rt
kernel-rt-3.6.11-rt30.25.el6rt.x86_64
[root@perf80 ~]# rpm -q kernel-rt-debuginfo
kernel-rt-debuginfo-3.6.11-rt30.25.el6rt.x86_64
[root@perf80 ~]# perf buildid-list --kernel
fb327305329247888a40f8e743520572022af411
[root@perf80 ~]# rpm -ql kernel-rt-debuginfo-`uname -r` | grep `perf buildid-list --kernel | cut -c3-`
[root@perf80 ~]#

All packages were installed from:

# brew tag == mrg-rt-2-v3.6-rhel-6-devel
# # the v3.6 kernel (3.6.x-based)
[mrg-rt-2-v3.6-rhel-6-devel]
name=MRG v3.6 kernel packages for x86_64 on RHEL6
baseurl=http://download.lab.bos.redhat.com/rel-eng/repos/mrg-rt-2-v3.6-rhel-6-devel/x86_64
enabled=1
gpgcheck=0

-----

Right not it is not possible to use systemtap nor do annotation in perf :-\

Comment 1 John Kacur 2013-03-05 14:21:56 UTC
*** Bug 917855 has been marked as a duplicate of this bug. ***

Comment 2 John Kacur 2013-03-05 14:24:22 UTC
Created attachment 705475 [details]
0001-kbuild-AFTER_LINK.patch

Comment 3 John Kacur 2013-03-05 14:25:34 UTC
Created attachment 705482 [details]
0002-Modify-AFTER_LINK-in-kernel-rt.spec-for-v3.6-rt.patch

Comment 9 errata-xmlrpc 2013-05-20 16:50:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0829.html


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