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 632354 - [6.1 FEAT] Valgrind System z support
Summary: [6.1 FEAT] Valgrind System z support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: valgrind
Version: 6.1
Hardware: s390x
OS: All
high
high
Target Milestone: beta
: 6.1
Assignee: Jakub Jelinek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 538808 580566 633878
TreeView+ depends on / blocked
 
Reported: 2010-09-09 18:31 UTC by IBM Bug Proxy
Modified: 2011-05-19 13:58 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:58:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 66892 0 None None None Never
Red Hat Product Errata RHBA-2011:0665 0 normal SHIPPED_LIVE valgrind bug fix and enhancement update 2011-05-18 18:10:55 UTC

Description IBM Bug Proxy 2010-09-09 18:31:06 UTC
1. Feature Overview:
Feature Id: [66892]
a. Name of Feature: [6.1 FEAT] Valgrind System z support
b. Feature Description
Request to upgrade Valgrind to 3.6 (yet to be released) and accept patch (which provides s390x
support) on top. The patch will be upstream after 3.6.

Valgrind is a suite of tools for debugging and profiling Linux programs. currently it is available
for x86/ppc-Linux. With the tools that come with Valgrind, a developer can automatically detect many
memory management and threading bugs, avoiding hours of frustrating bug-hunting, making his programs
more stable. With Valgind a detailed profiling can be performed, to speed up and reduce memory use
in programs. This line item covers the implementation of Valgrind for System z. With this item
completed it will be possible to run complex applications under Valgrind on System z. The memcheck
and cachegrind valgrind plugins will also be ported to System z as part of this line item.

2. Feature Details:
Sponsor: LTC zSeries BOE
Architectures:  zSeries - 64 native, 

Arch Specificity: both
Affects Kernel Modules: Field does not exist
Delivery Mechanism: Direct from Community
Category: other
Request Type: Package - Version Update
d. Upstream Acceptance: Field does not exist
Sponsor Priority P2
f. Severity: high
IBM Confidential: No
Code Contribution: IBM code
g. Component Version Target:---

3. Business Case
Valgrind has proven to be a valuable tool debugging user-space memory management problem on x86 and
PPC platforms. Several customers have requested to have this tool on zSeries as well. Besides the
capabilities to debug memory problems other plugins (cachegrind) enable us to analyze the cache
access patterns of applications which turned out to be a key issue in order to get the best
performance on z10 machines.

4. Primary contact at Red Hat:
John Jarvis, jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Hans-Georg Markgraf, mgrf.com

Technical contact(s):
Gonzalo Muelas Serrano, gmuelas.com

Comment 2 IBM Bug Proxy 2010-10-04 16:16:11 UTC
------- Comment From rsisk.com 2010-10-04 11:32 EDT-------
Code Upstream Status: In Progress

Comment 3 IBM Bug Proxy 2010-11-03 14:50:54 UTC
------- Comment From borntraeger.com 2010-11-03 10:43 EDT-------
FYI. valgrind 3.6 was released on 21/10/2010.
Updated patch is in https://bugs.kde.org/show_bug.cgi?id=243404

Comment 4 Jakub Jelinek 2010-11-22 09:30:27 UTC
valgrind-3.6.0, including the s390{,x} support, has been so far pushed into rawhide.

Comment 6 John Jarvis 2010-11-30 15:35:40 UTC
IBM is signed up to test and provide feedback, setting OtherQA.

Comment 8 John Jarvis 2010-12-01 14:46:57 UTC
This enhancement request was evaluated by the full Red Hat Enterprise Linux 
team for inclusion in a Red Hat Enterprise Linux minor release.   As a 
result of this evaluation, Red Hat has tentatively approved inclusion of 
this feature in the next Red Hat Enterprise Linux Update minor release.   
While it is a goal to include this enhancement in the next minor release 
of Red Hat Enterprise Linux, the enhancement is not yet committed for 
inclusion in the next minor release pending the next phase of actual 
code integration and successful Red Hat and partner testing.

Comment 9 Jakub Jelinek 2010-12-01 19:40:08 UTC
I've tried to backport this, but the 1.5MB worth of patches have > 200KB of rejects and there were several internal valgrind API changes, so the code would need to be adjusted.

So, I think rebase is the only option, unless IBM would like to do the backport of the s390x stuff to 3.5.0 themselves.  Shipping 3.5.0 on most RHEL6.1 arches and only on s390x ship 3.6.0 instead is not a good idea.

The power6 changes on the other side are likely backportable (assuming I've identified all the relevant ones), but if we rebase for s390x anyway, the backporting would be wasted work.

Comment 10 IBM Bug Proxy 2010-12-01 20:21:20 UTC
------- Comment From gmuelas.com 2010-12-01 15:15 EDT-------
Hello Jakub,

exactly with what you point out, IBM System z request is to rebase to 3.6.0 and to add the s390x upstream patch which fits in 3.6.0.

Let us know if you may want to have a call about it in case you cannot join next Wednesday Fedora/RHEL 6.x System z Dev call.

Thank you for your support!

Comment 13 IBM Bug Proxy 2011-03-08 09:05:20 UTC
------- Comment From borntraeger.com 2011-03-08 03:48 EDT-------
FYi, the s390x port went upstream yesterday.

Comment 15 IBM Bug Proxy 2011-04-05 06:11:41 UTC
------- Comment From mgrf.com 2011-04-05 02:09 EDT-------
This is verified on r 6.1 snapshots - set to verified  Thx

Comment 16 Chris Ward 2011-04-06 11:05:16 UTC
~~ Partners and Customers ~~

This bug was included in RHEL 6.1 Beta. Please confirm the status of this request as soon as possible.

If you're having problems accessing 6.1 bits, are delayed in your test execution or find in testing that the request was not addressed adequately, please let us know.

Thanks!

Comment 17 errata-xmlrpc 2011-05-19 13:58:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0665.html


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