Patchwork [13/22] data: klog.json: Add support for the ACPI initialisation error messages

login
register
mail settings
Submitter Colin King
Date Nov. 2, 2012, 5:15 p.m.
Message ID <1351876532-21869-14-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/196616/
State Accepted
Headers show

Comments

Colin King - Nov. 2, 2012, 5:15 p.m.
From: Colin Ian King <colin.king@canonical.com>

Add support to check for messages in drivers/acpi/bus.c

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
Keng-Yu Lin - Nov. 7, 2012, 4:18 a.m.
On Sat, Nov 3, 2012 at 1:15 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add support to check for messages in drivers/acpi/bus.c
>
> 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 3deef6b..7210dd7 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -80,6 +80,62 @@
>     "compare_mode": "string",
>     "log_level": "LOG_LEVEL_CRITICAL",
>     "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to register for device notifications",
> +   "advice": "The ACPI device notify handlers failed to be installed and so ACPI support with be disabled.",
> +   "label": "KlogAcpiNotifyHandlerInstallFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to initialize ACPI objects",
> +   "advice": "The ACPI objects failed to initialize and so ACPI support with be disabled.",
> +   "label": "KlogAcpiObjectsFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to start the ACPI Interpreter",
> +   "advice": "The ACPI interpreter failed to start up correctly and so ACPI support with be disabled.",
> +   "label": "KlogAcpiInterpreterFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to enable ACPI",
> +   "advice": "The ACPI subsystem failed to be enabled and so ACPI support with be disabled.",
> +   "label": "KlogAcpiEnableFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to load the System Description Tables",
> +   "advice": "The ACPI driver was unabled to load the ACPI tables and so ACPI support will be disabled.",
> +   "label": "KlogAcpiLoadFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to initialize the ACPI Interpreter",
> +   "advice": "The ACPI interpreter could not be intialized and so ACPI support will be disabled.",
> +   "label": "KlogAcpiInitFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to reallocate ACPI tables",
> +   "advice": "The kernel count not reallocate the ACPI tables into memory from firmware and so ACPI support will be disabled.",
> +   "label": "KlogAcpiReallocateFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
>     "pattern": "can't evaluate _SEG",
>     "advice": "The _SEG ACPI control could not be evaluated. This will stop certain PCI root bridges from being added and enabled on the computer.",
>     "label": "KlogAcpiSegFailed"
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - Nov. 21, 2012, 2:57 a.m.
On 11/03/2012 01:15 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add support to check for messages in drivers/acpi/bus.c
>
> 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 3deef6b..7210dd7 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -80,6 +80,62 @@
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_CRITICAL",
>      "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to register for device notifications",
> +   "advice": "The ACPI device notify handlers failed to be installed and so ACPI support with be disabled.",
> +   "label": "KlogAcpiNotifyHandlerInstallFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to initialize ACPI objects",
> +   "advice": "The ACPI objects failed to initialize and so ACPI support with be disabled.",
> +   "label": "KlogAcpiObjectsFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to start the ACPI Interpreter",
> +   "advice": "The ACPI interpreter failed to start up correctly and so ACPI support with be disabled.",
> +   "label": "KlogAcpiInterpreterFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to enable ACPI",
> +   "advice": "The ACPI subsystem failed to be enabled and so ACPI support with be disabled.",
> +   "label": "KlogAcpiEnableFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to load the System Description Tables",
> +   "advice": "The ACPI driver was unabled to load the ACPI tables and so ACPI support will be disabled.",
> +   "label": "KlogAcpiLoadFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to initialize the ACPI Interpreter",
> +   "advice": "The ACPI interpreter could not be intialized and so ACPI support will be disabled.",
> +   "label": "KlogAcpiInitFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to reallocate ACPI tables",
> +   "advice": "The kernel count not reallocate the ACPI tables into memory from firmware and so ACPI support will be disabled.",
> +   "label": "KlogAcpiReallocateFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
>      "pattern": "can't evaluate _SEG",
>      "advice": "The _SEG ACPI control could not be evaluated. This will stop certain PCI root bridges from being added and enabled on the computer.",
>      "label": "KlogAcpiSegFailed"
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/data/klog.json b/data/klog.json
index 3deef6b..7210dd7 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -80,6 +80,62 @@ 
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_CRITICAL",
    "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to register for device notifications",
+   "advice": "The ACPI device notify handlers failed to be installed and so ACPI support with be disabled.",
+   "label": "KlogAcpiNotifyHandlerInstallFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to initialize ACPI objects",
+   "advice": "The ACPI objects failed to initialize and so ACPI support with be disabled.",
+   "label": "KlogAcpiObjectsFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to start the ACPI Interpreter",
+   "advice": "The ACPI interpreter failed to start up correctly and so ACPI support with be disabled.",
+   "label": "KlogAcpiInterpreterFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to enable ACPI",
+   "advice": "The ACPI subsystem failed to be enabled and so ACPI support with be disabled.",
+   "label": "KlogAcpiEnableFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to load the System Description Tables",
+   "advice": "The ACPI driver was unabled to load the ACPI tables and so ACPI support will be disabled.",
+   "label": "KlogAcpiLoadFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to initialize the ACPI Interpreter",
+   "advice": "The ACPI interpreter could not be intialized and so ACPI support will be disabled.",
+   "label": "KlogAcpiInitFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Unable to reallocate ACPI tables",
+   "advice": "The kernel count not reallocate the ACPI tables into memory from firmware and so ACPI support will be disabled.",
+   "label": "KlogAcpiReallocateFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
    "pattern": "can't evaluate _SEG",
    "advice": "The _SEG ACPI control could not be evaluated. This will stop certain PCI root bridges from being added and enabled on the computer.",
    "label": "KlogAcpiSegFailed"