dbginfo.sh: exclude reading page_idle/bitmap sysfs attribute

Due to issues with reading the /sys/kernel/mm/page_idle/bitmap sysfs
attribute that can lead to a system hang, reading this particular
attribute is excluded.

Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1904884
Reviewed-by: Mario Held <mario.held@linux.ibm.com>
Signed-off-by: Joern Siglen <siglen@de.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Joern Siglen
2021-09-27 13:35:36 +02:00
committed by Jan Höppner
parent 0a8e726d05
commit 12c84469fd
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ Release history for s390-tools (MIT version)
For Linux kernel version: 5.xx
Changes of existing tools:
- dbginfo.sh: add exception on dump2tar for /sys/kernel/mm/page_idle/bitmap
- dbginfo.sh: cleanup of outdated sections and general code rework
- dbginfo.sh: Collect zipl boot menu entries from boot loader specification
- dbginfo.sh: add collection in area of timedate, coredump and --check option

View File

@@ -145,6 +145,7 @@ print_check() {
Hardware platform = ${HW}
Runtime environment = ${RUNTIME_ENVIRONMENT}
$(cat /proc/sysinfo | grep 'Name')
Kernel version = ${KERNEL_INFO}
OS version / distro = ${OS_NAME}
KVM host = ${KVM}
@@ -735,7 +736,7 @@ collect_sysfs() {
# files known to block on read (-x). Stop reading a file that takes
# more than 5 seconds (-T 5) such as an active ftrace buffer.
# error messages are not written to the log
dump2tar /sys -z -o "${OUTPUT_FILE_SYSFS}.tgz" -x '*/tracing/trace_pipe*' \
dump2tar /sys -z -o "${OUTPUT_FILE_SYSFS}.tgz" -x '*/tracing/trace_pipe*' -x '*/page_idle/bitmap*' \
-x '*/tracing/per_cpu/*' --ignore-failed-read -J 1 -T 5 2>>${OUTPUT_FILE_SYSFS}.err
if [ $? -ne 0 ] ; then