[Lenovo ThinkStation S30-3] 'Run Firmware Test Suite (fwts) desktop-specific diagnosis tests.' always fail

Bug #1468180 reported by Gabriel Zhi Chen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Won't Fix
High
Ivan Hu
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

CID : 201402-14670 Lenovo ThinkStation S30-2) with 14.04.2 (utopic)

Steps:
1. Install 14.04.2 on S30-3
2. Install Plainbox and run test case 'Run FWTS desktop-specific diagnosis tests.'

Expected result:
Test result should be pass.

Actual result:
High Failures: 2
WARNING: The following test cases were reported as high
level failures by fwts. Please review the log at
/home/u/.cache/plainbox/sessions/pbox-st7krnmk.session/CHECKBOX_DATA/fwts_desktop_diagnosis_results.log for more information.
- klog
- method
Passed: 8
- version
- mpcheck
- apicedge
- acpitables
- apicinstance
- hpet_check
- mcfg
- msr

Notes:
I have updated the latest BIOS version
------------------------
u@201402-12670:~$ sudo dmidecode -t 0
[sudo] password for u:
# dmidecode 2.12
SMBIOS 2.7 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
 Vendor: LENOVO
 Version: A2KT50AUS
 Release Date: 03/31/2015
 Address: 0xF0000
 Runtime Size: 64 kB
 ROM Size: 8192 kB
 Characteristics:
  PCI is supported
  BIOS is upgradeable
  BIOS shadowing is allowed
  Boot from CD is supported
  Selectable boot is supported
  BIOS ROM is socketed
  EDD is supported
  5.25"/1.2 MB floppy services are supported (int 13h)
  3.5"/720 kB floppy services are supported (int 13h)
  3.5"/2.88 MB floppy services are supported (int 13h)
  Print screen service is supported (int 5h)
  8042 keyboard services are supported (int 9h)
  Serial services are supported (int 14h)
  Printer services are supported (int 17h)
  ACPI is supported
  USB legacy is supported
  BIOS boot specification is supported
  Targeted content distribution is supported
  UEFI is supported
 BIOS Revision: 0.50

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.16.0-30-generic 3.16.0-30.40~14.04.1 [modified: boot/vmlinuz-3.16.0-30-generic]
ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
Uname: Linux 3.16.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jun 24 00:26:47 2015
InstallationDate: Installed on 2015-06-23 (0 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: linux-lts-utopic
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: u 1693 F.... pulseaudio
 /dev/snd/controlC2: u 1693 F.... pulseaudio
 /dev/snd/controlC0: u 1693 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=b3a2d5c1-e942-4c9d-85a4-e7eb626897a3
InstallationDate: Installed on 2015-06-23 (0 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: LENOVO 435131z
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-30-generic root=UUID=e0515d78-4a11-4178-8b06-04549df248ff ro quiet splash
ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-30-generic N/A
 linux-backports-modules-3.16.0-30-generic N/A
 linux-firmware 1.127.11
RfKill:

Tags: trusty
Uname: Linux 3.16.0-30-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/31/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: A2KT50AUS
dmi.board.name: LENOVO
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.type: 7
dmi.chassis.vendor: LENOVO
dmi.chassis.version: NONE
dmi.modalias: dmi:bvnLENOVO:bvrA2KT50AUS:bd03/31/2015:svnLENOVO:pn435131z:pvrLenovoProduct:rvnLENOVO:rnLENOVO:rvrNotDefined:cvnLENOVO:ct7:cvrNONE:
dmi.product.name: 435131z
dmi.product.version: Lenovo Product
dmi.sys.vendor: LENOVO

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : AlsaInfo.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : BootDmesg.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : CRDA.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : Lspci.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : Lsusb.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : ProcEnviron.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : ProcModules.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : PulseList.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : UdevDb.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : UdevLog.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : WifiSyslog.txt

apport information

Keng-Yu Lin (lexical)
Changed in hwe-next:
assignee: nobody → Ivan Hu (ivan.hu)
importance: Undecided → High
Revision history for this message
Ivan Hu (ivan.hu) wrote :

The failures,
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT0.CHN0.DRV0._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT0.CHN0.DRV1._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT0.CHN1.DRV0._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT0.CHN1.DRV1._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT1.CHN0.DRV0._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT1.CHN0.DRV1._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT1.CHN1.DRV0._GTF'.
 method: Detected error 'Incorrect operand value' when evaluating '\_SB_.PCI0.SAT1.CHN1.DRV1._GTF'.

are from the firmware implement ACPI method RATA,
                Method (RATA, 1, NotSerialized)
                {
                    CreateByteField (Arg0, Zero, CMDN)
                    Multiply (CMDN, 0x38, Local0)
                    CreateField (Arg0, 0x08, Local0, RETB)
                    Store (RETB, Debug)
                    Return (Concatenate (RETB, FZTF))
                }

and the Local0 equal 0
                    CreateField (Arg0, 0x08, Local0, RETB)
and a fatal exception is generated

Revision history for this message
Ivan Hu (ivan.hu) wrote :

the failure,
 klog: HIGH Kernel message: [ 0.352459] \_SB_:_OSC invalid UUID

From the Acpi table,
    Method (WOSC, 4, NotSerialized)
    {
        CreateDWordField (Arg3, Zero, CDW1)
        If (LEqual (Arg0, Buffer (0x10)
                {
                    /* 0000 */ 0x0C, 0x5E, 0x85, 0xED, 0x90, 0x6C, 0xBF, 0x47,
                    /* 0008 */ 0xA6, 0x2A, 0x26, 0xDE, 0x0F, 0xC5, 0xAD, 0x5C
                }))
        {
            CreateDWordField (Arg3, 0x04, CDW2)
            CreateDWordField (Arg3, 0x08, CDW3)
            If (WHEA)
            {
                If (And (CDW2, One))
                {
                    Return (One)
                }
            }
        }
        Else
        {
            Or (CDW1, 0x04, CDW1)
        }

        Return (Zero)
    }

    Method (_SB._OSC, 4, NotSerialized) // _OSC: Operating System Capabilities
    {
        If (WOSC (Arg0, Arg1, Arg3, Arg3))
        {
            Return (Arg3)
        }

        Return (Arg3)
    }

Seems that firmware only support to report the APEI status, by the Microsoft WHEA defined UUID "ed855e0c-6c90-47bf-a62a-26de0fc5ad5c"
Kernel expects the _OSC method following the ACPI spec Platform-Wide OSPM Capabilities UUID(0811B06E-4A27-44F9-8D60-3CBBC22E7B48)
So, when the kernel driver, function acpi_bus_osc_support() in drivers/acpi/bus.c , checks the platform-Wide OSPM Capabilities with it's UUID, got the invalid UUID, because firmware ACPI \_SB_:_OSC method checks the Microsoft WHEA defined UUID.

Although, the Microsoft WHEA defined UUID also be handled by the kernel driver, function apei_osc_setup() in acpi/apei/apei-base.c, so it should not have any problems. I still suggest that the firmware implement the Platform-Wide OSPM Capabilities UUID defined on the ACPI spec, because it covers the APEI capabilities define.

Changed in hwe-next:
status: New → Won't Fix
penalvch (penalvch)
tags: added: bios-outdated-a0kt55a
Revision history for this message
penalvch (penalvch) wrote :

Gabriel Zhi Chen, as per http://support.lenovo.com/us/en/products/Workstations/ThinkStation-S-Series-workstations/ThinkStation-S30? an update to your computer's buggy and outdated BIOS is available (A2KT53A). If you update to this following https://help.ubuntu.com/community/BIOSUpdate does it change anything?

Once the BIOS is updated, if the problem is still reproducible:
1) Please provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
2) Please make a comment specifically advising on if there was an improvement or not.
3) Please mark this report Status Confirmed. If it's not reproducible, please mark this as Invalid.

Thank you for your understanding.

tags: added: bios-outdated-a2kt53a
removed: bios-outdated-a0kt55a
affects: linux-lts-utopic (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.