From d1c9d49d647590ab81faed16bf3c12149d095e735011145d6639c07c86ec84c1 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Wed, 18 Sep 2019 09:22:49 +0000 Subject: [PATCH] Accepting request 730795 from home:jdelvare:branches:Base:System - mcelog.systemd: Preload the dmi-sysfs kernel module. When /dev/mem can't be read (which is the case when booting in Secure Mode), mcelog can use the dmi-sysfs interface instead, however for that the kernel module needs to be loaded first (bsc#1149186). OBS-URL: https://build.opensuse.org/request/show/730795 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=77 --- mcelog.changes | 9 +++++++++ mcelog.systemd | 1 + 2 files changed, 10 insertions(+) diff --git a/mcelog.changes b/mcelog.changes index aaaed67..926e086 100644 --- a/mcelog.changes +++ b/mcelog.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Sep 13 16:04:20 UTC 2019 - Jean Delvare + +- mcelog.systemd: Preload the dmi-sysfs kernel module. + When /dev/mem can't be read (which is the case when booting in + Secure Mode), mcelog can use the dmi-sysfs interface instead, + however for that the kernel module needs to be loaded first + (bsc#1149186). + ------------------------------------------------------------------- Fri Sep 06 11:25:34 UTC 2019 - MMuschner@suse.com diff --git a/mcelog.systemd b/mcelog.systemd index 435757d..5559184 100644 --- a/mcelog.systemd +++ b/mcelog.systemd @@ -6,6 +6,7 @@ ConditionPathExists=/dev/mcelog [Service] EnvironmentFile=-/etc/sysconfig/mcelog ExecStartPre=/sbin/modprobe msr +ExecStartPre=/sbin/modprobe dmi-sysfs ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground StandardOutput=syslog