[PATCH] data: klog.json: Add support for the APM driver kernel messages

Keng-Yu Lin kengyu at canonical.com
Thu Nov 8 03:04:11 UTC 2012


On Tue, Nov 6, 2012 at 12:49 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Add support to check for messages in arch/x86/kernel/apm_32.c
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  data/klog.json |   40 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 27d1211..766d115 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -80,6 +80,46 @@
>     "compare_mode": "regex",
>     "log_level": "LOG_LEVEL_HIGH",
>     "tag": "FWTS_TAG_ACPI",
> +   "pattern": "apm.*an event queue overflowed",
> +   "advice": "More then 20 APM events were queued up which is unexpected.  The queue was not being drained quickly by a reading process (perhaps it is not running).",
> +   "label": "KlogApmEventQueueOverflow"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "apm.*passed bad filp",
> +   "advice": "A read of the APM events was performed by a reading process with an unrecognised file pointer. This should not happen.",
> +   "label": "KlogApmReadBadFileptr"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "apm.*filp not in user list",
> +   "advice": "An attempt to release a APM reader occurred using an unrecognised file pointer. This should not happen.",
> +   "label": "KlogApmReleaseBadFileptr"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "apm.*cannot allocate struct of size %d bytes",
> +   "advice": "An attempt to open failed, out of memory. APM events cannot be read.",
> +   "label": "KlogApmOpenNoMemory"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "apm.*disabled - Unable to start kernel thread",
> +   "advice": "Cannot start kernel APM thread, APM handling will be disabled.",
> +   "label": "KlogApmKernelThreadFailed"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
>     "pattern": "PnPBIOS.*ESCD size reported by BIOS escd_info call is too great",
>     "advice": "The ESCD size was greater than a sane size of 32K.",
>     "label": "KlogPnpBiosEscdSize"
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list