diff mbox

[2/9,FWTS-TEST] arg-log-format-0001: sync up logs with changes in the klog tests

Message ID 1355741836-31729-3-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King Dec. 17, 2012, 10:57 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

fwts has added more exact diagnostics for some errors so we need
to fix up these tests to be in sync with the new fwts klog checks

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 arg-log-format-0001/klog-0001.log | 77 ++++++++++++++++++++-------------------
 arg-log-format-0001/klog-0002.log | 10 +++--
 arg-log-format-0001/klog-0003.log | 58 +++++++++++++++--------------
 arg-log-format-0001/klog-0004.log | 11 ++++--
 4 files changed, 83 insertions(+), 73 deletions(-)

Comments

Keng-Yu Lin Dec. 18, 2012, 1:38 a.m. UTC | #1
On Mon, Dec 17, 2012 at 6:57 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> fwts has added more exact diagnostics for some errors so we need
> to fix up these tests to be in sync with the new fwts klog checks
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  arg-log-format-0001/klog-0001.log | 77 ++++++++++++++++++++-------------------
>  arg-log-format-0001/klog-0002.log | 10 +++--
>  arg-log-format-0001/klog-0003.log | 58 +++++++++++++++--------------
>  arg-log-format-0001/klog-0004.log | 11 ++++--
>  4 files changed, 83 insertions(+), 73 deletions(-)
>
> diff --git a/arg-log-format-0001/klog-0001.log b/arg-log-format-0001/klog-0001.log
> index a332bea..40e77fa 100644
> --- a/arg-log-format-0001/klog-0001.log
> +++ b/arg-log-format-0001/klog-0001.log
> @@ -229,47 +229,50 @@ klog            (00244) <16/05/12> ADV  : Recommend disassembing using iasl to
>  klog            (00245) <16/05/12> ADV  : find any offending code.
>  klog            (00246) <16/05/12> NLN  :
>  klog            (00247) <16/05/12> FAL H: FAILED [HIGH]
> -klog            (00248) <16/05/12> FAL H: KlogAcpiObjectAlreadyExists: Test 1,
> +klog            (00248) <16/05/12> FAL H: KlogAcpiParseExecAmlFailed: Test 1,
>  klog            (00249) <16/05/12> FAL H: HIGH Kernel message: [ 0.034090] ACPI
>  klog            (00250) <16/05/12> FAL H: Error: Method parse/execution failed
>  klog            (00251) <16/05/12> FAL H: [_SB_.PCI0._OSC] (Node ee025630),
>  klog            (00252) <16/05/12> FAL H: AE_ALREADY_EXISTS (20110112
>  klog            (00253) <16/05/12> FAL H: /psparse-536)
>  klog            (00254) <16/05/12> NLN  :
> -klog            (00255) <16/05/12> ADV  : ADVICE: This is a bug picked up by the
> -klog            (00256) <16/05/12> ADV  : kernel, but as yet, the firmware test
> -klog            (00257) <16/05/12> ADV  : suite has no diagnostic advice for
> -klog            (00258) <16/05/12> ADV  : this particular problem.
> -klog            (00259) <16/05/12> NLN  :
> -klog            (00260) <16/05/12> FAL H: FAILED [HIGH] KlogAcpiFirmwareError:
> -klog            (00261) <16/05/12> FAL H: Test 1, HIGH Kernel message: [
> -klog            (00262) <16/05/12> FAL H: 0.040119] [Firmware Bug]: the BIOS has
> -klog            (00263) <16/05/12> FAL H: corrupted hw-PMU resources (MSR 186 is
> -klog            (00264) <16/05/12> FAL H: 400000)
> -klog            (00265) <16/05/12> NLN  :
> -klog            (00266) <16/05/12> ADV  : ADVICE: The kernel has detected a
> -klog            (00267) <16/05/12> ADV  : Firmware bug in the BIOS or ACPI which
> -klog            (00268) <16/05/12> ADV  : needs investigating and fixing.
> -klog            (00269) <16/05/12> NLN  :
> -klog            (00270) <16/05/12> FAL C: FAILED [CRITICAL]
> -klog            (00271) <16/05/12> FAL C: KlogAcpiDetectedUnsupportedOpCode:
> -klog            (00272) <16/05/12> FAL C: Test 1, CRITICAL Kernel message: [
> -klog            (00273) <16/05/12> FAL C: 0.042222] ACPI Warning: Detected an
> -klog            (00274) <16/05/12> FAL C: unsupported executable opcode at
> -klog            (00275) <16/05/12> FAL C: module-level: [0x0070] at table offset
> -klog            (00276) <16/05/12> FAL C: 0x2366 (20100121/psloop-526)
> -klog            (00277) <16/05/12> NLN  :
> -klog            (00278) <16/05/12> ADV  : ADVICE: An illegal AML opcode has been
> -klog            (00279) <16/05/12> ADV  : found and is ignored. This indicates
> -klog            (00280) <16/05/12> ADV  : either badly compiled code or opcode
> -klog            (00281) <16/05/12> ADV  : corruption in the DSDT or SSDT tables
> -klog            (00282) <16/05/12> ADV  : or a bug in the ACPI execution engine.
> -klog            (00283) <16/05/12> ADV  : Recommend disassembing using iasl to
> -klog            (00284) <16/05/12> ADV  : find any offending code.
> -klog            (00285) <16/05/12> NLN  :
> -klog            (00286) <16/05/12> INF  : Found 18 unique errors in kernel log.
> -klog            (00287) <16/05/12> NLN  :
> -klog            (00288) <16/05/12> SEP  : ======================================
> -klog            (00289) <16/05/12> SUM  : 0 passed, 18 failed, 0 warnings, 0
> -klog            (00290) <16/05/12> SUM  : aborted, 0 skipped, 0 info only.
> +klog            (00255) <16/05/12> ADV  : ADVICE: The ACPI driver encounter a
> +klog            (00256) <16/05/12> ADV  : parse or execution error on some ACPI
> +klog            (00257) <16/05/12> ADV  : AML code. This is unexepcted and
> +klog            (00258) <16/05/12> ADV  : normally indicates that there is a bug
> +klog            (00259) <16/05/12> ADV  : in the compiled AML code. It could be
> +klog            (00260) <16/05/12> ADV  : a programming fault or an AML compiler
> +klog            (00261) <16/05/12> ADV  : issue. See acpi_ps_parse_aml().
> +klog            (00262) <16/05/12> NLN  :
> +klog            (00263) <16/05/12> FAL H: FAILED [HIGH] KlogAcpiFirmwareError:
> +klog            (00264) <16/05/12> FAL H: Test 1, HIGH Kernel message: [
> +klog            (00265) <16/05/12> FAL H: 0.040119] [Firmware Bug]: the BIOS has
> +klog            (00266) <16/05/12> FAL H: corrupted hw-PMU resources (MSR 186 is
> +klog            (00267) <16/05/12> FAL H: 400000)
> +klog            (00268) <16/05/12> NLN  :
> +klog            (00269) <16/05/12> ADV  : ADVICE: The kernel has detected a
> +klog            (00270) <16/05/12> ADV  : Firmware bug in the BIOS or ACPI which
> +klog            (00271) <16/05/12> ADV  : needs investigating and fixing.
> +klog            (00272) <16/05/12> NLN  :
> +klog            (00273) <16/05/12> FAL C: FAILED [CRITICAL]
> +klog            (00274) <16/05/12> FAL C: KlogAcpiDetectedUnsupportedOpCode:
> +klog            (00275) <16/05/12> FAL C: Test 1, CRITICAL Kernel message: [
> +klog            (00276) <16/05/12> FAL C: 0.042222] ACPI Warning: Detected an
> +klog            (00277) <16/05/12> FAL C: unsupported executable opcode at
> +klog            (00278) <16/05/12> FAL C: module-level: [0x0070] at table offset
> +klog            (00279) <16/05/12> FAL C: 0x2366 (20100121/psloop-526)
> +klog            (00280) <16/05/12> NLN  :
> +klog            (00281) <16/05/12> ADV  : ADVICE: An illegal AML opcode has been
> +klog            (00282) <16/05/12> ADV  : found and is ignored. This indicates
> +klog            (00283) <16/05/12> ADV  : either badly compiled code or opcode
> +klog            (00284) <16/05/12> ADV  : corruption in the DSDT or SSDT tables
> +klog            (00285) <16/05/12> ADV  : or a bug in the ACPI execution engine.
> +klog            (00286) <16/05/12> ADV  : Recommend disassembing using iasl to
> +klog            (00287) <16/05/12> ADV  : find any offending code.
> +klog            (00288) <16/05/12> NLN  :
> +klog            (00289) <16/05/12> INF  : Found 18 unique errors in kernel log.
> +klog            (00290) <16/05/12> NLN  :
>  klog            (00291) <16/05/12> SEP  : ======================================
> +klog            (00292) <16/05/12> SUM  : 0 passed, 18 failed, 0 warnings, 0
> +klog            (00293) <16/05/12> SUM  : aborted, 0 skipped, 0 info only.
> +klog            (00294) <16/05/12> SEP  : ======================================
> diff --git a/arg-log-format-0001/klog-0002.log b/arg-log-format-0001/klog-0002.log
> index 55723ce..1be475c 100644
> --- a/arg-log-format-0001/klog-0002.log
> +++ b/arg-log-format-0001/klog-0002.log
> @@ -149,14 +149,16 @@ klog           : in the DSDT or SSDT tables or a bug in the ACPI execution
>  klog           : engine. Recommend disassembing using iasl to find any offending
>  klog           : code.
>  klog           :
> -klog           : FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1, HIGH Kernel
> +klog           : FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1, HIGH Kernel
>  klog           : message: [ 0.034090] ACPI Error: Method parse/execution failed
>  klog           : [_SB_.PCI0._OSC] (Node ee025630), AE_ALREADY_EXISTS (20110112
>  klog           : /psparse-536)
>  klog           :
> -klog           : ADVICE: This is a bug picked up by the kernel, but as yet, the
> -klog           : firmware test suite has no diagnostic advice for this
> -klog           : particular problem.
> +klog           : ADVICE: The ACPI driver encounter a parse or execution error on
> +klog           : some ACPI AML code. This is unexepcted and normally indicates
> +klog           : that there is a bug in the compiled AML code. It could be a
> +klog           : programming fault or an AML compiler issue. See
> +klog           : acpi_ps_parse_aml().
>  klog           :
>  klog           : FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
>  klog           : message: [ 0.040119] [Firmware Bug]: the BIOS has corrupted
> diff --git a/arg-log-format-0001/klog-0003.log b/arg-log-format-0001/klog-0003.log
> index 48f3655..673a52b 100644
> --- a/arg-log-format-0001/klog-0003.log
> +++ b/arg-log-format-0001/klog-0003.log
> @@ -162,36 +162,38 @@ klog            00173: opcode corruption in the DSDT or SSDT tables or a bug in
>  klog            00174: the ACPI execution engine. Recommend disassembing using
>  klog            00175: iasl to find any offending code.
>  klog            00176:
> -klog            00177: FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1, HIGH
> +klog            00177: FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1, HIGH
>  klog            00178: Kernel message: [ 0.034090] ACPI Error: Method parse
>  klog            00179: /execution failed [_SB_.PCI0._OSC] (Node ee025630),
>  klog            00180: AE_ALREADY_EXISTS (20110112/psparse-536)
>  klog            00181:
> -klog            00182: ADVICE: This is a bug picked up by the kernel, but as yet
> -klog            00183: , the firmware test suite has no diagnostic advice for
> -klog            00184: this particular problem.
> -klog            00185:
> -klog            00186: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
> -klog            00187: message: [ 0.040119] [Firmware Bug]: the BIOS has
> -klog            00188: corrupted hw-PMU resources (MSR 186 is 400000)
> -klog            00189:
> -klog            00190: ADVICE: The kernel has detected a Firmware bug in the
> -klog            00191: BIOS or ACPI which needs investigating and fixing.
> -klog            00192:
> -klog            00193: FAILED [CRITICAL] KlogAcpiDetectedUnsupportedOpCode: Test
> -klog            00194: 1, CRITICAL Kernel message: [ 0.042222] ACPI Warning:
> -klog            00195: Detected an unsupported executable opcode at module-level
> -klog            00196: : [0x0070] at table offset 0x2366 (20100121/psloop-526)
> -klog            00197:
> -klog            00198: ADVICE: An illegal AML opcode has been found and is
> -klog            00199: ignored. This indicates either badly compiled code or
> -klog            00200: opcode corruption in the DSDT or SSDT tables or a bug in
> -klog            00201: the ACPI execution engine. Recommend disassembing using
> -klog            00202: iasl to find any offending code.
> -klog            00203:
> -klog            00204: Found 18 unique errors in kernel log.
> +klog            00182: ADVICE: The ACPI driver encounter a parse or execution
> +klog            00183: error on some ACPI AML code. This is unexepcted and
> +klog            00184: normally indicates that there is a bug in the compiled
> +klog            00185: AML code. It could be a programming fault or an AML
> +klog            00186: compiler issue. See acpi_ps_parse_aml().
> +klog            00187:
> +klog            00188: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
> +klog            00189: message: [ 0.040119] [Firmware Bug]: the BIOS has
> +klog            00190: corrupted hw-PMU resources (MSR 186 is 400000)
> +klog            00191:
> +klog            00192: ADVICE: The kernel has detected a Firmware bug in the
> +klog            00193: BIOS or ACPI which needs investigating and fixing.
> +klog            00194:
> +klog            00195: FAILED [CRITICAL] KlogAcpiDetectedUnsupportedOpCode: Test
> +klog            00196: 1, CRITICAL Kernel message: [ 0.042222] ACPI Warning:
> +klog            00197: Detected an unsupported executable opcode at module-level
> +klog            00198: : [0x0070] at table offset 0x2366 (20100121/psloop-526)
> +klog            00199:
> +klog            00200: ADVICE: An illegal AML opcode has been found and is
> +klog            00201: ignored. This indicates either badly compiled code or
> +klog            00202: opcode corruption in the DSDT or SSDT tables or a bug in
> +klog            00203: the ACPI execution engine. Recommend disassembing using
> +klog            00204: iasl to find any offending code.
>  klog            00205:
> -klog            00206: =========================================================
> -klog            00207: 0 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0
> -klog            00208: info only.
> -klog            00209: =========================================================
> +klog            00206: Found 18 unique errors in kernel log.
> +klog            00207:
> +klog            00208: =========================================================
> +klog            00209: 0 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0
> +klog            00210: info only.
> +klog            00211: =========================================================
> diff --git a/arg-log-format-0001/klog-0004.log b/arg-log-format-0001/klog-0004.log
> index 7f3048f..149409b 100644
> --- a/arg-log-format-0001/klog-0004.log
> +++ b/arg-log-format-0001/klog-0004.log
> @@ -176,14 +176,17 @@ klog            10/10/11  : or opcode corruption in the DSDT or SSDT tables or a
>  klog            10/10/11  : bug in the ACPI execution engine. Recommend
>  klog            10/10/11  : disassembing using iasl to find any offending code.
>  klog            10/10/11  :
> -klog            10/10/11 H: FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1,
> +klog            10/10/11 H: FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1,
>  klog            10/10/11 H: HIGH Kernel message: [ 0.034090] ACPI Error: Method
>  klog            10/10/11 H: parse/execution failed [_SB_.PCI0._OSC] (Node
>  klog            10/10/11 H: ee025630), AE_ALREADY_EXISTS (20110112/psparse-536)
>  klog            10/10/11  :
> -klog            10/10/11  : ADVICE: This is a bug picked up by the kernel, but
> -klog            10/10/11  : as yet, the firmware test suite has no diagnostic
> -klog            10/10/11  : advice for this particular problem.
> +klog            10/10/11  : ADVICE: The ACPI driver encounter a parse or
> +klog            10/10/11  : execution error on some ACPI AML code. This is
> +klog            10/10/11  : unexepcted and normally indicates that there is a
> +klog            10/10/11  : bug in the compiled AML code. It could be a
> +klog            10/10/11  : programming fault or an AML compiler issue. See
> +klog            10/10/11  : acpi_ps_parse_aml().
>  klog            10/10/11  :
>  klog            10/10/11 H: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH
>  klog            10/10/11 H: Kernel message: [ 0.040119] [Firmware Bug]: the BIOS
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu Dec. 20, 2012, 5:44 a.m. UTC | #2
On 12/17/2012 06:57 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> fwts has added more exact diagnostics for some errors so we need
> to fix up these tests to be in sync with the new fwts klog checks
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   arg-log-format-0001/klog-0001.log | 77 ++++++++++++++++++++-------------------
>   arg-log-format-0001/klog-0002.log | 10 +++--
>   arg-log-format-0001/klog-0003.log | 58 +++++++++++++++--------------
>   arg-log-format-0001/klog-0004.log | 11 ++++--
>   4 files changed, 83 insertions(+), 73 deletions(-)
>
> diff --git a/arg-log-format-0001/klog-0001.log b/arg-log-format-0001/klog-0001.log
> index a332bea..40e77fa 100644
> --- a/arg-log-format-0001/klog-0001.log
> +++ b/arg-log-format-0001/klog-0001.log
> @@ -229,47 +229,50 @@ klog            (00244) <16/05/12> ADV  : Recommend disassembing using iasl to
>   klog            (00245) <16/05/12> ADV  : find any offending code.
>   klog            (00246) <16/05/12> NLN  :
>   klog            (00247) <16/05/12> FAL H: FAILED [HIGH]
> -klog            (00248) <16/05/12> FAL H: KlogAcpiObjectAlreadyExists: Test 1,
> +klog            (00248) <16/05/12> FAL H: KlogAcpiParseExecAmlFailed: Test 1,
>   klog            (00249) <16/05/12> FAL H: HIGH Kernel message: [ 0.034090] ACPI
>   klog            (00250) <16/05/12> FAL H: Error: Method parse/execution failed
>   klog            (00251) <16/05/12> FAL H: [_SB_.PCI0._OSC] (Node ee025630),
>   klog            (00252) <16/05/12> FAL H: AE_ALREADY_EXISTS (20110112
>   klog            (00253) <16/05/12> FAL H: /psparse-536)
>   klog            (00254) <16/05/12> NLN  :
> -klog            (00255) <16/05/12> ADV  : ADVICE: This is a bug picked up by the
> -klog            (00256) <16/05/12> ADV  : kernel, but as yet, the firmware test
> -klog            (00257) <16/05/12> ADV  : suite has no diagnostic advice for
> -klog            (00258) <16/05/12> ADV  : this particular problem.
> -klog            (00259) <16/05/12> NLN  :
> -klog            (00260) <16/05/12> FAL H: FAILED [HIGH] KlogAcpiFirmwareError:
> -klog            (00261) <16/05/12> FAL H: Test 1, HIGH Kernel message: [
> -klog            (00262) <16/05/12> FAL H: 0.040119] [Firmware Bug]: the BIOS has
> -klog            (00263) <16/05/12> FAL H: corrupted hw-PMU resources (MSR 186 is
> -klog            (00264) <16/05/12> FAL H: 400000)
> -klog            (00265) <16/05/12> NLN  :
> -klog            (00266) <16/05/12> ADV  : ADVICE: The kernel has detected a
> -klog            (00267) <16/05/12> ADV  : Firmware bug in the BIOS or ACPI which
> -klog            (00268) <16/05/12> ADV  : needs investigating and fixing.
> -klog            (00269) <16/05/12> NLN  :
> -klog            (00270) <16/05/12> FAL C: FAILED [CRITICAL]
> -klog            (00271) <16/05/12> FAL C: KlogAcpiDetectedUnsupportedOpCode:
> -klog            (00272) <16/05/12> FAL C: Test 1, CRITICAL Kernel message: [
> -klog            (00273) <16/05/12> FAL C: 0.042222] ACPI Warning: Detected an
> -klog            (00274) <16/05/12> FAL C: unsupported executable opcode at
> -klog            (00275) <16/05/12> FAL C: module-level: [0x0070] at table offset
> -klog            (00276) <16/05/12> FAL C: 0x2366 (20100121/psloop-526)
> -klog            (00277) <16/05/12> NLN  :
> -klog            (00278) <16/05/12> ADV  : ADVICE: An illegal AML opcode has been
> -klog            (00279) <16/05/12> ADV  : found and is ignored. This indicates
> -klog            (00280) <16/05/12> ADV  : either badly compiled code or opcode
> -klog            (00281) <16/05/12> ADV  : corruption in the DSDT or SSDT tables
> -klog            (00282) <16/05/12> ADV  : or a bug in the ACPI execution engine.
> -klog            (00283) <16/05/12> ADV  : Recommend disassembing using iasl to
> -klog            (00284) <16/05/12> ADV  : find any offending code.
> -klog            (00285) <16/05/12> NLN  :
> -klog            (00286) <16/05/12> INF  : Found 18 unique errors in kernel log.
> -klog            (00287) <16/05/12> NLN  :
> -klog            (00288) <16/05/12> SEP  : ======================================
> -klog            (00289) <16/05/12> SUM  : 0 passed, 18 failed, 0 warnings, 0
> -klog            (00290) <16/05/12> SUM  : aborted, 0 skipped, 0 info only.
> +klog            (00255) <16/05/12> ADV  : ADVICE: The ACPI driver encounter a
> +klog            (00256) <16/05/12> ADV  : parse or execution error on some ACPI
> +klog            (00257) <16/05/12> ADV  : AML code. This is unexepcted and
> +klog            (00258) <16/05/12> ADV  : normally indicates that there is a bug
> +klog            (00259) <16/05/12> ADV  : in the compiled AML code. It could be
> +klog            (00260) <16/05/12> ADV  : a programming fault or an AML compiler
> +klog            (00261) <16/05/12> ADV  : issue. See acpi_ps_parse_aml().
> +klog            (00262) <16/05/12> NLN  :
> +klog            (00263) <16/05/12> FAL H: FAILED [HIGH] KlogAcpiFirmwareError:
> +klog            (00264) <16/05/12> FAL H: Test 1, HIGH Kernel message: [
> +klog            (00265) <16/05/12> FAL H: 0.040119] [Firmware Bug]: the BIOS has
> +klog            (00266) <16/05/12> FAL H: corrupted hw-PMU resources (MSR 186 is
> +klog            (00267) <16/05/12> FAL H: 400000)
> +klog            (00268) <16/05/12> NLN  :
> +klog            (00269) <16/05/12> ADV  : ADVICE: The kernel has detected a
> +klog            (00270) <16/05/12> ADV  : Firmware bug in the BIOS or ACPI which
> +klog            (00271) <16/05/12> ADV  : needs investigating and fixing.
> +klog            (00272) <16/05/12> NLN  :
> +klog            (00273) <16/05/12> FAL C: FAILED [CRITICAL]
> +klog            (00274) <16/05/12> FAL C: KlogAcpiDetectedUnsupportedOpCode:
> +klog            (00275) <16/05/12> FAL C: Test 1, CRITICAL Kernel message: [
> +klog            (00276) <16/05/12> FAL C: 0.042222] ACPI Warning: Detected an
> +klog            (00277) <16/05/12> FAL C: unsupported executable opcode at
> +klog            (00278) <16/05/12> FAL C: module-level: [0x0070] at table offset
> +klog            (00279) <16/05/12> FAL C: 0x2366 (20100121/psloop-526)
> +klog            (00280) <16/05/12> NLN  :
> +klog            (00281) <16/05/12> ADV  : ADVICE: An illegal AML opcode has been
> +klog            (00282) <16/05/12> ADV  : found and is ignored. This indicates
> +klog            (00283) <16/05/12> ADV  : either badly compiled code or opcode
> +klog            (00284) <16/05/12> ADV  : corruption in the DSDT or SSDT tables
> +klog            (00285) <16/05/12> ADV  : or a bug in the ACPI execution engine.
> +klog            (00286) <16/05/12> ADV  : Recommend disassembing using iasl to
> +klog            (00287) <16/05/12> ADV  : find any offending code.
> +klog            (00288) <16/05/12> NLN  :
> +klog            (00289) <16/05/12> INF  : Found 18 unique errors in kernel log.
> +klog            (00290) <16/05/12> NLN  :
>   klog            (00291) <16/05/12> SEP  : ======================================
> +klog            (00292) <16/05/12> SUM  : 0 passed, 18 failed, 0 warnings, 0
> +klog            (00293) <16/05/12> SUM  : aborted, 0 skipped, 0 info only.
> +klog            (00294) <16/05/12> SEP  : ======================================
> diff --git a/arg-log-format-0001/klog-0002.log b/arg-log-format-0001/klog-0002.log
> index 55723ce..1be475c 100644
> --- a/arg-log-format-0001/klog-0002.log
> +++ b/arg-log-format-0001/klog-0002.log
> @@ -149,14 +149,16 @@ klog           : in the DSDT or SSDT tables or a bug in the ACPI execution
>   klog           : engine. Recommend disassembing using iasl to find any offending
>   klog           : code.
>   klog           :
> -klog           : FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1, HIGH Kernel
> +klog           : FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1, HIGH Kernel
>   klog           : message: [ 0.034090] ACPI Error: Method parse/execution failed
>   klog           : [_SB_.PCI0._OSC] (Node ee025630), AE_ALREADY_EXISTS (20110112
>   klog           : /psparse-536)
>   klog           :
> -klog           : ADVICE: This is a bug picked up by the kernel, but as yet, the
> -klog           : firmware test suite has no diagnostic advice for this
> -klog           : particular problem.
> +klog           : ADVICE: The ACPI driver encounter a parse or execution error on
> +klog           : some ACPI AML code. This is unexepcted and normally indicates
> +klog           : that there is a bug in the compiled AML code. It could be a
> +klog           : programming fault or an AML compiler issue. See
> +klog           : acpi_ps_parse_aml().
>   klog           :
>   klog           : FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
>   klog           : message: [ 0.040119] [Firmware Bug]: the BIOS has corrupted
> diff --git a/arg-log-format-0001/klog-0003.log b/arg-log-format-0001/klog-0003.log
> index 48f3655..673a52b 100644
> --- a/arg-log-format-0001/klog-0003.log
> +++ b/arg-log-format-0001/klog-0003.log
> @@ -162,36 +162,38 @@ klog            00173: opcode corruption in the DSDT or SSDT tables or a bug in
>   klog            00174: the ACPI execution engine. Recommend disassembing using
>   klog            00175: iasl to find any offending code.
>   klog            00176:
> -klog            00177: FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1, HIGH
> +klog            00177: FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1, HIGH
>   klog            00178: Kernel message: [ 0.034090] ACPI Error: Method parse
>   klog            00179: /execution failed [_SB_.PCI0._OSC] (Node ee025630),
>   klog            00180: AE_ALREADY_EXISTS (20110112/psparse-536)
>   klog            00181:
> -klog            00182: ADVICE: This is a bug picked up by the kernel, but as yet
> -klog            00183: , the firmware test suite has no diagnostic advice for
> -klog            00184: this particular problem.
> -klog            00185:
> -klog            00186: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
> -klog            00187: message: [ 0.040119] [Firmware Bug]: the BIOS has
> -klog            00188: corrupted hw-PMU resources (MSR 186 is 400000)
> -klog            00189:
> -klog            00190: ADVICE: The kernel has detected a Firmware bug in the
> -klog            00191: BIOS or ACPI which needs investigating and fixing.
> -klog            00192:
> -klog            00193: FAILED [CRITICAL] KlogAcpiDetectedUnsupportedOpCode: Test
> -klog            00194: 1, CRITICAL Kernel message: [ 0.042222] ACPI Warning:
> -klog            00195: Detected an unsupported executable opcode at module-level
> -klog            00196: : [0x0070] at table offset 0x2366 (20100121/psloop-526)
> -klog            00197:
> -klog            00198: ADVICE: An illegal AML opcode has been found and is
> -klog            00199: ignored. This indicates either badly compiled code or
> -klog            00200: opcode corruption in the DSDT or SSDT tables or a bug in
> -klog            00201: the ACPI execution engine. Recommend disassembing using
> -klog            00202: iasl to find any offending code.
> -klog            00203:
> -klog            00204: Found 18 unique errors in kernel log.
> +klog            00182: ADVICE: The ACPI driver encounter a parse or execution
> +klog            00183: error on some ACPI AML code. This is unexepcted and
> +klog            00184: normally indicates that there is a bug in the compiled
> +klog            00185: AML code. It could be a programming fault or an AML
> +klog            00186: compiler issue. See acpi_ps_parse_aml().
> +klog            00187:
> +klog            00188: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
> +klog            00189: message: [ 0.040119] [Firmware Bug]: the BIOS has
> +klog            00190: corrupted hw-PMU resources (MSR 186 is 400000)
> +klog            00191:
> +klog            00192: ADVICE: The kernel has detected a Firmware bug in the
> +klog            00193: BIOS or ACPI which needs investigating and fixing.
> +klog            00194:
> +klog            00195: FAILED [CRITICAL] KlogAcpiDetectedUnsupportedOpCode: Test
> +klog            00196: 1, CRITICAL Kernel message: [ 0.042222] ACPI Warning:
> +klog            00197: Detected an unsupported executable opcode at module-level
> +klog            00198: : [0x0070] at table offset 0x2366 (20100121/psloop-526)
> +klog            00199:
> +klog            00200: ADVICE: An illegal AML opcode has been found and is
> +klog            00201: ignored. This indicates either badly compiled code or
> +klog            00202: opcode corruption in the DSDT or SSDT tables or a bug in
> +klog            00203: the ACPI execution engine. Recommend disassembing using
> +klog            00204: iasl to find any offending code.
>   klog            00205:
> -klog            00206: =========================================================
> -klog            00207: 0 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0
> -klog            00208: info only.
> -klog            00209: =========================================================
> +klog            00206: Found 18 unique errors in kernel log.
> +klog            00207:
> +klog            00208: =========================================================
> +klog            00209: 0 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0
> +klog            00210: info only.
> +klog            00211: =========================================================
> diff --git a/arg-log-format-0001/klog-0004.log b/arg-log-format-0001/klog-0004.log
> index 7f3048f..149409b 100644
> --- a/arg-log-format-0001/klog-0004.log
> +++ b/arg-log-format-0001/klog-0004.log
> @@ -176,14 +176,17 @@ klog            10/10/11  : or opcode corruption in the DSDT or SSDT tables or a
>   klog            10/10/11  : bug in the ACPI execution engine. Recommend
>   klog            10/10/11  : disassembing using iasl to find any offending code.
>   klog            10/10/11  :
> -klog            10/10/11 H: FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1,
> +klog            10/10/11 H: FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1,
>   klog            10/10/11 H: HIGH Kernel message: [ 0.034090] ACPI Error: Method
>   klog            10/10/11 H: parse/execution failed [_SB_.PCI0._OSC] (Node
>   klog            10/10/11 H: ee025630), AE_ALREADY_EXISTS (20110112/psparse-536)
>   klog            10/10/11  :
> -klog            10/10/11  : ADVICE: This is a bug picked up by the kernel, but
> -klog            10/10/11  : as yet, the firmware test suite has no diagnostic
> -klog            10/10/11  : advice for this particular problem.
> +klog            10/10/11  : ADVICE: The ACPI driver encounter a parse or
> +klog            10/10/11  : execution error on some ACPI AML code. This is
> +klog            10/10/11  : unexepcted and normally indicates that there is a
> +klog            10/10/11  : bug in the compiled AML code. It could be a
> +klog            10/10/11  : programming fault or an AML compiler issue. See
> +klog            10/10/11  : acpi_ps_parse_aml().
>   klog            10/10/11  :
>   klog            10/10/11 H: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH
>   klog            10/10/11 H: Kernel message: [ 0.040119] [Firmware Bug]: the BIOS
>
Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/arg-log-format-0001/klog-0001.log b/arg-log-format-0001/klog-0001.log
index a332bea..40e77fa 100644
--- a/arg-log-format-0001/klog-0001.log
+++ b/arg-log-format-0001/klog-0001.log
@@ -229,47 +229,50 @@  klog            (00244) <16/05/12> ADV  : Recommend disassembing using iasl to
 klog            (00245) <16/05/12> ADV  : find any offending code.
 klog            (00246) <16/05/12> NLN  : 
 klog            (00247) <16/05/12> FAL H: FAILED [HIGH]
