Bug 918098

Summary: build id problem - needed for systemtap and perf annotations
Product: Red Hat Enterprise MRG Reporter: John Kacur <jkacur>
Component: realtime-configurationAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.3CC: acme, bhu, davids, jkastner, lgoncalv, williams
Target Milestone: 2.3.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-20 16:50:00 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:
Attachments:
Description Flags
0001-kbuild-AFTER_LINK.patch
none
0002-Modify-AFTER_LINK-in-kernel-rt.spec-for-v3.6-rt.patch none

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