[PATCH] data: klog.json: lower the level of the failure when the _S1 and _S2 not implemented (LP: #1279714)

Colin Ian King colin.king at canonical.com
Thu Feb 13 12:10:51 UTC 2014


On 13/02/14 09:57, Ivan Hu wrote:
> Many machines don't implement the sleep state objects _S1 and _S2 on their firmware
> due to these two sleep states are seldom used.
> And it will cause the fwts klog test high failure as below:
> 
> klog: HIGH Kernel message: [ 0.291430] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130517/hwxface-571)
> klog: HIGH Kernel message: [ 0.291435] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130517/hwxface-571)
> 
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
>  data/klog.json | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/data/klog.json b/data/klog.json
> index da08962..ae447e8 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -1053,6 +1053,20 @@
>    },
>    {
>      "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_LOW",
> +    "pattern": "While evaluating Sleep State [\\_S1_]",
> +    "advice": "Failed to evaluate _Sx namespace object that contains the register values for the sleep state.",
> +    "label": "KlogAcpiSleepStateEvalFailed"
> +  },
> +  {
> +    "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_LOW",
> +    "pattern": "While evaluating Sleep State [\\_S2_]",
> +    "advice": "Failed to evaluate _Sx namespace object that contains the register values for the sleep state.",
> +    "label": "KlogAcpiSleepStateEvalFailed"
> +  },
> +  {
> +    "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>      "pattern": "While evaluating Sleep State",
>      "advice": "Failed to evaluate _Sx namespace object that contains the register values for the sleep state.",
> 

If possible, can we provide more advice on what the implications are on
this error. E.g. do we lose functionality or can these be ignored?

Colin



More information about the fwts-devel mailing list