-klog            (00248) <16/05/12> FAL H: KlogAcpiObjectAlreadyExists: Test 1,
+klog            (00248) <16/05/12> FAL H: KlogAcpiParseExecAmlFailed: Test 1,
 klog            (00249) <16/05/12> FAL H: HIGH Kernel message: [ 0.034090] ACPI
 klog            (00250) <16/05/12> FAL H: Error: Method parse/execution failed
 klog            (00251) <16/05/12> FAL H: [_SB_.PCI0._OSC] (Node ee025630),
 klog            (00252) <16/05/12> FAL H: AE_ALREADY_EXISTS (20110112
 klog            (00253) <16/05/12> FAL H: /psparse-536)
 klog            (00254) <16/05/12> NLN  : 
-klog            (00255) <16/05/12> ADV  : ADVICE: This is a bug picked up by the
-klog            (00256) <16/05/12> ADV  : kernel, but as yet, the firmware test
-klog            (00257) <16/05/12> ADV  : suite has no diagnostic advice for
-klog            (00258) <16/05/12> ADV  : this particular problem.
-klog            (00259) <16/05/12> NLN  : 
-klog            (00260) <16/05/12> FAL H: FAILED [HIGH] KlogAcpiFirmwareError:
-klog            (00261) <16/05/12> FAL H: Test 1, HIGH Kernel message: [
-klog            (00262) <16/05/12> FAL H: 0.040119] [Firmware Bug]: the BIOS has
-klog            (00263) <16/05/12> FAL H: corrupted hw-PMU resources (MSR 186 is
-klog            (00264) <16/05/12> FAL H: 400000)
-klog            (00265) <16/05/12> NLN  : 
-klog            (00266) <16/05/12> ADV  : ADVICE: The kernel has detected a
-klog            (00267) <16/05/12> ADV  : Firmware bug in the BIOS or ACPI which
-klog            (00268) <16/05/12> ADV  : needs investigating and fixing.
-klog            (00269) <16/05/12> NLN  : 
-klog            (00270) <16/05/12> FAL C: FAILED [CRITICAL]
-klog            (00271) <16/05/12> FAL C: KlogAcpiDetectedUnsupportedOpCode:
-klog            (00272) <16/05/12> FAL C: Test 1, CRITICAL Kernel message: [
-klog            (00273) <16/05/12> FAL C: 0.042222] ACPI Warning: Detected an
-klog            (00274) <16/05/12> FAL C: unsupported executable opcode at
-klog            (00275) <16/05/12> FAL C: module-level: [0x0070] at table offset
-klog            (00276) <16/05/12> FAL C: 0x2366 (20100121/psloop-526)
-klog            (00277) <16/05/12> NLN  : 
-klog            (00278) <16/05/12> ADV  : ADVICE: An illegal AML opcode has been
-klog            (00279) <16/05/12> ADV  : found and is ignored. This indicates
-klog            (00280) <16/05/12> ADV  : either badly compiled code or opcode
-klog            (00281) <16/05/12> ADV  : corruption in the DSDT or SSDT tables
-klog            (00282) <16/05/12> ADV  : or a bug in the ACPI execution engine.
-klog            (00283) <16/05/12> ADV  : Recommend disassembing using iasl to
-klog            (00284) <16/05/12> ADV  : find any offending code.
-klog            (00285) <16/05/12> NLN  : 
-klog            (00286) <16/05/12> INF  : Found 18 unique errors in kernel log.
-klog            (00287) <16/05/12> NLN  : 
-klog            (00288) <16/05/12> SEP  : ======================================
-klog            (00289) <16/05/12> SUM  : 0 passed, 18 failed, 0 warnings, 0
-klog            (00290) <16/05/12> SUM  : aborted, 0 skipped, 0 info only.
+klog            (00255) <16/05/12> ADV  : ADVICE: The ACPI driver encounter a
+klog            (00256) <16/05/12> ADV  : parse or execution error on some ACPI
+klog            (00257) <16/05/12> ADV  : AML code. This is unexepcted and
+klog            (00258) <16/05/12> ADV  : normally indicates that there is a bug
+klog            (00259) <16/05/12> ADV  : in the compiled AML code. It could be
+klog            (00260) <16/05/12> ADV  : a programming fault or an AML compiler
+klog            (00261) <16/05/12> ADV  : issue. See acpi_ps_parse_aml().
+klog            (00262) <16/05/12> NLN  : 
+klog            (00263) <16/05/12> FAL H: FAILED [HIGH] KlogAcpiFirmwareError:
+klog            (00264) <16/05/12> FAL H: Test 1, HIGH Kernel message: [
+klog            (00265) <16/05/12> FAL H: 0.040119] [Firmware Bug]: the BIOS has
+klog            (00266) <16/05/12> FAL H: corrupted hw-PMU resources (MSR 186 is
+klog            (00267) <16/05/12> FAL H: 400000)
+klog            (00268) <16/05/12> NLN  : 
+klog            (00269) <16/05/12> ADV  : ADVICE: The kernel has detected a
+klog            (00270) <16/05/12> ADV  : Firmware bug in the BIOS or ACPI which
+klog            (00271) <16/05/12> ADV  : needs investigating and fixing.
+klog            (00272) <16/05/12> NLN  : 
+klog            (00273) <16/05/12> FAL C: FAILED [CRITICAL]
+klog            (00274) <16/05/12> FAL C: KlogAcpiDetectedUnsupportedOpCode:
+klog            (00275) <16/05/12> FAL C: Test 1, CRITICAL Kernel message: [
+klog            (00276) <16/05/12> FAL C: 0.042222] ACPI Warning: Detected an
+klog            (00277) <16/05/12> FAL C: unsupported executable opcode at
+klog            (00278) <16/05/12> FAL C: module-level: [0x0070] at table offset
+klog            (00279) <16/05/12> FAL C: 0x2366 (20100121/psloop-526)
+klog            (00280) <16/05/12> NLN  : 
+klog            (00281) <16/05/12> ADV  : ADVICE: An illegal AML opcode has been
+klog            (00282) <16/05/12> ADV  : found and is ignored. This indicates
+klog            (00283) <16/05/12> ADV  : either badly compiled code or opcode
+klog            (00284) <16/05/12> ADV  : corruption in the DSDT or SSDT tables
+klog            (00285) <16/05/12> ADV  : or a bug in the ACPI execution engine.
+klog            (00286) <16/05/12> ADV  : Recommend disassembing using iasl to
+klog            (00287) <16/05/12> ADV  : find any offending code.
+klog            (00288) <16/05/12> NLN  : 
+klog            (00289) <16/05/12> INF  : Found 18 unique errors in kernel log.
+klog            (00290) <16/05/12> NLN  : 
 klog            (00291) <16/05/12> SEP  : ======================================
