From patchwork Mon Jul 15 09:51:32 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: 258979 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 860442C00C0 for ; Mon, 15 Jul 2013 19:51:39 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UyfRS-0007D5-9i; Mon, 15 Jul 2013 09:51:38 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1UyfRN-0007D0-0y for fwts-devel@lists.ubuntu.com; Mon, 15 Jul 2013 09:51:33 +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 1UyfRM-0007Ng-SJ for fwts-devel@lists.ubuntu.com; Mon, 15 Jul 2013 09:51:32 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH] data: klog.json: Update patterns to keep in sync with Linux 3.10 (LP: #1201335) Date: Mon, 15 Jul 2013 10:51:32 +0100 Message-Id: <1373881892-9989-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 Update data/klog.json with the latest 3.10 linux kernel since there are some more ACPI, BIOS and EFI kernel error messages. Signed-off-by: Colin Ian King Acked-by: Ivan Hu Acked-by: Keng-Yu Lin --- data/klog.json | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 99 insertions(+), 3 deletions(-) diff --git a/data/klog.json b/data/klog.json index 7169999..801b662 100644 --- a/data/klog.json +++ b/data/klog.json @@ -261,6 +261,14 @@ "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Invalid zero length descriptor in resource list", + "advice": "An error occurred turning an ACPI resource list into a byte stream of resources. The resource length was zero, which is an illegal length.", + "label": "KlogAcpiInvalidZeroLengthDescriptor" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", "pattern": "is not an ACPI Operand object", "advice": "An internal ACPI error occurred freeing an ACPI object or adding it to the object cache. The descriptor type of the given object was not a descriptor type operand. See acpi_ut_delete_object_desc().", "label": "KlogAcpiNotOperandObject" @@ -501,6 +509,14 @@ "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Unknown Reference Class 0x", + "advice": "An ACPI store op-code failed to execute because the an unknown reference class type was used. The store operation will fail to execute leading to undefined behaviour. This is possibly an AML compiler bug.", + "label": "KlogAcpiUnknownRefClass" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", "pattern": "Source must be Integer/Buffer/String type, not", "advice": "An attempt to store an ACPI object into an indexed buffer or package element failed because the source type is invalid. See acpi_ex_store_object_to_index(). This is most likely a firmware bug.", "label": "KlogAcpiBadSourceType" @@ -826,6 +842,14 @@ "label": "KlogAcpiInvalidDescriptorType" }, { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "Invalid object type: 0x", + "advice": "The ACPI interpreter failed to concatenate two objects of the same type because one or more of the types was an invalid object type. Expected types are ACPI_TYPE_INTEGER, ACPI_TYPE_STRING, ACPI_TYPE_BUFFER.", + "label": "KlogAcpiConcatenateInvalidObjectType" + }, + { "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", @@ -1037,6 +1061,14 @@ "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Package allocation failure", + "advice": "Failed to copy an internal ACPI package object to another internal ACPI package object, out of memory.", + "label": "KlogAcpiPackageAllocFailure" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", "pattern": "Needed Region, found type 0x", "advice": "An ACPI object type did not match the expected type, expected an ACPI Region type.", "label": "KlogAcpiCheckObjectTypeFailed" @@ -1106,6 +1138,14 @@ "label": "KlogAcpiResolveOpBadType" }, { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "Invalid descriptor.*\\[.*\\]", + "advice": "Failed to resolve an ACPI operand, bad descriptor; expecting either an ACPI_DESC_TYPE_NAMED or ACPI_DESC_TYPE_OPERAND descriptor.", + "label": "KlogAcpiInvalidDescriptor" + }, + { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", @@ -1173,6 +1213,14 @@ "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Invalid handle.*\\[%s\\]", + "advice": "An attempt to attach an object with an ACPI node failed because the node was not a name handle type. This is probably an internal ACPI error. See acpi_ns_attach_object().", + "label": "KlogAcpiInvalidHandle" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", "pattern": "Bit offset within field too large.*0xFFFFFFFF", "advice": "A named field has a bit offset that is greater than the 32 bit field offset limit. An AML_INT_RESERVEDFIELD_OP 0x0031 was ignored because of the bit offset error.", "label": "KlogAcpiFieldOffsetTooLarge" @@ -1205,6 +1253,14 @@ "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Not a namespace node.*\\[.*\\]", + "advice": "An ACPI reference was found that did not point to a namespace node. Failed to resolve. See acpi_ex_resolve_multiple().", + "label": "KlogAcpiNotNamespaceNode" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", "pattern": "Unknown TargetType .* in Index.*Reference object", "advice": "An ACPI_REFCLASS_INDEX has an unknown target type. Should be a buffer field or a package. Could not retrieve a value from an internal ACPI object. See acpi_ex_resolve_object_to_value().", "label": "KlogAcpiUnkownTargetType" @@ -1250,12 +1306,12 @@ "label": "KlogAcpiOwnerIdDoubleRelease" }, { - "compare_mode": "regex", + "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", - "pattern": "Unknown opcode 0x.* at table offset 0x.*, ignoring", + "pattern": "Unknown opcode 0x", "advice": "An invalid AML opcode in the input stream has been encountered. This will be skipped. This normally indicates buggy firmware. Undefined behaviour may occur.", - "label": "KlogAcpiUnknowOpcode" + "label": "KlogAcpiUnknownOpcode" }, { "compare_mode": "regex", @@ -1338,6 +1394,14 @@ "label": "KlogAcpiEvalObjectTypeNotSupported" }, { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "Method has no attached sub-object", + "advice": "An ACPI method type did not have a method object associated with the node and a NULL object was found instead. Failed to execute a control method.", + "label": "KlogAcpiEvalMethodObjectNull" + }, + { "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_BIOS", @@ -2410,6 +2474,14 @@ "label": "KlogAcpiUnknownExceptionCode" }, { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "Unknown Reference Count action (0x", + "advice": "An internal ACPI error occurred attempting to update an object reference count. An incorrect action type was provided, expected REF_INCREMENT or REF_DECREMENT, see acpi_ut_update_ref_count().", + "label": "KlogAcpiUnknownRefCountAction" + }, + { "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", @@ -3077,6 +3149,14 @@ "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", + "pattern": "Processor driver could not be attached", + "advice": "An attempt to add a processor to the system failed in acpi_processor_add(), the processor driver's .probe failed calling device_attach(). The CPU cannot be added to the system under ACPI control.", + "label": "KlogAcpiProcessorNotAttached" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", "pattern": "Invalid _PSS data", "advice": "Failed to get ACPI performance states from the _PSS contol, buffer was either NULL or not an ACPI package.", "label": "KlogAcpiPssFailed" @@ -3299,6 +3379,22 @@ }, { "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "tag": "FWTS_TAG_ACPI", + "pattern": "Invalid EFI RTC value: write of .* to EFI RTC failed", + "advice": "Failed to update the EFI Real Time Clock (RTC), the provided time was not a valid time and so the EFI RTC was not updated.", + "label": "KlogAcpiEfiRtcWriteFailed" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "acpi_memory_enable_device() error", + "advice": "ACPI memory hotplug failed to add an ACPI memory device to the systen. This error can occur if the memory block has already been used by the kernel or if the ACPI memory bind failed.", + "label": "KlogAcpiMemEnableDevice" + }, + { + "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", "pattern": "Vendor .* System .* Revision .* has a known ACPI BIOS problem",