From 45d92970445c4030718101dfedbdf72be7017e81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?H=C3=A9ctor=20Or=C3=B3n=20Mart=C3=ADnez?= Date: Sat, 25 Nov 2017 12:13:03 +0100 Subject: [PATCH] fasolo: blacklist acpi power meter. rt#6974 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fasolo dmesg is full of: ``` [3723410.864219] ACPI Error: SMBus/IPMI/GenericSerialBus write requires Buffer of length 66, found length 32 (20160831/exfield-427) [3723410.890212] ACPI Error: Method parse/execution failed [\_SB.PMI0._PMM] (Node ffffa0e2fe877280), AE_AML_BUFFER_LIMIT (20160831/psparse-543) [3723410.920171] ACPI Exception: AE_AML_BUFFER_LIMIT, Evaluating _PMM (20160831/power_meter-338) ``` I believe a fix/workaround might be blacklisting acpi_power_meter kernel module which does not seem to work due to BIOS bug in those machines. `echo "blacklist acpi_power_meter" >> /etc/modprobe.d/hwmon.conf` Reference: https://www.novell.com/support/kb/doc.php?id=7010449 Signed-off-by: Héctor Orón Martínez --- modules/linux/manifests/init.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/linux/manifests/init.pp b/modules/linux/manifests/init.pp index e91ef2241..57962a730 100644 --- a/modules/linux/manifests/init.pp +++ b/modules/linux/manifests/init.pp @@ -3,4 +3,12 @@ class linux { include ferm::per_host include entropykey include rng_tools + if $::hostname in [fasolo] { + $blacklist_acpi_power_meter = true + } + if $blacklist_acpi_power_meter { + file { '/etc/modprobe.d/hwmon.conf': + content => "blacklist acpi_power_meter" + } + } } -- 2.20.1