+klog            (00292) <16/05/12> SUM  : 0 passed, 18 failed, 0 warnings, 0
+klog            (00293) <16/05/12> SUM  : aborted, 0 skipped, 0 info only.
+klog            (00294) <16/05/12> SEP  : ======================================
diff --git a/arg-log-format-0001/klog-0002.log b/arg-log-format-0001/klog-0002.log
index 55723ce..1be475c 100644
--- a/arg-log-format-0001/klog-0002.log
+++ b/arg-log-format-0001/klog-0002.log
@@ -149,14 +149,16 @@  klog           : in the DSDT or SSDT tables or a bug in the ACPI execution
 klog           : engine. Recommend disassembing using iasl to find any offending
 klog           : code.
 klog           : 
-klog           : FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1, HIGH Kernel
+klog           : FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1, HIGH Kernel
 klog           : message: [ 0.034090] ACPI Error: Method parse/execution failed
 klog           : [_SB_.PCI0._OSC] (Node ee025630), AE_ALREADY_EXISTS (20110112
 klog           : /psparse-536)
 klog           : 
-klog           : ADVICE: This is a bug picked up by the kernel, but as yet, the
-klog           : firmware test suite has no diagnostic advice for this
-klog           : particular problem.
+klog           : ADVICE: The ACPI driver encounter a parse or execution error on
+klog           : some ACPI AML code. This is unexepcted and normally indicates
+klog           : that there is a bug in the compiled AML code. It could be a
+klog           : programming fault or an AML compiler issue. See
+klog           : acpi_ps_parse_aml().
 klog           : 
 klog           : FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
 klog           : message: [ 0.040119] [Firmware Bug]: the BIOS has corrupted
