ACK: [PATCH] data: klog.json: Add support for the APM driver kernel messages
Alex Hung
alex.hung at canonical.com
Wed Nov 21 03:19:55 UTC 2012
On 11/06/2012 07:49 PM, Colin King 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"
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list