From d23732dda9535546c6fb851cf996440cd64fb504 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 1/1] fasolo, klecker: blacklist acpi power meter. rt#6974 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit workaround dmesg noisy errors, which are safe to ignore: ``` [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) ``` 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..fc24886a9 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, klecker] { + $blacklist_acpi_power_meter = true + } + if $blacklist_acpi_power_meter { + file { '/etc/modprobe.d/hwmon.conf': + content => "blacklist acpi_power_meter" + } + } } -- 2.20.1