diff --git a/arg-log-format-0001/klog-0003.log b/arg-log-format-0001/klog-0003.log
index 48f3655..673a52b 100644
--- a/arg-log-format-0001/klog-0003.log
+++ b/arg-log-format-0001/klog-0003.log
@@ -162,36 +162,38 @@  klog            00173: opcode corruption in the DSDT or SSDT tables or a bug in
 klog            00174: the ACPI execution engine. Recommend disassembing using
 klog            00175: iasl to find any offending code.
 klog            00176: 
-klog            00177: FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1, HIGH
+klog            00177: FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1, HIGH
 klog            00178: Kernel message: [ 0.034090] ACPI Error: Method parse
 klog            00179: /execution failed [_SB_.PCI0._OSC] (Node ee025630),
 klog            00180: AE_ALREADY_EXISTS (20110112/psparse-536)
 klog            00181: 
-klog            00182: ADVICE: This is a bug picked up by the kernel, but as yet
-klog            00183: , the firmware test suite has no diagnostic advice for
-klog            00184: this particular problem.
-klog            00185: 
-klog            00186: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
-klog            00187: message: [ 0.040119] [Firmware Bug]: the BIOS has
-klog            00188: corrupted hw-PMU resources (MSR 186 is 400000)
-klog            00189: 
-klog            00190: ADVICE: The kernel has detected a Firmware bug in the
-klog            00191: BIOS or ACPI which needs investigating and fixing.
-klog            00192: 
-klog            00193: FAILED [CRITICAL] KlogAcpiDetectedUnsupportedOpCode: Test
-klog            00194: 1, CRITICAL Kernel message: [ 0.042222] ACPI Warning:
-klog            00195: Detected an unsupported executable opcode at module-level
-klog            00196: : [0x0070] at table offset 0x2366 (20100121/psloop-526)
-klog            00197: 
-klog            00198: ADVICE: An illegal AML opcode has been found and is
-klog            00199: ignored. This indicates either badly compiled code or
-klog            00200: opcode corruption in the DSDT or SSDT tables or a bug in
-klog            00201: the ACPI execution engine. Recommend disassembing using
-klog            00202: iasl to find any offending code.
-klog            00203: 
-klog            00204: Found 18 unique errors in kernel log.
+klog            00182: ADVICE: The ACPI driver encounter a parse or execution
+klog            00183: error on some ACPI AML code. This is unexepcted and
+klog            00184: normally indicates that there is a bug in the compiled
+klog            00185: AML code. It could be a programming fault or an AML
+klog            00186: compiler issue. See acpi_ps_parse_aml().
+klog            00187: 
+klog            00188: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH Kernel
+klog            00189: message: [ 0.040119] [Firmware Bug]: the BIOS has
+klog            00190: corrupted hw-PMU resources (MSR 186 is 400000)
+klog            00191: 
+klog            00192: ADVICE: The kernel has detected a Firmware bug in the
+klog            00193: BIOS or ACPI which needs investigating and fixing.
+klog            00194: 
+klog            00195: FAILED [CRITICAL] KlogAcpiDetectedUnsupportedOpCode: Test
+klog            00196: 1, CRITICAL Kernel message: [ 0.042222] ACPI Warning:
+klog            00197: Detected an unsupported executable opcode at module-level
+klog            00198: : [0x0070] at table offset 0x2366 (20100121/psloop-526)
+klog            00199: 
+klog            00200: ADVICE: An illegal AML opcode has been found and is
+klog            00201: ignored. This indicates either badly compiled code or
+klog            00202: opcode corruption in the DSDT or SSDT tables or a bug in
+klog            00203: the ACPI execution engine. Recommend disassembing using
+klog            00204: iasl to find any offending code.
 klog            00205: 
