Bug 845324 - kernel-rt-debuginfo is does not contain enough info for systemtap to function
kernel-rt-debuginfo is does not contain enough info for systemtap to function
Status: CLOSED NOTABUG
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel (Show other bugs)
2.1
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Red Hat Real Time Maintenance
David Sommerseth
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-02 12:48 EDT by David Sommerseth
Modified: 2016-05-22 19:35 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-02 13:17:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Sommerseth 2012-08-02 12:48:13 EDT
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 13:17:45 EDT
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.