From 89e674264d446a1cd0a9805ca5a6fcddba28491e Mon Sep 17 00:00:00 2001 From: "Guilherme G. Piccoli" Date: Wed, 26 Jan 2022 13:25:15 -0300 Subject: [PATCH] Collect more system information after a panic event ...like DMI data, os-release build information, running kernel version - in the future, we should also collect Steam application / Proton / Games logs. Signed-off-by: Guilherme G. Piccoli --- submit_report.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/submit_report.sh b/submit_report.sh index 7c4ba95..33ceac3 100755 --- a/submit_report.sh +++ b/submit_report.sh @@ -128,6 +128,13 @@ if [ ${LOGS_FOUND} -ne 0 ]; then done fi + # Here we collect some more info, like DMI data, os-release, etc; + # ToDo: Add Steam application / Proton / Games logs collection... + dmidecode > "${KDUMP_LOGS_FOLDER}/dmidecode.${CURRENT_TSTAMP}" + grep "BUILD_ID" "/etc/os-release" | cut -f2 -d\= > "${KDUMP_LOGS_FOLDER}/build.${CURRENT_TSTAMP}" + uname -r > "${KDUMP_LOGS_FOLDER}/version.${CURRENT_TSTAMP}" + + # Create the dump compressed pack. LOG_FNAME="steamos-${SN}-${STEAM_ACCOUNT}.${CURRENT_TSTAMP}.tar" LOG_FNAME="${KDUMP_MAIN_FOLDER}/${LOG_FNAME}" tar cf "${LOG_FNAME}" "${KDUMP_LOGS_FOLDER}" 1>/dev/null 2>&1