RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1160837 - systemtap.examples/io/iostat-scsi issue
Summary: systemtap.examples/io/iostat-scsi issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemtap
Version: 7.1
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-05 18:46 UTC by Martin Cermak
Modified: 2016-02-26 14:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:46:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
stap-report output (10.54 KB, application/x-xz)
2014-11-05 18:46 UTC, Martin Cermak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2124 0 normal SHIPPED_LIVE systemtap bug fix and enhancement update 2015-11-19 10:31:06 UTC

Description Martin Cermak 2014-11-05 18:46:42 UTC
Created attachment 954133 [details]
stap-report output

The systemtap.examples/io/iostat-scsi probably needs either fix or at least test_support: update:


 7.0 S x86_64 # stap -g iostat-scsi.stp 1 -c "sleep 1"
semantic error: while resolving probe point: identifier 'kernel' at iostat-scsi.stp:37:50
        source: probe module("sd_mod").function("sd_prep_fn") !, kernel.function("sd_prep_fn") {
                                                                 ^

semantic error: no match (similar functions: scsi_prep_fn, hp_sw_prep_fn, alua_prep_fn, rdac_prep_fn, k_fn)

semantic error: while resolving probe point: identifier 'module' at :37:7
        source: probe module("sd_mod").function("sd_prep_fn") !, kernel.function("sd_prep_fn") {
                      ^

semantic error: no match (similar functions: sd_prot_op, sd_rescan, sd_dif_ip_fn, sd_open, sd_probe)

Pass 2: analysis failed.  [man error::pass2]
 7.0 S x86_64 # 


Similar error on other arches too.



 7.0 S x86_64 # grep ^test_support iostat-scsi.meta
test_support: stap -l 'module("st").function("st_do_scsi")!,kernel.function("st_do_scsi")'
 7.0 S x86_64 #

Comment 1 David Smith 2014-11-06 20:52:33 UTC
Fixed with upstream commit 6fb025a:

<https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=6fb025aaaa355a8d93dc1ea720007a22665c7659>

====
Fixed BZ1160837 by updating the iostat-scsi.stp example.

* testsuite/systemtap.examples/io/iostat-scsi.stp: Updated for newer
  kernels like RHEL7 and rawhide. Probes the "sd_init_command" kernel
  function which replaced "sd_prep_fn" in newer kernels. Added whitespace
  for more clarity.
====

Tested under RHEL6 (x86_64, ppc64, s390x), RHEL7 (x86_64, ppc64, s390x), and rawhide (x86_64).

The problem was that the upstream kernel had renamed the 'sd_prep_fn()' to 'sd_init_command()'. Also worked around an issue with missing parameter debuginfo on an inlined function on ppc64.

Comment 3 David Smith 2015-06-22 20:45:17 UTC
This appears to be fixed in systemtap 2.8.

Comment 8 errata-xmlrpc 2015-11-19 11:46:42 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.

https://rhn.redhat.com/errata/RHEA-2015-2124.html

Comment 9 BugMasta 2016-02-26 01:50:30 UTC
IS THERE ANY PARTICULAR REASON WHY SYSTEMTAP 2.8 WITH FIX FOR THIS BUG HAS NOT BEEN RELEASED FOR EL6???????


I AM EFFING SICK OF THIS
PEOPLE DON'T GIVE A GODDAMN.

Comment 10 Frank Ch. Eigler 2016-02-26 05:21:08 UTC
(In reply to BugMasta from comment #9)
> IS THERE ANY PARTICULAR REASON WHY SYSTEMTAP 2.8 WITH FIX FOR THIS BUG HAS
> NOT BEEN RELEASED FOR EL6???????

It will be in RHEL6.8.

Comment 11 mbenitez 2016-02-26 14:19:49 UTC
(In reply to BugMasta from comment #9)
> IS THERE ANY PARTICULAR REASON WHY SYSTEMTAP 2.8 WITH FIX FOR THIS BUG HAS
> NOT BEEN RELEASED FOR EL6???????
> 
> 
> I AM EFFING SICK OF THIS
> PEOPLE DON'T GIVE A GODDAMN.

Please be aware that every RHEL has a different release cycle. This bug was timely fixed for the release it was scheduled for [RHEL 7].

If you are a customer your sales or support account representative can help you open a customer case an escalate the issue for a faster turn around for high priority / critical issues.


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