diff mbox

[V2] klog.json: Update the klog database with more kernel patterns

Message ID 20161216114128.19776-1-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King Dec. 16, 2016, 11:41 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Another update to the on-going sync with the 4.9 kernel

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

Comments

Alex Hung Dec. 16, 2016, 7:25 p.m. UTC | #1
On 2016-12-16 03:41 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Another update to the on-going sync with the 4.9 kernel
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 56 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 2ef5d1a..c257801 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -3,6 +3,62 @@
>   [
>    {
>     "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "iort node pointer overflows, bad table",
> +   "advice": "ACPI ARM64 IORT driver detected an IORT node that is outside the ACPI IORT table. The table as been deemed to be broken and has been ignored",
> +   "label": "KlogAcpiIortNodeOutsideTable"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "could not register gsi hwirq",
> +   "advice": "ACPI ARM64 IORT driver failed to register the GSI IRQ",
> +   "label": "KlogAcpiIortIrqRegisterFailed"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "requested ITS ID index .* is greater than available",
> +   "advice": "ACPI ARM64 IORT driver failed to find a device by an ITS ID but the provided ID index is greater than the available ITS count, driver returned -ENXIO",
> +   "label": "KlogAcpiIortBadItsIdIndex"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "ID map has NULL parent reference",
> +   "advice": "ACPI ARM64 IORT driver failed to get an IORT node ID, the map parent reference was NULL which is indicative of a firmware bug in the ACPI I/O Remapping Table",
> +   "label": "KlogAcpiIortIdMapNull"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Failed to create AML debugger thread",
> +   "advice": "The ACPI driver debugger failed to create a kernel thread to allow ACPI debugging, debugger failed to start",
> +   "label": "KlogAcpiAmlDebugThreadFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_add() failed",
> +   "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device add failed",
> +   "label": "KlogAcpiAmbaDevAddFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_alloc() failed",
> +   "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device allocate failed",
> +   "label": "KlogAcpiAmbaDevAllocFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "add_memory failed",
> +   "advice": "ACPI memory hot-plug failed to enable a memory device",
> +   "label": "KlogAcpiMemHotPlugAddMemFailed"
> +  },
> +  {
> +   "compare_mode": "string",
>     "log_level": "LOG_LEVEL_LOW",
>     "pattern": "Limiting number of LPI states to max",
>     "advice": "The ACPI C States (_CST) object contains more LPI states than the kernel has configired, so this has been limited to the maximum states allowed by the driver",
>

Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu Dec. 19, 2016, 6:29 a.m. UTC | #2
On 2016年12月16日 19:41, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Another update to the on-going sync with the 4.9 kernel
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 56 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 2ef5d1a..c257801 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -3,6 +3,62 @@
>   [
>    {
>     "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "iort node pointer overflows, bad table",
> +   "advice": "ACPI ARM64 IORT driver detected an IORT node that is outside the ACPI IORT table. The table as been deemed to be broken and has been ignored",
> +   "label": "KlogAcpiIortNodeOutsideTable"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "could not register gsi hwirq",
> +   "advice": "ACPI ARM64 IORT driver failed to register the GSI IRQ",
> +   "label": "KlogAcpiIortIrqRegisterFailed"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "requested ITS ID index .* is greater than available",
> +   "advice": "ACPI ARM64 IORT driver failed to find a device by an ITS ID but the provided ID index is greater than the available ITS count, driver returned -ENXIO",
> +   "label": "KlogAcpiIortBadItsIdIndex"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "ID map has NULL parent reference",
> +   "advice": "ACPI ARM64 IORT driver failed to get an IORT node ID, the map parent reference was NULL which is indicative of a firmware bug in the ACPI I/O Remapping Table",
> +   "label": "KlogAcpiIortIdMapNull"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Failed to create AML debugger thread",
> +   "advice": "The ACPI driver debugger failed to create a kernel thread to allow ACPI debugging, debugger failed to start",
> +   "label": "KlogAcpiAmlDebugThreadFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_add() failed",
> +   "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device add failed",
> +   "label": "KlogAcpiAmbaDevAddFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_alloc() failed",
> +   "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device allocate failed",
> +   "label": "KlogAcpiAmbaDevAllocFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "add_memory failed",
> +   "advice": "ACPI memory hot-plug failed to enable a memory device",
> +   "label": "KlogAcpiMemHotPlugAddMemFailed"
> +  },
> +  {
> +   "compare_mode": "string",
>     "log_level": "LOG_LEVEL_LOW",
>     "pattern": "Limiting number of LPI states to max",
>     "advice": "The ACPI C States (_CST) object contains more LPI states than the kernel has configired, so this has been limited to the maximum states allowed by the driver",
>


Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/data/klog.json b/data/klog.json
index 2ef5d1a..c257801 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -3,6 +3,62 @@ 
  [ 
   {
    "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "iort node pointer overflows, bad table",
+   "advice": "ACPI ARM64 IORT driver detected an IORT node that is outside the ACPI IORT table. The table as been deemed to be broken and has been ignored",
+   "label": "KlogAcpiIortNodeOutsideTable"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "could not register gsi hwirq",
+   "advice": "ACPI ARM64 IORT driver failed to register the GSI IRQ",
+   "label": "KlogAcpiIortIrqRegisterFailed"
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "requested ITS ID index .* is greater than available",
+   "advice": "ACPI ARM64 IORT driver failed to find a device by an ITS ID but the provided ID index is greater than the available ITS count, driver returned -ENXIO",
+   "label": "KlogAcpiIortBadItsIdIndex"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "ID map has NULL parent reference",
+   "advice": "ACPI ARM64 IORT driver failed to get an IORT node ID, the map parent reference was NULL which is indicative of a firmware bug in the ACPI I/O Remapping Table",
+   "label": "KlogAcpiIortIdMapNull"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Failed to create AML debugger thread",
+   "advice": "The ACPI driver debugger failed to create a kernel thread to allow ACPI debugging, debugger failed to start",
+   "label": "KlogAcpiAmlDebugThreadFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "amba_device_add() failed",
+   "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device add failed",
+   "label": "KlogAcpiAmbaDevAddFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "amba_device_alloc() failed",
+   "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device allocate failed",
+   "label": "KlogAcpiAmbaDevAllocFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "add_memory failed",
+   "advice": "ACPI memory hot-plug failed to enable a memory device",
+   "label": "KlogAcpiMemHotPlugAddMemFailed"
+  },
+  {
+   "compare_mode": "string",
    "log_level": "LOG_LEVEL_LOW",
    "pattern": "Limiting number of LPI states to max",
    "advice": "The ACPI C States (_CST) object contains more LPI states than the kernel has configired, so this has been limited to the maximum states allowed by the driver",