From: Michael Prokop Date: Tue, 2 Sep 2014 03:46:32 +0000 (-0700) Subject: Support mcelog X-Git-Tag: v0.10.0~4 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=43246c94b0074a2e95f5ac4d2906a31c6e41faf1;p=grml-hwinfo.git Support mcelog --- diff --git a/debian/control b/debian/control index 7aa8750..d29d4d6 100644 --- a/debian/control +++ b/debian/control @@ -24,6 +24,7 @@ Recommends: acpi, laptop-detect, lsscsi, lvm2, + mcelog, mdadm, net-tools, numactl, diff --git a/grml-hwinfo b/grml-hwinfo index be80cd6..2898a3c 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -242,6 +242,10 @@ cd "${OUTDIR}" || exit 1 exectest acpi && acpi > acpi 2> acpi.error && acpi -v > acpi.version [ -r /proc/apm/ ] && apm > apm + if exectest mcelog ; then + mcelog > mcelog 2>mcelog.error + fi + # kernel stuff if [ -r /proc/config.gz ] ; then zcat /proc/config.gz > kernelconfig @@ -281,6 +285,10 @@ cd "${OUTDIR}" || exit 1 exectest dconf && dconf -o dconf + if exectest mcelog ; then + mcelog --dmi > mcelog_dmi 2>mcelog_dmi.error + fi + if [ -x /usr/share/doc/lm-sensors/examples/eeprom/decode-dimms.pl ] ; then /usr/share/doc/lm-sensors/examples/eeprom/decode-dimms.pl > decode-dimms 2>decode-dimms.error fi