[Bug 1971959] Re: [UBUNTU 22.04] dbginfo.sh: stabilization of data collection
Launchpad Bug Tracker
1971959 at bugs.launchpad.net
Tue Jul 5 20:35:13 UTC 2022
This bug was fixed in the package s390-tools - 2.20.0-0ubuntu3.1
---------------
s390-tools (2.20.0-0ubuntu3.1) jammy; urgency=medium
* Fix chreipl-fcp-mpath (LP: #1971993)
- Move chreipl-fcp-mpath* from /lib/udev/rules.d to /lib/udev.
- d/control:
+ Build-Depend on bsdextrautils for hexdump
+ Add multiple explicit Depends on udev
+ s390-tools-chreipl-fcp-mpath: drop unnecessary Depends on lvm2
- No longer change attributes of chreipl-fcp-mpath-common.sh to 755,
since only the input script '.in' has a she-bang, but not the '.sh'
anymore (was done with commit c2f8988).
- Add d/p/0d15a07-chreipl-fcp-mpath-bundle-a-pre-cooked-man-page.patch
to bundle a pre-cooked version of the man page for chreipl-fcp-mpath
Required minor context adjustment for CHANGELOG.md hunk
and changes in d/rules.
- Add missing README.md to s390-tools-chreipl-fcp-mpath.doc
(and with that also the README.md for genprotimg to s390-tools.docs).
* Add new CPU-MF Counters for new IBM Z hardware (LP: #1960119) by:
- d/p/2515832-util_arch-Add-IBM-z16-as-known-machine.patch and
- d/p/cce5f51-cpumf-lscpumf-Add-IBM-z16-extended-counter-set-def.patch
* Add exploitation support of new IBM Z crypto hardware (LP: #1959548) with:
- d/p/b16a6d4f-lszcrypt-add-CEX8S-support.patch
- d/p/bcbb6fca-zcryptstats-add-CEX8-support.patch
- d/p/4382901d-lszcrypt-show-AP-bus-msg-size-limit-capability.patch
- d/p/27dce331-lszcrypt-add-support-for-checkstop-state.patch
- d/p/a29b3c89-lszcrypt-new-options-to-show-only-accel-cca-or-ep11-.patch
- d/p/a8b0d7ac-lszcrypt-new-options-to-filter-cards-queues-only.patch
- d/p/46fd42af-lszcrypt-new-option-to-show-the-serial-numbers-of-CC.patch
* Stabilization of data collection in dbginfo.sh script (LP: #1971959)
by adding several upstream patches:
- d/p/*-dbginfo.sh-*.patch
- whereas one needed minor context adjutment for the CHANGELOG.md hunk:
d/p/50a4740-dbginfo.sh-replace-which-by-builtin-command-type-for.patch
* Fix cmsfs-fuse mount failure due to unknown option '-o hard_remove'
(LP: #1978323) with:
d/p/0981df6-cmsfs-fuse-fix-enabling-of-hard_remove-option.patch
-- Frank Heimes <frank.heimes at canonical.com> Fri, 20 May 2022 13:48:34
+0200
** Changed in: s390-tools (Ubuntu Jammy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1971959
Title:
[UBUNTU 22.04] dbginfo.sh: stabilization of data collection
Status in Ubuntu on IBM z Systems:
Fix Committed
Status in s390-tools package in Ubuntu:
Fix Released
Status in s390-tools source package in Jammy:
Fix Released
Status in s390-tools source package in Kinetic:
Fix Released
Bug description:
SRU Justification:
==================
[Impact]
* The s390x-specific dbginfo.sh script, used to collect runtime,
configuration and trace information for debugging Linux on IBM Z,
has stabilization issues while collecting data.
* Script hangups are possible on single commands,
* potentially missing data collection on error
* and overwrites of buffers by diag commands.
[Test Plan]
* Prepare an IBM zSystems or LinuxONE system
(ideally an LPAR as well as a z/VM guest)
with an Ubuntu 22.04 system.
* The s390-tools package is mandatory and always installed,
but needs to be replaced with an updated/fixed version -
pick the version from the PPA that is mentioned below.
* Execute dbginfo.sh (as root or with sudo).
* Monitor the output and verify if all 18 steps are completed,
without any crashes or hangs.
* Inspect the size and content of the result file:
/tmp/DBGINFO-*.tgz
[Where problems could occur]
* The script might no run on older generations anymore.
* Some of the things that are gathered might not be
properly picked (like z/VM data on LPAR).
* If a step fails (like in the past), no summarized
output might be generated.
__________
Description: dbginfo.sh: stabilization of data collection
Symptom: - script hangup possible on single commands
- missing data collection on error
- overwrite of buffers by diag commands
Problem: hangup and loss of data collection
Solution: rework code regarding
- add timeout function
- remove problematic commands
- include handling improvements
Component: s390-tools
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1971959/+subscriptions
More information about the foundations-bugs
mailing list