diff mbox

klog: data.json: Add klog checking for errors from drivers/acpi/acpi_cmos_rtc.c

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

Commit Message

Colin Ian King July 7, 2016, 12:40 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Add more klog error message checking for ACPI CMOS RTC kernel messages

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

Comments

Alex Hung July 11, 2016, 2:56 a.m. UTC | #1
On 2016-07-07 08:40 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add more klog error message checking for ACPI CMOS RTC kernel messages
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   data/klog.json | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 7549f9b..28ab84b 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -4,6 +4,20 @@
>     {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Error installing CMOS-RTC region handler",
> +   "advice": "The ACPI CMOS Real Time Clock (RTC) driver could not install a CMOS address space region handler (this allows CMOS read/writes). This failure has caused the ACPI CMOS RTC functionality to fail",
> +   "label": "KlogAcpiCmosRtcHandler"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Error removing CMOS-RTC region handler",
> +   "advice": "The ACPI CMOS Real Time Clock (RTC) driver could not remove a CMOS address space region handler",
> +   "label": "KlogAcpiCmosRtcHandler"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
>      "pattern": "SRAT: SRAT not used",
>      "advice": "The NUMA affinity configuration could not be determined because of errors in the ACPI SRAT table",
>      "label": "KlogAcpiSratNotUsed"
>

Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu July 12, 2016, 9:05 a.m. UTC | #2
On 2016年07月07日 20:40, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add more klog error message checking for ACPI CMOS RTC kernel messages
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   data/klog.json | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 7549f9b..28ab84b 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -4,6 +4,20 @@
>     {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Error installing CMOS-RTC region handler",
> +   "advice": "The ACPI CMOS Real Time Clock (RTC) driver could not install a CMOS address space region handler (this allows CMOS read/writes). This failure has caused the ACPI CMOS RTC functionality to fail",
> +   "label": "KlogAcpiCmosRtcHandler"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "pattern": "Error removing CMOS-RTC region handler",
> +   "advice": "The ACPI CMOS Real Time Clock (RTC) driver could not remove a CMOS address space region handler",
> +   "label": "KlogAcpiCmosRtcHandler"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
>      "pattern": "SRAT: SRAT not used",
>      "advice": "The NUMA affinity configuration could not be determined because of errors in the ACPI SRAT table",
>      "label": "KlogAcpiSratNotUsed"

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

Patch

diff --git a/data/klog.json b/data/klog.json
index 7549f9b..28ab84b 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -4,6 +4,20 @@ 
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Error installing CMOS-RTC region handler",
+   "advice": "The ACPI CMOS Real Time Clock (RTC) driver could not install a CMOS address space region handler (this allows CMOS read/writes). This failure has caused the ACPI CMOS RTC functionality to fail",
+   "label": "KlogAcpiCmosRtcHandler"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Error removing CMOS-RTC region handler",
+   "advice": "The ACPI CMOS Real Time Clock (RTC) driver could not remove a CMOS address space region handler",
+   "label": "KlogAcpiCmosRtcHandler"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
    "pattern": "SRAT: SRAT not used",
    "advice": "The NUMA affinity configuration could not be determined because of errors in the ACPI SRAT table",
    "label": "KlogAcpiSratNotUsed"