diff mbox

data: klog.json: Update with latest errors in ACPI

Message ID 1416583507-9592-1-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King Nov. 21, 2014, 3:25 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

The ACPI driver has a few more new error messages, so we should
add these to the fwts klog database.

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

Comments

Alex Hung Nov. 24, 2014, 5:30 a.m. UTC | #1
On 11/21/2014 11:25 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The ACPI driver has a few more new error messages, so we should
> add these to the fwts klog database.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 63 insertions(+)
> 
> diff --git a/data/klog.json b/data/klog.json
> index 003136a..ffd90da 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -4,6 +4,62 @@
>    {
>     "compare_mode": "string",
>     "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Get fan state failed",
> +   "advice": "ACPI could not evaluate the fan state via the _FST object, perhaps this object does not exist or the object fails to evaluate correctly.",
> +   "label": "KlogAcpiGetFanState"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FST data",
> +   "advice": "ACPI could not evaluate the fan state via the _FST object, one of the elements in the package may be an incorrect ACPI type.",
> +   "label": "KlogAcpiGetFanStateBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FIF data",
> +   "advice": "ACPI could not evaluate the fan device information via the _FIF object, the returned object was not an ACPI package as expected.",
> +   "label": "KlogAcpiGetFanInfo"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FIF element",
> +   "advice": "ACPI could not evaluate the fan device information via the _FIF object, the returned package contained an element that was not of the correct ACPI type.",
> +   "label": "KlogAcpiGetFanInfoBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FPS data",
> +   "advice": "ACPI could not evaluate the fan device information via the _FPS object, the returned object was not an ACPI package as expected.",
> +   "label": "KlogAcpiGetFanDevInfo"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FPS element",
> +   "advice": "ACPI could not evaluate the fan device information via the _FPS object, the returned package contained an element that was not of the correct ACPI type.",
> +   "label": "KlogAcpiGetFanDevInfoBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "No memory for fan",
> +   "advice": "ACPI failed to create an ACPI fan device, there was not enough memory to allocate the device.",
> +   "label": "KlogAcpiFanNoMem"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FIF element",
> +   "advice": "ACPI could not evaluate the fan state via the _FST object, one of the elements in the package may be an incorrect ACPI type.",
> +   "label": "KlogAcpiGetFanStateBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
>     "pattern": "Could not acquire table length at",
>     "advice": "ACPI could not determine the length of an ACPI table. This can occur, for example, if the table cannot be mapped into memory or the header is corrupted or non-standard.",
>     "label": "KlogAcpiTableLength"
> @@ -116,6 +172,13 @@
>    {
>     "compare_mode": "regex",
>     "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "Invalid package element.*got reference",
> +   "advice": "An error occurred while trying to extract a ACPI package, got an ACPI reference in a package element, but was expecting a different type.",
> +   "label": "KlogAcpiInvalidPackageElement"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_MEDIUM",
>     "pattern": "Invalid package element.*got string.*buffer",
>     "advice": "An error occurred while trying to extract a ACPI package, got a string or a buffer in a package element, but was expecting a different type.",
>     "label": "KlogAcpiInvalidPackageElement"
> 

Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu Nov. 24, 2014, 7:58 a.m. UTC | #2
On 11/21/2014 11:25 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The ACPI driver has a few more new error messages, so we should
> add these to the fwts klog database.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   data/klog.json | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 63 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 003136a..ffd90da 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -4,6 +4,62 @@
>     {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Get fan state failed",
> +   "advice": "ACPI could not evaluate the fan state via the _FST object, perhaps this object does not exist or the object fails to evaluate correctly.",
> +   "label": "KlogAcpiGetFanState"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FST data",
> +   "advice": "ACPI could not evaluate the fan state via the _FST object, one of the elements in the package may be an incorrect ACPI type.",
> +   "label": "KlogAcpiGetFanStateBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FIF data",
> +   "advice": "ACPI could not evaluate the fan device information via the _FIF object, the returned object was not an ACPI package as expected.",
> +   "label": "KlogAcpiGetFanInfo"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FIF element",
> +   "advice": "ACPI could not evaluate the fan device information via the _FIF object, the returned package contained an element that was not of the correct ACPI type.",
> +   "label": "KlogAcpiGetFanInfoBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FPS data",
> +   "advice": "ACPI could not evaluate the fan device information via the _FPS object, the returned object was not an ACPI package as expected.",
> +   "label": "KlogAcpiGetFanDevInfo"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FPS element",
> +   "advice": "ACPI could not evaluate the fan device information via the _FPS object, the returned package contained an element that was not of the correct ACPI type.",
> +   "label": "KlogAcpiGetFanDevInfoBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "No memory for fan",
> +   "advice": "ACPI failed to create an ACPI fan device, there was not enough memory to allocate the device.",
> +   "label": "KlogAcpiFanNoMem"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Invalid _FIF element",
> +   "advice": "ACPI could not evaluate the fan state via the _FST object, one of the elements in the package may be an incorrect ACPI type.",
> +   "label": "KlogAcpiGetFanStateBadData"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
>      "pattern": "Could not acquire table length at",
>      "advice": "ACPI could not determine the length of an ACPI table. This can occur, for example, if the table cannot be mapped into memory or the header is corrupted or non-standard.",
>      "label": "KlogAcpiTableLength"
> @@ -116,6 +172,13 @@
>     {
>      "compare_mode": "regex",
>      "log_level": "LOG_LEVEL_MEDIUM",
> +   "pattern": "Invalid package element.*got reference",
> +   "advice": "An error occurred while trying to extract a ACPI package, got an ACPI reference in a package element, but was expecting a different type.",
> +   "label": "KlogAcpiInvalidPackageElement"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_MEDIUM",
>      "pattern": "Invalid package element.*got string.*buffer",
>      "advice": "An error occurred while trying to extract a ACPI package, got a string or a buffer in a package element, but was expecting a different type.",
>      "label": "KlogAcpiInvalidPackageElement"
>

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

Patch

diff --git a/data/klog.json b/data/klog.json
index 003136a..ffd90da 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -4,6 +4,62 @@ 
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Get fan state failed",
+   "advice": "ACPI could not evaluate the fan state via the _FST object, perhaps this object does not exist or the object fails to evaluate correctly.",
+   "label": "KlogAcpiGetFanState"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid _FST data",
+   "advice": "ACPI could not evaluate the fan state via the _FST object, one of the elements in the package may be an incorrect ACPI type.",
+   "label": "KlogAcpiGetFanStateBadData"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid _FIF data",
+   "advice": "ACPI could not evaluate the fan device information via the _FIF object, the returned object was not an ACPI package as expected.",
+   "label": "KlogAcpiGetFanInfo"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid _FIF element",
+   "advice": "ACPI could not evaluate the fan device information via the _FIF object, the returned package contained an element that was not of the correct ACPI type.",
+   "label": "KlogAcpiGetFanInfoBadData"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid _FPS data",
+   "advice": "ACPI could not evaluate the fan device information via the _FPS object, the returned object was not an ACPI package as expected.",
+   "label": "KlogAcpiGetFanDevInfo"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid _FPS element",
+   "advice": "ACPI could not evaluate the fan device information via the _FPS object, the returned package contained an element that was not of the correct ACPI type.",
+   "label": "KlogAcpiGetFanDevInfoBadData"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "No memory for fan",
+   "advice": "ACPI failed to create an ACPI fan device, there was not enough memory to allocate the device.",
+   "label": "KlogAcpiFanNoMem"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid _FIF element",
+   "advice": "ACPI could not evaluate the fan state via the _FST object, one of the elements in the package may be an incorrect ACPI type.",
+   "label": "KlogAcpiGetFanStateBadData"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
    "pattern": "Could not acquire table length at",
    "advice": "ACPI could not determine the length of an ACPI table. This can occur, for example, if the table cannot be mapped into memory or the header is corrupted or non-standard.",
    "label": "KlogAcpiTableLength"
@@ -116,6 +172,13 @@ 
   {
    "compare_mode": "regex",
    "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Invalid package element.*got reference",
+   "advice": "An error occurred while trying to extract a ACPI package, got an ACPI reference in a package element, but was expecting a different type.",
+   "label": "KlogAcpiInvalidPackageElement"
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_MEDIUM",
    "pattern": "Invalid package element.*got string.*buffer",
    "advice": "An error occurred while trying to extract a ACPI package, got a string or a buffer in a package element, but was expecting a different type.",
    "label": "KlogAcpiInvalidPackageElement"