Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
1. Feature Overview:
Feature Id: [67046]
a. Name of Feature: [6.1 FEAT] makedumpfile support - convert Linux on z dumps to ELF - binutils part
b. Feature Description
This feature allows to convert s390 format dumps into ELF format dumps. This is needed in order to
be able to use makedumpfile tool. This feature has different parts needed and tracked in different
feature depending on the affected component (kernel, binutils, crash, s390-tools).
The port of makedumfile to s390 is tracked by a different feature.
This concrete feature provides the binutils part:
The already defined PRSTATUS ELF core section contains only general purpose and access registers and
the program status word. There are additional registers like control registers or the TOD register
that should be stored in a separate ELF header. For that purpose new ELF notes in the binutils
(include/elf/common.h) and the corresponding data structures must be defined.
For using this feature the installation of an updated binutils package is not mandatory, because
only the numbers of the new note sections are defined there and the "readelf" tool (-n option) and
"objdump" tool (-s option) will be updated for printing the the new sections. If a user runs the old
binutils package, the only impact will be that "readelf" will print "unknown" for the new sections.
2. Feature Details:
Sponsor: LTC zSeries BOE
Architectures: zSeries - 64 native,
Arch Specificity: purely arch specific code
Affects Kernel Modules: Field does not exist
Delivery Mechanism: Backport
Category: other
Request Type: Toolchain - Enhancement from IBM
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
The memory footprints of Linux on System z systems grow from year to year and therefore also system
dumps become sometimes so large that it is hard to work with them. For example transferring a 50 GB
dump over the network to a service organization can take a very long time.
The "makedumpfile" open source tool is used to compress system dumps by filtering out memory pages
like free, user space or cache pages that are not necessary for dump analysis.
This feature will improve and remove possible future restrictions in service, by enabling the
infrastructure needed to be able to use makedumfile on Linux on System z.
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
Will this be needed even if we do the rebase to binutils requested in BZ 633574 ?
Comment 3Gonzalo Muelas Serrano
2010-09-22 14:28:03 UTC
The minimum binutils version including this feature is: binutils 2.20.51.0.7
So if the rebase asked in Bug 633574 (>=2.21) is done, there is no need for IBM to provide a backport for this feature.
Please let us know if you are rebasing binutils to inform the developers asap not to do the backport (they will start quite soon).
Thank you!
Created attachment 463523[details]
binutils-2.20.51.0.2-5.11-s390-add-elf-notes.patch
------- Comment on attachment From michael.holzheu.com 2010-11-29 10:58 EDT-------
binutils: Add new ELF core dump notes sections for extra s390 registers
For s390 ELF core dumps currently only the PSW, the general purpose registers,
and access registers are stored in the PRSTATUS notes section. For analyzing
s390 kernel problems additional registers are important. In order to be able
to include these registers to kernel ELF core dumps, this patch adds the
following five new note sections:
* NT_S390_TIMER: S390 timer
* NT_S390_TODCMP: S390 TOD comparator register
* NT_S390_TODPREG: S390 TOD programmable register
* NT_S390_CTRS: S390 control registers
* NT_S390_PREFIX: S390 prefix register
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.
~~ 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!
From mail:
FYI:
Test completed the test for the features impacted by binutils against snap5.
They haven't found any issue with the new binutils and the features work as expected with this new version.
Affected and retested features:
66878 - RHBZ 631540 z196 exploitation in toolchain - binutils
67046 - RHBZ 633448 makedumpfile support - convert Linux on z dumps to ELF - binutils part
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-0614.html