diff mbox

klog.json: Add a few more miscellaneous kernel errors to the database

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

Commit Message

Colin Ian King Jan. 16, 2017, 11:50 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Another batch of new BIOS/ACPI related kernel messages to be added to the
database. Only 500+ more to go...

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

Comments

Alex Hung Jan. 17, 2017, 7 a.m. UTC | #1
On 01/16/2017 07:50 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Another batch of new BIOS/ACPI related kernel messages to be added to the
> database. Only 500+ more to go...
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 91 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 5310e8a..e487a18 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -3,6 +3,97 @@
>   [
>    {
>     "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "Failed to initialize debugger",
> +   "advice": "An error occurred when initializing the ACPI AML debugger so the debugger cannot be started.",
> +   "label": "KlogAcpiAmlDebugInitFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "Failed to create AML debugger thread",
> +   "advice": "An error occurred when creating the ACPI AML debugger, a kernel thread could not be created so the debugger cannot be started.",
> +   "label": "KlogAcpiAmlDebugThreadFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_add() failed",
> +   "advice": "An error occurred when attempting to add an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.",
> +   "label": "KlogAcpiAmbaDevAddFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_alloc() failed",
> +   "advice": "An error occurred when attempting to allocate an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.",
> +   "label": "KlogAcpiAmbaDevAllocFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "PCC check channel failed. Status=",
> +   "advice": "An error occurred waiting for the Platform Communication Channel communication channel to become available to the operating system. It seems to be still owned by the platform after too long a duration.",
> +   "label": "KlogAcpiPccChannelBlocked",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_INFO",
> +   "pattern": "thermal zone will be disabled",
> +   "advice": "An ACPI thermal zone control has been updated and an ACPI thermal zone has been disabled",
> +   "label": "KlogAcpiThermalZoneDisabled",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "iort node pointer overflows, bad table",
> +   "advice": "The ACPI IO Remapping Table (IORT) indicated it had more IORT nodes than were in the IORT table. Either the node count was incorrect or the table is truncated.",
> +   "label": "KlogAcpiIortBadTable",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "could not register gsi hwirq",
> +   "advice": "The ACPI IO Remapping Table (IORT) driver could not register a Global System Interrupt (GSI) handler.",
> +   "label": "KlogAcpiIortGsiHandlerRegFailed",
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "requested ITS ID index .* is greater than available",
> +   "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index is out of range.",
> +   "label": "KlogAcpiIortItsIndexTooLarge",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "ID map has NULL parent reference",
> +   "advice": "An ACPI I/O Remapping Table (IORT) node output reference offset into the IORT is zero, which is clearly an firmware bug as it needs to be defined as an offset to the parent table. The node has been ignored.",
> +   "label": "KlogAcpiIortNullRef",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "SINGLE MAPPING flag not allowed for node type",
> +   "advice": "An ACPI I/O Remapping Table (IORT) node single mapping flag (bit 0 in node map flags) indicates that the node type is a single mapping node, however this is not allowed for this node. Ignoring node as this is a firmware bug in the IORT.",
> +   "label": "KlogAcpiIortIdMap",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "pattern": "Interpreter disabled",
> +   "advice": "The ACPI interpreter initialization failed and so ACPI has been disabled",
> +   "label": "KlogAcpiDisabled",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "cannot allocate memory for new IOAPIC",
> +   "advice": "The ACPI APIC driver was unable to allocate memory while trying to add a new IOAPIC to the system; IOAPIC was ignored.",
> +   "label": "KlogAcpiIoapicNoMem"
> +  },
> +  {
> +   "compare_mode": "string",
>     "log_level": "LOG_LEVEL_HIGH",
>     "pattern": "SRAT not used",
>     "advice": "An error in the ACPI System Resource Affinity Table has been found, NUMA will not be enabled.",
>


Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu Jan. 18, 2017, 1:11 a.m. UTC | #2
On 2017年01月16日 19:50, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Another batch of new BIOS/ACPI related kernel messages to be added to the
> database. Only 500+ more to go...
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 91 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 5310e8a..e487a18 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -3,6 +3,97 @@
>   [
>    {
>     "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "Failed to initialize debugger",
> +   "advice": "An error occurred when initializing the ACPI AML debugger so the debugger cannot be started.",
> +   "label": "KlogAcpiAmlDebugInitFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "Failed to create AML debugger thread",
> +   "advice": "An error occurred when creating the ACPI AML debugger, a kernel thread could not be created so the debugger cannot be started.",
> +   "label": "KlogAcpiAmlDebugThreadFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_add() failed",
> +   "advice": "An error occurred when attempting to add an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.",
> +   "label": "KlogAcpiAmbaDevAddFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "amba_device_alloc() failed",
> +   "advice": "An error occurred when attempting to allocate an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.",
> +   "label": "KlogAcpiAmbaDevAllocFailed",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "PCC check channel failed. Status=",
> +   "advice": "An error occurred waiting for the Platform Communication Channel communication channel to become available to the operating system. It seems to be still owned by the platform after too long a duration.",
> +   "label": "KlogAcpiPccChannelBlocked",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_INFO",
> +   "pattern": "thermal zone will be disabled",
> +   "advice": "An ACPI thermal zone control has been updated and an ACPI thermal zone has been disabled",
> +   "label": "KlogAcpiThermalZoneDisabled",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "iort node pointer overflows, bad table",
> +   "advice": "The ACPI IO Remapping Table (IORT) indicated it had more IORT nodes than were in the IORT table. Either the node count was incorrect or the table is truncated.",
> +   "label": "KlogAcpiIortBadTable",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "could not register gsi hwirq",
> +   "advice": "The ACPI IO Remapping Table (IORT) driver could not register a Global System Interrupt (GSI) handler.",
> +   "label": "KlogAcpiIortGsiHandlerRegFailed",
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "requested ITS ID index .* is greater than available",
> +   "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index is out of range.",
> +   "label": "KlogAcpiIortItsIndexTooLarge",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "ID map has NULL parent reference",
> +   "advice": "An ACPI I/O Remapping Table (IORT) node output reference offset into the IORT is zero, which is clearly an firmware bug as it needs to be defined as an offset to the parent table. The node has been ignored.",
> +   "label": "KlogAcpiIortNullRef",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "SINGLE MAPPING flag not allowed for node type",
> +   "advice": "An ACPI I/O Remapping Table (IORT) node single mapping flag (bit 0 in node map flags) indicates that the node type is a single mapping node, however this is not allowed for this node. Ignoring node as this is a firmware bug in the IORT.",
> +   "label": "KlogAcpiIortIdMap",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "pattern": "Interpreter disabled",
> +   "advice": "The ACPI interpreter initialization failed and so ACPI has been disabled",
> +   "label": "KlogAcpiDisabled",
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "cannot allocate memory for new IOAPIC",
> +   "advice": "The ACPI APIC driver was unable to allocate memory while trying to add a new IOAPIC to the system; IOAPIC was ignored.",
> +   "label": "KlogAcpiIoapicNoMem"
> +  },
> +  {
> +   "compare_mode": "string",
>     "log_level": "LOG_LEVEL_HIGH",
>     "pattern": "SRAT not used",
>     "advice": "An error in the ACPI System Resource Affinity Table has been found, NUMA will not be enabled.",
>

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

Patch

diff --git a/data/klog.json b/data/klog.json
index 5310e8a..e487a18 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -3,6 +3,97 @@ 
  [ 
   {
    "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Failed to initialize debugger",
+   "advice": "An error occurred when initializing the ACPI AML debugger so the debugger cannot be started.",
+   "label": "KlogAcpiAmlDebugInitFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Failed to create AML debugger thread",
+   "advice": "An error occurred when creating the ACPI AML debugger, a kernel thread could not be created so the debugger cannot be started.",
+   "label": "KlogAcpiAmlDebugThreadFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "amba_device_add() failed",
+   "advice": "An error occurred when attempting to add an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.",
+   "label": "KlogAcpiAmbaDevAddFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "amba_device_alloc() failed",
+   "advice": "An error occurred when attempting to allocate an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.",
+   "label": "KlogAcpiAmbaDevAllocFailed",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "PCC check channel failed. Status=",
+   "advice": "An error occurred waiting for the Platform Communication Channel communication channel to become available to the operating system. It seems to be still owned by the platform after too long a duration.",
+   "label": "KlogAcpiPccChannelBlocked",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_INFO",
+   "pattern": "thermal zone will be disabled",
+   "advice": "An ACPI thermal zone control has been updated and an ACPI thermal zone has been disabled",
+   "label": "KlogAcpiThermalZoneDisabled",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "iort node pointer overflows, bad table",
+   "advice": "The ACPI IO Remapping Table (IORT) indicated it had more IORT nodes than were in the IORT table. Either the node count was incorrect or the table is truncated.",
+   "label": "KlogAcpiIortBadTable",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "could not register gsi hwirq",
+   "advice": "The ACPI IO Remapping Table (IORT) driver could not register a Global System Interrupt (GSI) handler.",
+   "label": "KlogAcpiIortGsiHandlerRegFailed",
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "requested ITS ID index .* is greater than available",
+   "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index is out of range.",
+   "label": "KlogAcpiIortItsIndexTooLarge",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "ID map has NULL parent reference",
+   "advice": "An ACPI I/O Remapping Table (IORT) node output reference offset into the IORT is zero, which is clearly an firmware bug as it needs to be defined as an offset to the parent table. The node has been ignored.",
+   "label": "KlogAcpiIortNullRef",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "SINGLE MAPPING flag not allowed for node type",
+   "advice": "An ACPI I/O Remapping Table (IORT) node single mapping flag (bit 0 in node map flags) indicates that the node type is a single mapping node, however this is not allowed for this node. Ignoring node as this is a firmware bug in the IORT.",
+   "label": "KlogAcpiIortIdMap",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "pattern": "Interpreter disabled",
+   "advice": "The ACPI interpreter initialization failed and so ACPI has been disabled",
+   "label": "KlogAcpiDisabled",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "cannot allocate memory for new IOAPIC",
+   "advice": "The ACPI APIC driver was unable to allocate memory while trying to add a new IOAPIC to the system; IOAPIC was ignored.",
+   "label": "KlogAcpiIoapicNoMem"
+  },
+  {
+   "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
    "pattern": "SRAT not used",
    "advice": "An error in the ACPI System Resource Affinity Table has been found, NUMA will not be enabled.",