[PATCH 01/27] acpidump: fix tests to work with new fwts logging

IvanHu ivan.hu at canonical.com
Thu May 24 06:32:54 UTC 2012


On 05/16/2012 09:20 PM, Colin King wrote:
> From: Colin Ian King<colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king at canonical.com>
> ---
>   acpidump-0001/acpidump-0001.log |    2 +-
>   acpidump-0001/results.log       |  559 ---------------------------------------
>   acpidump-0001/test-0001.sh      |    4 +-
>   3 files changed, 3 insertions(+), 562 deletions(-)
>   delete mode 100644 acpidump-0001/results.log
>
> diff --git a/acpidump-0001/acpidump-0001.log b/acpidump-0001/acpidump-0001.log
> index ea7b0c1..4eff016 100644
> --- a/acpidump-0001/acpidump-0001.log
> +++ b/acpidump-0001/acpidump-0001.log
> @@ -1,5 +1,5 @@
>   acpidump        Dump ACPI tables.
> -acpidump        ---------------------------------------------------------
> +acpidump        ----------------------------------------------------------
>   acpidump        Test 1 of 1: Dump ACPI tables.
>   acpidump        RSDP @ f7240 (36 bytes)
>   acpidump        ---------------
> diff --git a/acpidump-0001/results.log b/acpidump-0001/results.log
> deleted file mode 100644
> index e56185c..0000000
> --- a/acpidump-0001/results.log
> +++ /dev/null
> @@ -1,559 +0,0 @@
> -00001 fwts            Results generated by fwts: Version V0.23.23 (Wed Aug 31 17:08:37 BST 2011).
> -00002 fwts
> -00003 fwts            Some of this work - Copyright (c) 1999 - 2010, Intel Corp. All rights
> -00004 fwts            reserved.
> -00005 fwts            Some of this work - Copyright (c) 2010 - 2011, Canonical.
> -00006 fwts
> -00007 fwts            This test run on 05/10/11 at 10:46:47 on host Linux lenovo 3.0.0-12-generic
> -00008 fwts            #19-Ubuntu SMP Fri Sep 23 21:23:39 UTC 2011 x86_64.
> -00009 fwts
> -00010 fwts            Running tests: version bios_info oops mtrr dmesg_common acpiinfo klog
> -00011 fwts            microcode msr nx maxfreq virt maxreadreq crs hpet_check dmi_decode smbios
> -00012 fwts            mpcheck os2gap hda_audio bios32 ebda wmi osilinux apicedge method mcfg fan
> -00013 fwts            fadt cstates checksum apicinstance acpitables syntaxcheck wakealarm.
> -
> -00015 version         Gather kernel system information.
> -00016 version         -----------------------------------------------------------------------------
> -00017 version         Test 1 of 3: Gather kernel signature.
> -00018 version         PASSED: Test 1, Signature: Ubuntu 3.0.0-12.19-generic 3.0.4
> -00019 version
> -00020 version         Test 2 of 3: Gather kernel system information.
> -00021 version         PASSED: Test 2, Kernel Version: Linux version 3.0.0-12-generic
> -00022 version         (buildd at crested) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) )
> -00023 version         #19-Ubuntu SMP Fri Sep 23 21:23:39 UTC 2011
> -00024 version
> -00025 version         Test 3 of 3: Gather APCI driver version.
> -00026 version         PASSED: Test 3, ACPI Version: 20110413
> -00027 version
> -00028 version         =============================================================================
> -00029 version         3 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00030 version         =============================================================================
> -
> -00032 bios_info       Gather BIOS DMI information.
> -00033 bios_info       -----------------------------------------------------------------------------
> -00034 bios_info       Test 1 of 1: Gather BIOS DMI information
> -00035 bios_info       BIOS Vendor       : LENOVO
> -00036 bios_info       BIOS Version      : 68ET27WW
> -00037 bios_info       BIOS Release Date : 11/14/2007
> -00038 bios_info       Board Name        : IEL10
> -00039 bios_info       Board Version     : REFERENCE
> -00040 bios_info       Board Asset Tag   :
> -00041 bios_info       Chassis Type      : 10
> -00042 bios_info       Chassis Vendor    : No Enclosure
> -00043 bios_info       Chassis Version   : N/A
> -00044 bios_info       Chassic Asset Tag : No Asset Tag
> -00045 bios_info       Product Name      : 0769BMG
> -00046 bios_info       Product Version   : 3000 N200
> -00047 bios_info       System Vendor     : LENOVO
> -00048 bios_info
> -00049 bios_info       =============================================================================
> -00050 bios_info       0 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 1 info only.
> -00051 bios_info       =============================================================================
> -
> -00053 oops            Scan kernel log for Oopses.
> -00054 oops            -----------------------------------------------------------------------------
> -00055 oops            Test 1 of 1: Kernel log oops check.
> -00056 oops            PASSED: Test 1, Found no oopses in kernel log.
> -00057 oops
> -00058 oops            =============================================================================
> -00059 oops            1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00060 oops            =============================================================================
> -
> -00062 mtrr            MTRR validation.
> -00063 mtrr            -----------------------------------------------------------------------------
> -00064 mtrr            Must be run as root or sudo to be able to read system information.
> -00065 mtrr            Aborted test, insufficient privilege.
> -00066 mtrr            =============================================================================
> -00067 mtrr            0 passed, 0 failed, 0 warnings, 3 aborted, 0 skipped, 0 info only.
> -00068 mtrr            =============================================================================
> -
> -00070 dmesg_common    General dmesg common errors check.
> -00071 dmesg_common    -----------------------------------------------------------------------------
> -00072 dmesg_common    Test 1 of 1: Check common errors in kernel log.
> -00073 dmesg_common    PASSED: Test 1, No common error messages found in kernel message log.
> -00074 dmesg_common
> -00075 dmesg_common    =============================================================================
> -00076 dmesg_common    1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00077 dmesg_common    =============================================================================
> -
> -00079 acpiinfo        General ACPI information check.
> -00080 acpiinfo        -----------------------------------------------------------------------------
> -00081 acpiinfo        Test 1 of 1: General ACPI information check.
> -00082 acpiinfo        This test checks the output of the in-kernel ACPI CA against common error
> -00083 acpiinfo        messages that indicate a bad interaction with the bios, including those that
> -00084 acpiinfo        point at AML syntax errors.
> -00085 acpiinfo        DSDT was compiled by the Intel AML compiler.
> -00086 acpiinfo        PASSED: Test 1, Found no errors in kernel log.
> -00087 acpiinfo
> -00088 acpiinfo        =============================================================================
> -00089 acpiinfo        1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00090 acpiinfo        =============================================================================
> -
> -00092 klog            Scan kernel log for errors and warnings.
> -00093 klog            -----------------------------------------------------------------------------
> -00094 klog            Test 1 of 1: Kernel log error check.
> -00095 klog            FAILED [HIGH] KlogACPIBIOSBugMultipleAPIC: Test 1, HIGH Kernel message: [
> -00096 klog            0.000000] ACPI: BIOS bug: multiple APIC/MADT found, using 0
> -00097 klog
> -00098 klog            ADVICE: The kernel has detected more than one ACPI Multiple APIC Description
> -00099 klog            Table (MADT) (these tables have the "APIC" signature). There should only be
> -00100 klog            one MADT and the kernel will by default select the first one. However, one can
> -00101 klog            override this and select the Nth MADT using acpi_apic_instance=N.
> -00102 klog
> -00103 klog            Kernel message: [ 0.228089] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query
> -00104 klog            ignored
> -00105 klog
> -00106 klog            ADVICE: This is not exactly a failure mode but a warning from the kernel. The
> -00107 klog            _OSI() method has implemented a match to the 'Linux' query in the DSDT and
> -00108 klog            this is redundant because the ACPI driver matches onto the Windows _OSI
> -00109 klog            strings by default.
> -00110 klog
> -00111 klog            Found 1 unique errors in kernel log.
> -00112 klog
> -00113 klog            =============================================================================
> -00114 klog            0 passed, 1 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00115 klog            =============================================================================
> -
> -00117 microcode       Check if system is using latest microcode.
> -00118 microcode       -----------------------------------------------------------------------------
> -00119 microcode       Must be run as root or sudo to be able to read system information.
> -00120 microcode       Aborted test, insufficient privilege.
> -00121 microcode       =============================================================================
> -00122 microcode       0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00123 microcode       =============================================================================
> -
> -00125 msr             MSR register tests.
> -00126 msr             -----------------------------------------------------------------------------
> -00127 msr             Must be run as root or sudo to be able to read system information.
> -00128 msr             Aborted test, insufficient privilege.
> -00129 msr             =============================================================================
> -00130 msr             0 passed, 0 failed, 0 warnings, 5 aborted, 0 skipped, 0 info only.
> -00131 msr             =============================================================================
> -
> -00133 nx              Test if CPU NX is disabled by the BIOS.
> -00134 nx              -----------------------------------------------------------------------------
> -00135 nx              Must be run as root or sudo to be able to read system information.
> -00136 nx              Aborted test, insufficient privilege.
> -00137 nx              =============================================================================
> -00138 nx              0 passed, 0 failed, 0 warnings, 3 aborted, 0 skipped, 0 info only.
> -00139 nx              =============================================================================
> -
> -00141 maxfreq         Check max CPU frequencies against max scaling frequency.
> -00142 maxfreq         -----------------------------------------------------------------------------
> -00143 maxfreq         Test 1 of 1: Maximum CPU frequency check.
> -00144 maxfreq         This test checks the maximum CPU frequency as detected by the kernel for each
> -00145 maxfreq         CPU against maxiumum frequency as specified by the BIOS frequency scaling
> -00146 maxfreq         settings.
> -00147 maxfreq         PASSED: Test 1, 2 CPUs passed the maximum frequency check.
> -00148 maxfreq
> -00149 maxfreq         =============================================================================
> -00150 maxfreq         1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00151 maxfreq         =============================================================================
> -
> -00153 virt            Test CPU Virtualisation Configuration.
> -00154 virt            -----------------------------------------------------------------------------
> -00155 virt            Must be run as root or sudo to be able to read system information.
> -00156 virt            Aborted test, insufficient privilege.
> -00157 virt            =============================================================================
> -00158 virt            0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00159 virt            =============================================================================
> -
> -00161 maxreadreq      Checks firmware has set PCI Express MaxReadReq to a higher value on
> -00162 maxreadreq      non-motherboard devices.
> -00163 maxreadreq      -----------------------------------------------------------------------------
> -00164 maxreadreq      Must be run as root or sudo to be able to read system information.
> -00165 maxreadreq      Aborted test, insufficient privilege.
> -00166 maxreadreq      =============================================================================
> -00167 maxreadreq      0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00168 maxreadreq      =============================================================================
> -
> -00170 crs             Check PCI host bridge configuration using _CRS.
> -00171 crs             -----------------------------------------------------------------------------
> -00172 crs             Must be run as root or sudo to be able to read system information.
> -00173 crs             Aborted test, insufficient privilege.
> -00174 crs             =============================================================================
> -00175 crs             0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00176 crs             =============================================================================
> -
> -00178 hpet_check      HPET configuration test.
> -00179 hpet_check      -----------------------------------------------------------------------------
> -00180 hpet_check      Must be run as root or sudo to be able to read system information.
> -00181 hpet_check      Aborted test, insufficient privilege.
> -00182 hpet_check      =============================================================================
> -00183 hpet_check      0 passed, 0 failed, 0 warnings, 3 aborted, 0 skipped, 0 info only.
> -00184 hpet_check      =============================================================================
> -
> -00186 dmi_decode      Test DMI/SMBIOS tables for errors.
> -00187 dmi_decode      -----------------------------------------------------------------------------
> -00188 dmi_decode      Must be run as root or sudo to be able to read system information.
> -00189 dmi_decode      Aborted test, insufficient privilege.
> -00190 dmi_decode      =============================================================================
> -00191 dmi_decode      0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00192 dmi_decode      =============================================================================
> -
> -00194 smbios          Check SMBIOS.
> -00195 smbios          -----------------------------------------------------------------------------
> -00196 smbios          Must be run as root or sudo to be able to read system information.
> -00197 smbios          Aborted test, insufficient privilege.
> -00198 smbios          =============================================================================
> -00199 smbios          0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00200 smbios          =============================================================================
> -
> -00202 mpcheck         Check MultiProcessor Tables.
> -00203 mpcheck         -----------------------------------------------------------------------------
> -00204 mpcheck         Must be run as root or sudo to be able to read system information.
> -00205 mpcheck         Aborted test, insufficient privilege.
> -00206 mpcheck         =============================================================================
> -00207 mpcheck         0 passed, 0 failed, 0 warnings, 9 aborted, 0 skipped, 0 info only.
> -00208 mpcheck         =============================================================================
> -
> -00210 os2gap          OS/2 memory hole test.
> -00211 os2gap          -----------------------------------------------------------------------------
> -00212 os2gap          Test 1 of 1: Check the OS/2 15Mb memory hole is absent.
> -00213 os2gap          PASSED: Test 1, No OS/2 memory hole found.
> -00214 os2gap
> -00215 os2gap          =============================================================================
> -00216 os2gap          1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00217 os2gap          =============================================================================
> -
> -00219 hda_audio       Check HDA Audio Pin Configs.
> -00220 hda_audio       -----------------------------------------------------------------------------
> -00221 hda_audio       Test 1 of 1: Check HDA Audio Pin Configs.
> -00222 hda_audio       Checking 'hwC0D0':
> -00223 hda_audio       Vendor Name    : Realtek
> -00224 hda_audio       Vendor ID      : 0x10ec0862
> -00225 hda_audio       Subsystem ID   : 0x17aa3867
> -00226 hda_audio       Revision ID    : 0x100001
> -00227 hda_audio       BIOS pin configurations:
> -00228 hda_audio         Pin  Setting
> -00229 hda_audio         0x0014 0x99130110
> -00230 hda_audio         0x0015 0x411111f0
> -00231 hda_audio         0x0016 0x411111f0
> -00232 hda_audio         0x0017 0x411111f0
> -00233 hda_audio         0x0018 0x03a19820
> -00234 hda_audio         0x0019 0x99a3012f
> -00235 hda_audio         0x001a 0x411111f0
> -00236 hda_audio         0x001b 0x0321401f
> -00237 hda_audio         0x001c 0x411111f0
> -00238 hda_audio         0x001d 0x40178e2d
> -00239 hda_audio         0x001e 0x411111f0
> -00240 hda_audio       PASSED: Test 1, Default BIOS pin configurations did not have software
> -00241 hda_audio       override.
> -00242 hda_audio
> -00243 hda_audio
> -00244 hda_audio       =============================================================================
> -00245 hda_audio       1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00246 hda_audio       =============================================================================
> -
> -00248 bios32          Check BIOS32 Service Directory.
> -00249 bios32          -----------------------------------------------------------------------------
> -00250 bios32          Must be run as root or sudo to be able to read system information.
> -00251 bios32          Aborted test, insufficient privilege.
> -00252 bios32          =============================================================================
> -00253 bios32          0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00254 bios32          =============================================================================
> -
> -00256 ebda            Validate EBDA region is mapped and reserved in memory map table.
> -00257 ebda            -----------------------------------------------------------------------------
> -00258 ebda            Must be run as root or sudo to be able to read system information.
> -00259 ebda            Aborted test, insufficient privilege.
> -00260 ebda            =============================================================================
> -00261 ebda            0 passed, 0 failed, 0 warnings, 1 aborted, 0 skipped, 0 info only.
> -00262 ebda            =============================================================================
> -
> -00264 wmi             Extract and analyse Windows Management Instrumentation (WMI).
> -00265 wmi             -----------------------------------------------------------------------------
> -00266 wmi             Test 1 of 2: Check Windows Management Instrumentation in DSDT
> -00267 wmi             Found WMI Object, Object ID AC, GUID: 2E851DA7-D053-495F-9DFA-1A4AD62E6A86,
> -00268 wmi             Instance 0x01, Flags: 00
> -00269 wmi             Found WMI Object, Object ID BC, GUID: 71436D3B-FBDD-4C72-BCB8-435BFE0D64F9,
> -00270 wmi             Instance 0x01, Flags: 00
> -00271 wmi             Found WMI Object, Object ID BA, GUID: 05901221-D566-11D1-B2F0-00A0C9062910,
> -00272 wmi             Instance 0x01, Flags: 00
> -00273 wmi
> -00274 wmi             Test 2 of 2: Check Windows Management Instrumentation in SSDT
> -00275 wmi             No WMI data found in table SSDT1.
> -00276 wmi             No WMI data found in table SSDT2.
> -00277 wmi             No WMI data found in table SSDT3.
> -00278 wmi             No WMI data found in table SSDT4.
> -00279 wmi             No WMI data found in table SSDT5.
> -00280 wmi
> -00281 wmi             =============================================================================
> -00282 wmi             0 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 2 info only.
> -00283 wmi             =============================================================================
> -
> -00285 osilinux        Disassemble DSDT to check for _OSI("Linux").
> -00286 osilinux        -----------------------------------------------------------------------------
> -00287 osilinux        Test 1 of 1: Disassemble DSDT to check for _OSI("Linux").
> -00288 osilinux        This is not strictly a failure mode, it just alerts one that this has been
> -00289 osilinux        defined in the DSDT and probably should be avoided since the Linux ACPI driver
> -00290 osilinux        matches onto the Windows _OSI strings
> -00291 osilinux                    {
> -00292 osilinux                        If (_OSI ("Linux"))
> -00293 osilinux                        {
> -00294 osilinux                            Store (One, LINX)
> -00295 osilinux                            Store (Zero, ECDY)
> -00296 osilinux                        }
> -00297 osilinux                        If (_OSI ("Windows 2001"))
> -00298 osilinux                        {
> -00299 osilinux                            Store (0x07D1, OSYS)
> -00300 osilinux                        }
> -00301 osilinux                        If (_OSI ("Windows 2001 SP1"))
> -00302 osilinux                        {
> -00303 osilinux                            Store (0x07D1, OSYS)
> -00304 osilinux                        }
> -00305 osilinux                        If (_OSI ("Windows 2001 SP2"))
> -00306 osilinux                        {
> -00307 osilinux                            Store (0x07D2, OSYS)
> -00308 osilinux                        }
> -00309 osilinux                        If (_OSI ("Windows 2006"))
> -00310 osilinux                        {
> -00311 osilinux                            Store (0x07D6, OSYS)
> -00312 osilinux                        }
> -00313 osilinux                    }
> -00314 osilinux        WARNING: Test 1, DSDT implements a deprecated _OSI("Linux") test.
> -00315 osilinux
> -00316 osilinux        =============================================================================
> -00317 osilinux        0 passed, 0 failed, 1 warnings, 0 aborted, 0 skipped, 0 info only.
> -00318 osilinux        =============================================================================
> -
> -00320 apicedge        APIC Edge/Level Check.
> -00321 apicedge        -----------------------------------------------------------------------------
> -00322 apicedge        Test 1 of 1: Legacy and PCI Interrupt Edge/Level trigger checks.
> -00323 apicedge        PASSED: Test 1, Legacy interrupts are edge and PCI interrupts are level
> -00324 apicedge        triggered.
> -00325 apicedge
> -00326 apicedge        =============================================================================
> -00327 apicedge        1 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 info only.
> -00328 apicedge        =============================================================================
> -
> -00330 method          ACPI DSDT Method Semantic Tests.
> -00331 method          -----------------------------------------------------------------------------
> -00332 method          Test 1 of 92: Check Method Names.
> -00333 method          Found 218 Methods
> -00334 method          PASSED: Test 1, Method names contain legal characters.
> -00335 method
> -00336 method          Test 2 of 92: Check _ALC (Ambient Light Colour Chromaticity).
> -00337 method          SKIPPED: Test 2, Optional method _ALC did not exist.
> -00338 method
> -00339 method          Test 3 of 92: Check _ALI (Ambient Light Illuminance).
> -00340 method          SKIPPED: Test 3, Optional method _ALI did not exist.
> -00341 method
> -00342 method          Test 4 of 92: Check _ALT (Ambient Light Temperature).
> -00343 method          SKIPPED: Test 4, Optional method _ALT did not exist.
> -00344 method
> -00345 method          Test 5 of 92: Check _ALP (Ambient Light Polling).
> -00346 method          SKIPPED: Test 5, Optional method _ALP did not exist.
> -00347 method
> -00348 method          Test 6 of 92: Check _LID (Lid Status).
> -00349 method          PASSED: Test 6, _LID correctly returned sane looking value 0x00000000
> -00350 method          PASSED: Test 6, \_SB_.LID0._LID correctly acquired and released locks 4 times.
> -00351 method
> -00352 method          Test 7 of 92: Check _STP (Set Expired Timer Wake Policy).
> -00353 method          SKIPPED: Test 7, Optional method _STP did not exist.
> -00354 method
> -00355 method          Test 8 of 92: Check _STV (Set Timer Value).
> -00356 method          SKIPPED: Test 8, Optional method _STV did not exist.
> -00357 method
> -00358 method          Test 9 of 92: Check _TIP (Expired Timer Wake Policy).
> -00359 method          SKIPPED: Test 9, Optional method _TIP did not exist.
> -00360 method
> -00361 method          Test 10 of 92: Check _TIV (Timer Values).
> -00362 method          SKIPPED: Test 10, Optional method _TIV did not exist.
> -00363 method
> -00364 method          Test 11 of 92: Check _SBS (Smart Battery Subsystem).
> -00365 method          SKIPPED: Test 11, Optional method _SBS did not exist.
> -00366 method
> -00367 method          Test 12 of 92: Check _BIF (Battery Information).
> -00368 method            Package has 13 elements:
> -00369 method              00: INTEGER: 0x00000001
> -00370 method              01: INTEGER: 0x00000fa0
> -00371 method              02: INTEGER: 0x00000fa0
> -00372 method              03: INTEGER: 0x00000001
> -00373 method              04: INTEGER: 0x00002b5c
> -00374 method              05: INTEGER: 0x000001a4
> -00375 method              06: INTEGER: 0x0000009c
> -00376 method              07: INTEGER: 0x00000108
> -00377 method              08: INTEGER: 0x00000ec4
> -00378 method              09: STRING:  0xPA3465U
> -00379 method              10: STRING:  0x3658Q
> -00380 method              11: STRING:  0xLi-Ion
> -00381 method              12: STRING:  0xCOMPAL
> -00382 method          PASSED: Test 12, Battery _BIF package looks sane.
> -00383 method          PASSED: Test 12, \_SB_.PCI0.LPCB.BAT1._BIF correctly acquired and released
> -00384 method          locks 5 times.
> -00385 method
> -00386 method          Test 13 of 92: Check _BIX (Battery Information Extended).
> -00387 method          SKIPPED: Test 13, Optional method _BIX did not exist.
> -00388 method
> -00389 method          Test 14 of 92: Check _BMA (Battery Measurement Averaging).
> -00390 method          SKIPPED: Test 14, Optional method _BMA did not exist.
> -00391 method
> -00392 method          Test 15 of 92: Check _BMS (Battery Measurement Sampling Time).
> -00393 method          SKIPPED: Test 15, Optional method _BMS did not exist.
> -00394 method
> -00395 method          Test 16 of 92: Check _BST (Battery Status).
> -00396 method            Package has 4 elements:
> -00397 method              00: INTEGER: 0x00000000
> -00398 method              01: INTEGER: 0x00000000
> -00399 method              02: INTEGER: 0x00000000
> -00400 method              03: INTEGER: 0x00002b5c
> -00401 method          PASSED: Test 16, Battery _BST package looks sane.
> -00402 method          PASSED: Test 16, \_SB_.PCI0.LPCB.BAT1._BST correctly acquired and released
> -00403 method          locks 5 times.
> -00404 method
> -00405 method          Test 17 of 92: Check _BTP (Battery Trip Point).
> -00406 method          SKIPPED: Test 17, Optional method _BTP did not exist.
> -00407 method
> -00408 method          Test 18 of 92: Check _PCL (Power Consumer List).
> -00409 method          SKIPPED: Test 18, Optional method _PCL did not exist.
> -00410 method
> -00411 method          Test 19 of 92: Check _BTM (Battery Time).
> -00412 method          SKIPPED: Test 19, Optional method _BTM did not exist.
> -00413 method
> -00414 method          Test 20 of 92: Check _BMD (Battery Maintenance Data).
> -00415 method          SKIPPED: Test 20, Optional method _BMD did not exist.
> -00416 method
> -00417 method          Test 21 of 92: Check _BMC (Battery Maintenance Control).
> -00418 method          SKIPPED: Test 21, Optional method _BMC did not exist.
> -00419 method
> -00420 method          Test 22 of 92: Check _PSR (Power Source).
> -00421 method          PASSED: Test 22, _PSR correctly returned sane looking value 0x00000001
> -00422 method          PASSED: Test 22, \_SB_.PCI0.LPCB.ACAD._PSR correctly acquired and released
> -00423 method          locks 4 times.
> -00424 method
> -00425 method          Test 23 of 92: Check _PIF (Power Source Information) Object.
> -00426 method          SKIPPED: Test 23, Optional method _PIF did not exist.
> -00427 method
> -00428 method          Test 24 of 92: Check _FIF (Fan Information).
> -00429 method          SKIPPED: Test 24, Optional method _FIF did not exist.
> -00430 method
> -00431 method          Test 25 of 92: Check _FSL (Fan Set Level).
> -00432 method          SKIPPED: Test 25, Optional method _FSL did not exist.
> -00433 method
> -00434 method          Test 26 of 92: Check _FST (Fan Status).
> -00435 method          SKIPPED: Test 26, Optional method _FST did not exist.
> -00436 method
> -00437 method          Test 27 of 92: Check _ACx (Active Cooling).
> -00438 method          SKIPPED: Test 27, Optional method AC0 did not exist.
> -00439 method
> -00440 method          SKIPPED: Test 27, Optional method AC1 did not exist.
> -00441 method
> -00442 method          SKIPPED: Test 27, Optional method AC2 did not exist.
> -00443 method
> -00444 method          SKIPPED: Test 27, Optional method AC3 did not exist.
> -00445 method
> -00446 method          SKIPPED: Test 27, Optional method AC4 did not exist.
> -00447 method
> -00448 method          SKIPPED: Test 27, Optional method AC5 did not exist.
> -00449 method
> -00450 method          SKIPPED: Test 27, Optional method AC6 did not exist.
> -00451 method
> -00452 method          SKIPPED: Test 27, Optional method AC7 did not exist.
> -00453 method
> -00454 method          SKIPPED: Test 27, Optional method AC8 did not exist.
> -00455 method
> -00456 method          SKIPPED: Test 27, Optional method AC9 did not exist.
> -00457 method
> -00458 method
> -00459 method          Test 28 of 92: Check _CRT (Critical Trip Point).
> -00460 method          SKIPPED: Test 28, Optional method _CRT did not exist.
> -00461 method
> -00462 method          Test 29 of 92: Check _DTI (Device Temperature Indication).
> -00463 method          SKIPPED: Test 29, Optional method _DTI did not exist.
> -00464 method
> -00465 method          Test 30 of 92: Check _HOT (Hot Temperature).
> -00466 method          SKIPPED: Test 30, Optional method _HOT did not exist.
> -00467 method
> -00468 method          Test 31 of 92: Check _NTT (Notification Temp Threshold).
> -00469 method          SKIPPED: Test 31, Optional method _NTT did not exist.
> -00470 method
> -00471 method          Test 32 of 92: Check _PSV (Passive Temp).
> -00472 method          SKIPPED: Test 32, Optional method _PSV did not exist.
> -00473 method
> -00474 method          Test 33 of 92: Check _RTV (Relative Temp Values).
> -00475 method          SKIPPED: Test 33, Optional method _RTV did not exist.
> -00476 method
> -00477 method          Test 34 of 92: Check _SCP (Set Cooling Policy).
> -00478 method          SKIPPED: Test 34, Optional method _DTI did not exist.
> -00479 method
> -00480 method          Test 35 of 92: Check _TMP (Thermal Zone Current Temp).
> -00481 method          SKIPPED: Test 35, Optional method _TMP did not exist.
> -00482 method
> -00483 method          Test 36 of 92: Check _TC1 (Thermal Constant 1) Object.
> -00484 method          SKIPPED: Test 36, Optional method _TC1 did not exist.
> -00485 method
> -00486 method          Test 37 of 92: Check _TC2 (Thermal Constant 2) Object.
> -00487 method          SKIPPED: Test 37, Optional method _TC2 did not exist.
> -00488 method
> -00489 method          Test 38 of 92: Check _TPT (Trip Point Temperature).
> -00490 method          SKIPPED: Test 38, Optional method _TPT did not exist.
> -00491 method
> -00492 method          Test 39 of 92: Check _TSP (Thermal Sampling Period) Object.
> -00493 method          SKIPPED: Test 39, Optional method _TSP did not exist.
> -00494 method
> -00495 method          Test 40 of 92: Check _TST (Temperature Sensor Threshold) Object.
> -00496 method          SKIPPED: Test 40, Optional method _TST did not exist.
> -00497 method
> -00498 method          Test 41 of 92: Check _TZP (Thermal Zone Polling) Object.
> -00499 method          SKIPPED: Test 41, Optional method _TZP did not exist.
> -00500 method
> -00501 method          Test 42 of 92: Check _SUN (Slot User Number).
> -00502 method          SKIPPED: Test 42, Optional method _SUN did not exist.
> -00503 method
> -00504 method          Test 43 of 92: Check _UID (Unique ID).
> -00505 method          SKIPPED: Test 43, Optional method _UID did not exist.
> -00506 method
> -00507 method          Test 44 of 92: Check _CRS (Current Resource Settings).
> -00508 method          PASSED: Test 44, \_SB_.PCI0._CRS correctly returned a buffer of 520 elements.
> -00509 method          PASSED: Test 44, \_SB_.PCI0._CRS correctly acquired and released locks 5
> -00510 method          times.
> -00511 method          PASSED: Test 44, \_SB_.PCI0.PDRC._CRS correctly returned a buffer of 98
> -00512 method          elements.
> -00513 method          PASSED: Test 44, \_SB_.PCI0.PDRC._CRS correctly acquired and released locks 5
> -00514 method          times.
> -00515 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKA._CRS correctly returned a buffer of 6
> -00516 method          elements.
> -00517 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKA._CRS correctly acquired and released
> -00518 method          locks 5 times.
> -00519 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKB._CRS correctly returned a buffer of 6
> -00520 method          elements.
> -00521 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKB._CRS correctly acquired and released
> -00522 method          locks 5 times.
> -00523 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKC._CRS correctly returned a buffer of 6
> -00524 method          elements.
> -00525 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKC._CRS correctly acquired and released
> -00526 method          locks 5 times.
> -00527 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKD._CRS correctly returned a buffer of 6
> -00528 method          elements.
> -00529 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKD._CRS correctly acquired and released
> -00530 method          locks 5 times.
> -00531 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKE._CRS correctly returned a buffer of 6
> -00532 method          elements.
> -00533 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKE._CRS correctly acquired and released
> -00534 method          locks 5 times.
> -00535 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKF._CRS correctly returned a buffer of 6
> -00536 method          elements.
> -00537 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKF._CRS correctly acquired and released
> -00538 method          locks 5 times.
> -00539 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKG._CRS correctly returned a buffer of 6
> -00540 method          elements.
> -00541 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKG._CRS correctly acquired and released
> -00542 method          locks 5 times.
> -00543 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKH._CRS correctly returned a buffer of 6
> -00544 method          elements.
> -00545 method          PASSED: Test 44, \_SB_.PCI0.LPCB.LNKH._CRS correctly acquired and released
> -00546 method          locks 5 times.
> -00547 method          PASSED: Test 44, \_SB_.PCI0.LPCB.HPET._CRS correctly returned a buffer of 14
> -00548 method          elements.
> -00549 method          PASSED: Test 44, \_SB_.PCI0.LPCB.HPET._CRS correctly acquired and released
> -00550 method          locks 6 times.
> -00551 method
> -00552 method          Test 45 of 92: Check _DMA (Direct Memory Access).
> -00553 method          SKIPPED: Test 45, Optional method _DMA did not exist.
> -00554 method
> -00555 method          Test 46 of 92: Check _DIS (Disable).
> -00556 method          PASSED: Test 46, \_SB_.PCI0.LPCB.LNKA._DIS returned no values as expected.
> -00557 method          PASSED: Test 46, \_SB_.PCI0.LPCB.LNKA._DIS correctly acquired and released
> -00558 method          locks 5 times.
> -00559 method          PASSED: Test 46, \_SB_.PCI0.LPCB.LNKB._DIS returned no values as expected.
> diff --git a/acpidump-0001/test-0001.sh b/acpidump-0001/test-0001.sh
> index 66a6dc6..b794b51 100755
> --- a/acpidump-0001/test-0001.sh
> +++ b/acpidump-0001/test-0001.sh
> @@ -4,7 +4,7 @@ TEST="Test acpidump against known ACPI tables"
>   NAME=test-0001.sh
>   TMPLOG=$TMP/acpidump.log.$$
>
> -$FWTS -w 80 --dumpfile=acpidump.log acpidump - | grep "^[0-9]*[ ]*acpidump" | cut -c7->  $TMPLOG
> +$FWTS --log-format="%line %owner " -w 80 --dumpfile=acpidump.log acpidump - | grep "^[0-9]*[ ]*acpidump" | cut -c7->  $TMPLOG
>   diff $TMPLOG acpidump-0001.log>>  $FAILURE_LOG
>   ret=$?
>   if [ $ret -eq 0 ]; then
> @@ -13,5 +13,5 @@ else
>   	echo FAILED: $TEST, $NAME
>   fi
>
> -rm $TMPLOG
> +#rm $TMPLOG
>   exit $ret
Acked-by: Ivan Hu<ivan.hu at canonical.com>




More information about the fwts-devel mailing list