Bug 845324 - kernel-rt-debuginfo is does not contain enough info for systemtap to function
Summary: kernel-rt-debuginfo is does not contain enough info for systemtap to function
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Red Hat Real Time Maintenance
QA Contact: David Sommerseth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-02 16:48 UTC by David Sommerseth
Modified: 2016-05-22 23:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-02 17:17:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Sommerseth 2012-08-02 16:48:13 UTC
Description of problem:
kernel-rt-3.0.36-rt57.66 and most likely the kernel-rt-3.2 series as well have debuginfo packages which does not provide enough information for systemtap to function.

The same systemtap script on RHEL6 kernel-2.6.32-220 runs without any problems with the same systemtap script.
  
Actual results:
[root@host ~]# stap --vp 01 graphs.stp 
semantic error: missing x86_64 kernel/module debuginfo under '/lib/modules/3.0.36-rt57.66.el6rt.x86_64/build' while resolving probe point kernel.function("generic_make_request")
semantic error: no match while resolving probe point ioblock.request
semantic error: missing x86_64 kernel/module debuginfo under '/lib/modules/3.0.36-rt57.66.el6rt.x86_64/build' while resolving probe point kernel.function("bio_endio")
semantic error: no match while resolving probe point ioblock.end
semantic error: no match while resolving probe point scheduler.cpu_on
Pass 2: analyzed script: 6 probe(s), 22 function(s), 1 embed(s), 13 global(s) using 202684virt/29328res/5340shr kb, in 80usr/340sys/442real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.
Missing separate debuginfos, use: debuginfo-install kernel-rt-3.0.36-rt57.66.el6rt.x86_64 
[root@host ~]#


Expected results:
A running systemtap script

Additional info:
The following example script have been used for testing this bz
http://sources.redhat.com/systemtap/examples/general/graphs.stp

Comment 1 David Sommerseth 2012-08-02 17:17:45 UTC
It turned out I had managed to get a mixture of kernel-rt packages with different versions installed.

kernel-rt-devel-3.0.36-rt57.66.el6rt.x86_64
kernel-rt-3.0.36-rt57.66.el6rt.x86_64
kernel-rt-debuginfo-common-x86_64-3.0.36-rt58.67.el6rt.x86_64
kernel-rt-debuginfo-3.0.36-rt58.67.el6rt.x86_64

both rt57.66 kernel packages and rt58.67 debuginfo packages.  Fixing this solved the issue.


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