From patchwork Fri Dec 18 13:17:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 558870 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 BA67D140180; Sat, 19 Dec 2015 00:17:17 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1a9uuI-0000iR-Vv; Fri, 18 Dec 2015 13:17:15 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1a9uuC-0000ey-9d for fwts-devel@lists.ubuntu.com; Fri, 18 Dec 2015 13:17:08 +0000 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1a9uuB-0001ia-Vw; Fri, 18 Dec 2015 13:17:08 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] data: klog.json: add in some more kernel error messages for 4.4 (LP: #1526746) Date: Fri, 18 Dec 2015 13:17:07 +0000 Message-Id: <1450444627-22000-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 2.6.4 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 I've updated the kernel log scanner and run it against 4.4-rc5 and found a few more messages to check against in the klog database. Signed-off-by: Colin Ian King Acked-by: Ivan Hu Acked-by: Alex Hung --- data/klog.json | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/data/klog.json b/data/klog.json index 8490dc7..a6262ae 100644 --- a/data/klog.json +++ b/data/klog.json @@ -2,6 +2,69 @@ "firmware_error_warning_patterns": [ { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Could not start debugger thread", + "advice": "The ACPI debugger could not start a kernel thread to execute a debug command, most probably a kernel resource issue.", + "label": "KlogAcpiDbgThreadErr", + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Possible overflow of internal debugger buffer", + "advice": "The ACPI debugger detected a error when evaluating an ACPI object or method, possibly a buffer overflow bug in the ACPI debugger.", + "label": "KlogAcpiDbgBufOverflow", + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "while executing .* from debugger", + "advice": "The ACPI debugger detected a error when evaluating an ACPI object or method.", + "label": "KlogAcpiDbgErr", + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_LOW", + "pattern": "While parsing method arguments", + "advice": "The ACPI debugger could not parse the debugger command line (incorrect method arguments), most probably a user error.", + "label": "KlogAcpiDbgCmdLine", + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_LOW", + "pattern": "While parsing command line", + "advice": "The ACPI debugger could not parse the debugger command line, most probably a user error.", + "label": "KlogAcpiDbgCmdLine", + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "(.*): Object must be a control method", + "advice": "An error occurred disassembling an ACPI method, the namespace node was not an ACPI method.", + "label": "KlogAcpiObjNotControlMethod" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Target must be [Buffer/Integer/String/Reference]", + "advice": "An error occurred storing an ACPI object that was not the expected object type of ACPU buffer, integer, string or reference.", + "label": "KlogAcpiObjStoreInvalidSrcType" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Cannot assign type .* to .*source must be type Pkg", + "advice": "An error occurred storing an ACPI object that was not an ACPI package to a named object that was an ACPI package, this is not allowed.", + "label": "KlogAcpiObjStoreInvalidSrcType" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Invalid _FIT", + "advice": "ACPI _FIT (Firmware Interface Table) method returned an object that was not the expected ACPI buffer object type.", + "label": "KlogAcpiInvalidFitObject" + }, + { "compare_mode": "regex", "log_level": "LOG_LEVEL_MEDIUM", "pattern": "Target is not of type .*Package.*BufferField",