-klog            00206: =========================================================
-klog            00207: 0 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0
-klog            00208: info only.
-klog            00209: =========================================================
+klog            00206: Found 18 unique errors in kernel log.
+klog            00207: 
+klog            00208: =========================================================
+klog            00209: 0 passed, 18 failed, 0 warnings, 0 aborted, 0 skipped, 0
+klog            00210: info only.
+klog            00211: =========================================================
diff --git a/arg-log-format-0001/klog-0004.log b/arg-log-format-0001/klog-0004.log
index 7f3048f..149409b 100644
--- a/arg-log-format-0001/klog-0004.log
+++ b/arg-log-format-0001/klog-0004.log
@@ -176,14 +176,17 @@  klog            10/10/11  : or opcode corruption in the DSDT or SSDT tables or a
 klog            10/10/11  : bug in the ACPI execution engine. Recommend
 klog            10/10/11  : disassembing using iasl to find any offending code.
 klog            10/10/11  : 
-klog            10/10/11 H: FAILED [HIGH] KlogAcpiObjectAlreadyExists: Test 1,
+klog            10/10/11 H: FAILED [HIGH] KlogAcpiParseExecAmlFailed: Test 1,
 klog            10/10/11 H: HIGH Kernel message: [ 0.034090] ACPI Error: Method
 klog            10/10/11 H: parse/execution failed [_SB_.PCI0._OSC] (Node
 klog            10/10/11 H: ee025630), AE_ALREADY_EXISTS (20110112/psparse-536)
 klog            10/10/11  : 
-klog            10/10/11  : ADVICE: This is a bug picked up by the kernel, but
-klog            10/10/11  : as yet, the firmware test suite has no diagnostic
-klog            10/10/11  : advice for this particular problem.
+klog            10/10/11  : ADVICE: The ACPI driver encounter a parse or
+klog            10/10/11  : execution error on some ACPI AML code. This is
+klog            10/10/11  : unexepcted and normally indicates that there is a
+klog            10/10/11  : bug in the compiled AML code. It could be a
+klog            10/10/11  : programming fault or an AML compiler issue. See
+klog            10/10/11  : acpi_ps_parse_aml().
 klog            10/10/11  : 
 klog            10/10/11 H: FAILED [HIGH] KlogAcpiFirmwareError: Test 1, HIGH
 klog            10/10/11 H: Kernel message: [ 0.040119] [Firmware Bug]: the BIOS