Patchwork data: klog.json: Add some more ACPI related kernel message checks

login
register
mail settings
Submitter Colin King
Date March 8, 2013, 4:31 p.m.
Message ID <1362760298-23702-1-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/226163/
State Accepted
Headers show

Comments

Colin King - March 8, 2013, 4:31 p.m.
From: Colin Ian King <colin.king@canonical.com>

Still catching up with v3.8..3.9 kernels, here are some messages
that we are still missing.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
Ivan Hu - March 12, 2013, 6:13 a.m.
On 03/09/2013 12:31 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Still catching up with v3.8..3.9 kernels, here are some messages
> that we are still missing.
>
> 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 2847ce0..d88f7c6 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -74,6 +74,14 @@
>      "label": "CommonBiosIrqRoutingBug"
>     },
>     {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "_PRW evaluation error:",
> +   "advice": "The ACPI _PRW (Power Resources for Wake) object failed to evaluate when the ACPI driver was attempting to get the wakeup device flags.",
> +   "label": "KlogACPIPrwEvalError"
> +  },
> +  {
>      "compare_mode": "regex",
>      "log_level": "LOG_LEVEL_LOW",
>      "tag": "FWTS_TAG_ACPI",
> @@ -878,11 +886,59 @@
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>      "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Error in acpi_memory_enable_device",
> +   "advice": "ACPI memory hotplug failed to add a memory device, acpi_memory_enable_device() failed. This occurs if the memory block has already been used by the kernel or if add_memory() failed.",
> +   "label": "KlogAcpiMemHotPlugFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
>      "pattern": "Error reading AC Adapter state",
>      "advice": "The ACPI driver could not read the AC adapter state because the ACPI control _PSR (Power Source) failed to evaluate. This could be because this control did not exist or more probably that it failed to execute because of an error between the firmware and the smart battery.",
>      "label": "KlogAcpiPsrEvalFailed"
>     },
>     {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "failed to add I2C device .* from ACPI",
> +   "advice": "Failed to create an I2C device while walking through the ACPI namespace enumerating I2C slave devices behind the adapter.",
> +   "label": "KlogAcpiI2CAddFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Cannot turn wakeup power resources on",
> +   "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
> +   "label": "KlogAcpiPowerWakeupResources"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Cannot turn wakeup power resources off",
> +   "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
> +   "label": "KlogAcpiPowerWakeupResources"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Failed to evaluate processor object",
> +   "advice": "ACPI Processor() failed to evaluate. ACPI could not gather information on a CPU which will lead to it not being used.",
> +   "label": "KlogAcpiProcessorEvalFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Failed to evaluate processor _UID",
> +   "advice": "ACPI failed to evaluate a processor _UID object (as declared in a Device statement).  ACPI could not gather information on a CPU which will lead to it not being used.",
> +   "label": "KlogAcpiProcessorEvalFailed"
> +  },
> +  {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_MEDIUM",
>      "tag": "FWTS_TAG_ACPI",
>
Acked-by: Ivan Hu <ivan.hu@canonical.com>
Alex Hung - March 12, 2013, 6:14 a.m.
On 03/09/2013 12:31 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Still catching up with v3.8..3.9 kernels, here are some messages
> that we are still missing.
>
> 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 2847ce0..d88f7c6 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -74,6 +74,14 @@
>      "label": "CommonBiosIrqRoutingBug"
>     },
>     {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "_PRW evaluation error:",
> +   "advice": "The ACPI _PRW (Power Resources for Wake) object failed to evaluate when the ACPI driver was attempting to get the wakeup device flags.",
> +   "label": "KlogACPIPrwEvalError"
> +  },
> +  {
>      "compare_mode": "regex",
>      "log_level": "LOG_LEVEL_LOW",
>      "tag": "FWTS_TAG_ACPI",
> @@ -878,11 +886,59 @@
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>      "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Error in acpi_memory_enable_device",
> +   "advice": "ACPI memory hotplug failed to add a memory device, acpi_memory_enable_device() failed. This occurs if the memory block has already been used by the kernel or if add_memory() failed.",
> +   "label": "KlogAcpiMemHotPlugFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
>      "pattern": "Error reading AC Adapter state",
>      "advice": "The ACPI driver could not read the AC adapter state because the ACPI control _PSR (Power Source) failed to evaluate. This could be because this control did not exist or more probably that it failed to execute because of an error between the firmware and the smart battery.",
>      "label": "KlogAcpiPsrEvalFailed"
>     },
>     {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "failed to add I2C device .* from ACPI",
> +   "advice": "Failed to create an I2C device while walking through the ACPI namespace enumerating I2C slave devices behind the adapter.",
> +   "label": "KlogAcpiI2CAddFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Cannot turn wakeup power resources on",
> +   "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
> +   "label": "KlogAcpiPowerWakeupResources"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Cannot turn wakeup power resources off",
> +   "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
> +   "label": "KlogAcpiPowerWakeupResources"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Failed to evaluate processor object",
> +   "advice": "ACPI Processor() failed to evaluate. ACPI could not gather information on a CPU which will lead to it not being used.",
> +   "label": "KlogAcpiProcessorEvalFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Failed to evaluate processor _UID",
> +   "advice": "ACPI failed to evaluate a processor _UID object (as declared in a Device statement).  ACPI could not gather information on a CPU which will lead to it not being used.",
> +   "label": "KlogAcpiProcessorEvalFailed"
> +  },
> +  {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_MEDIUM",
>      "tag": "FWTS_TAG_ACPI",
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/data/klog.json b/data/klog.json
index 2847ce0..d88f7c6 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -74,6 +74,14 @@ 
    "label": "CommonBiosIrqRoutingBug"
   },
   {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "_PRW evaluation error:",
+   "advice": "The ACPI _PRW (Power Resources for Wake) object failed to evaluate when the ACPI driver was attempting to get the wakeup device flags.",
+   "label": "KlogACPIPrwEvalError"
+  },
+  {
    "compare_mode": "regex",
    "log_level": "LOG_LEVEL_LOW",
    "tag": "FWTS_TAG_ACPI",
@@ -878,11 +886,59 @@ 
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
    "tag": "FWTS_TAG_ACPI",
+   "pattern": "Error in acpi_memory_enable_device",
+   "advice": "ACPI memory hotplug failed to add a memory device, acpi_memory_enable_device() failed. This occurs if the memory block has already been used by the kernel or if add_memory() failed.",
+   "label": "KlogAcpiMemHotPlugFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "tag": "FWTS_TAG_ACPI",
    "pattern": "Error reading AC Adapter state",
    "advice": "The ACPI driver could not read the AC adapter state because the ACPI control _PSR (Power Source) failed to evaluate. This could be because this control did not exist or more probably that it failed to execute because of an error between the firmware and the smart battery.",
    "label": "KlogAcpiPsrEvalFailed"
   },
   {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "failed to add I2C device .* from ACPI",
+   "advice": "Failed to create an I2C device while walking through the ACPI namespace enumerating I2C slave devices behind the adapter.",
+   "label": "KlogAcpiI2CAddFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Cannot turn wakeup power resources on",
+   "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
+   "label": "KlogAcpiPowerWakeupResources"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Cannot turn wakeup power resources off",
+   "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
+   "label": "KlogAcpiPowerWakeupResources"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Failed to evaluate processor object",
+   "advice": "ACPI Processor() failed to evaluate. ACPI could not gather information on a CPU which will lead to it not being used.",
+   "label": "KlogAcpiProcessorEvalFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Failed to evaluate processor _UID",
+   "advice": "ACPI failed to evaluate a processor _UID object (as declared in a Device statement).  ACPI could not gather information on a CPU which will lead to it not being used.",
+   "label": "KlogAcpiProcessorEvalFailed"
+  },
+  {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_MEDIUM",
    "tag": "FWTS_TAG_ACPI",