mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
0a8e726d05
commit
12c84469fd
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user