← Back to team overview

kernel-packages team mailing list archive

[Bug 1335026] Re: [Dell OptiPlex 3011] Sometimes system won't be able to run suspend stress test

 

the error,
 s3: HIGH Kernel message: [  457.594493] ACPI Error: Field [DRQL] at 144 exceeds Buffer [NULL] size 128 (bits) (20131115/dsopcode-236)
 s3: HIGH Kernel message: [  457.594498] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIO1.DSRS] (Node ffff880079715c58), AE_AML_BUFFER_LIMIT (20131115/psparse-536)
 s3: HIGH Kernel message: [  457.594502] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.UAR1._SRS] (Node ffff880079715ed8), AE_AML_BUFFER_LIMIT (20131115/psparse-536)

is from buggy firmware, it occured on other Dell's machines. Don't have
acpidump on this machine, so past on the analysis on that machine.

When s3 resume, will set the resource, first call the _CSR of the UAR1 device to check the current resource, then set the resoure via _SRS,
the UART1 _CRS call SIO1.DCRS, then return CRS1 -> buffer size 128 (bits), but _SRS call SIO1.DSRS -> but operate with the buffer size 144(bits)
                        CreateByteField (Arg0, 0x11, DRQL)
                        CreateByteField (Arg0, 0x14, DMAC)
so the error is from, the current resource tell kernel using 128bits, but the set resource operate 144bits.

see the ACPI table,
the _CSR->DCSR always return CRS1,
                    Method (DCRS, 2, NotSerialized)
                    {
                        If (LEqual (Arg0, Zero))
                        {
                            ENFG (0x0C)
                            Store (CR6A, Local0)
                            Store (Local0, IOLO)
                            Store (CR6B, Local0)
                            Store (Local0, IOHI)
                            Store (IOLO, IORL)
                            Store (IOHI, IORH)
                            Store (0x08, LNA1)
                            Store (GIRQ (Arg0), IRQL)
                            EXFG ()
                            Return (CRS1)
                        }

                        Return (CRS1)
                    }

but the _SRS, parse/execution the resoure exceeds the CSR1 buffer,
                    Method (DSRS, 2, NotSerialized)
                    {
                        CreateByteField (Arg0, 0x02, IOLO)
                        CreateByteField (Arg0, 0x03, IOHI)
                        CreateWordField (Arg0, 0x09, IRQL)
                        CreateByteField (Arg0, 0x11, DRQL)
                        CreateByteField (Arg0, 0x14, DMAC)
                        If (LEqual (Arg1, Zero))
                        {
                            ENFG (0x0C)
                            STIO (0x6A, IOLO, IOHI, Zero)
                            SIRQ (Arg1, IRQL)
                            EXFG ()
                            DCNT (Arg1, One)
                        }
                    }
The errors above seem to cause from a buggy firmware, and need to be checked.
It might impact the UART devices, but driver might take care the UART functions.

These failures should not impact the S3 function.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1335026

Title:
  [Dell OptiPlex 3011] Sometimes system won't be able to run suspend
  stress test

Status in HWE Next Project:
  New
Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  CID: 201302-12682 Dell OptiPlex 3011

  Sometimes this system cannot be suspended for multiple times with
  sudo fwts -P s3 --s3-multiple=5 --s3-device-check --s3-device-check-delay 45
  (The first suspend cycle probably would success)

  Error could be found in the log file:
  S3 cycle 1 of 5 
  pm-suspend returned 128 after 20 seconds.
  FAILED [MEDIUM] ShortSuspend: Test 1, Unexpected: S3 slept for 20 seconds, less
  than the expected 30 seconds.
  FAILED [HIGH] PMActionPowerStateS3: Test 1, pm-action tried to put the machine
  in the requested power state but failed.

  When this happened, even suspend with the system menu would fail.

  I do have it successfully suspend for 5 times once.

  Steps:
  1. Install 14.04, boot to desktop
  2. Try to suspend this system for multiple times with the command above
  3. Reboot and re-test it.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-24-generic 3.13.0-24.46 [modified: boot/vmlinuz-3.13.0-24-generic]
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ubuntu     1339 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Jun 24 02:25:16 2014
  HibernationDevice: RESUME=UUID=1877e238-0ac4-41ae-8f13-91e1e3636b73
  InstallationDate: Installed on 2014-06-19 (4 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  MachineType: Dell Inc. OptiPlex 3011 AIO
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=d6534767-b55e-4ec0-b18e-cb1151963470 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   linux-firmware                             1.127
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/22/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: X19
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 13
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrX19:bd02/22/2013:svnDellInc.:pnOptiPlex3011AIO:pvr01:rvnDellInc.:rn:rvr:cvnDellInc.:ct13:cvr:
  dmi.product.name: OptiPlex 3011 AIO
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1335026/+subscriptions


References