From patchwork Fri Mar 8 16:31:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 226163 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 9A8522C0364 for ; Sat, 9 Mar 2013 03:31:45 +1100 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UE0Cu-0006lk-AM; Fri, 08 Mar 2013 16:31:44 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UE0Cp-0006lY-37 for fwts-devel@lists.ubuntu.com; Fri, 08 Mar 2013 16:31:39 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1UE0Cp-0005Tw-05 for fwts-devel@lists.ubuntu.com; Fri, 08 Mar 2013 16:31:39 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] data: klog.json: Add some more ACPI related kernel message checks Date: Fri, 8 Mar 2013 16:31:38 +0000 Message-Id: <1362760298-23702-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.8.1.2 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Still catching up with v3.8..3.9 kernels, here are some messages that we are still missing. Signed-off-by: Colin Ian King Acked-by: Ivan Hu Acked-by: Alex Hung --- data/klog.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/data/klog.json b/data/klog.json index 2847ce0..d88f7c6 100644 --- a/data/klog.json +++ b/data/klog.json @@ -74,6 +74,14 @@ "label": "CommonBiosIrqRoutingBug" }, { + "compare_mode": "string", + "log_level": "LOG_LEVEL_CRITICAL", + "tag": "FWTS_TAG_ACPI", + "pattern": "_PRW evaluation error:", + "advice": "The ACPI _PRW (Power Resources for Wake) object failed to evaluate when the ACPI driver was attempting to get the wakeup device flags.", + "label": "KlogACPIPrwEvalError" + }, + { "compare_mode": "regex", "log_level": "LOG_LEVEL_LOW", "tag": "FWTS_TAG_ACPI", @@ -878,11 +886,59 @@ "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Error in acpi_memory_enable_device", + "advice": "ACPI memory hotplug failed to add a memory device, acpi_memory_enable_device() failed. This occurs if the memory block has already been used by the kernel or if add_memory() failed.", + "label": "KlogAcpiMemHotPlugFailed" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI", "pattern": "Error reading AC Adapter state", "advice": "The ACPI driver could not read the AC adapter state because the ACPI control _PSR (Power Source) failed to evaluate. This could be because this control did not exist or more probably that it failed to execute because of an error between the firmware and the smart battery.", "label": "KlogAcpiPsrEvalFailed" }, { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI", + "pattern": "failed to add I2C device .* from ACPI", + "advice": "Failed to create an I2C device while walking through the ACPI namespace enumerating I2C slave devices behind the adapter.", + "label": "KlogAcpiI2CAddFailed" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI", + "pattern": "Cannot turn wakeup power resources on", + "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on. See acpi_enable_wakeup_device_power().", + "label": "KlogAcpiPowerWakeupResources" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI", + "pattern": "Cannot turn wakeup power resources off", + "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().", + "label": "KlogAcpiPowerWakeupResources" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "Failed to evaluate processor object", + "advice": "ACPI Processor() failed to evaluate. ACPI could not gather information on a CPU which will lead to it not being used.", + "label": "KlogAcpiProcessorEvalFailed" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "Failed to evaluate processor _UID", + "advice": "ACPI failed to evaluate a processor _UID object (as declared in a Device statement). ACPI could not gather information on a CPU which will lead to it not being used.", + "label": "KlogAcpiProcessorEvalFailed" + }, + { "compare_mode": "string", "log_level": "LOG_LEVEL_MEDIUM", "tag": "FWTS_TAG_ACPI",