[Dell Optiplex 9020] High kernel failures in suspend / hibernate log.

Bug #1232975 reported by Po-Hsu Lin
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-lts-raring (Ubuntu)
Won't Fix
Medium
Ivan Hu

Bug Description

CID: 201302-12678 Dell Optiplex 9020

There many HIGH kernel failure messages in the suspend / hibernate log:

suspend log:
High failures: 12
 s3: HIGH Kernel message: [322463.535600] ACPI Error: Field [PMS1] access width (1 bytes) too large for region [SWCR] (length 0) (20121018/exfldio-195)
 s3: HIGH Kernel message: [322463.535601] ACPI Error: Field [PMS1] Base+Offset+Width 2+0+1 is beyond end of region [SWCR] (length 0) (20121018/exfldio-209)
 s3: HIGH Kernel message: [322463.535605] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIOS] (Node ffff880427c4e8c0), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322463.535607] ACPI Error: Method parse/execution failed [\PTS_] (Node ffff880427c78438), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322463.535608] ACPI Error: Method parse/execution failed [\_PTS] (Node ffff880427c74960), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322464.162618] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIOW] (Node ffff880427c4e8e8), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322464.162619] ACPI Error: Method parse/execution failed [\WAK_] (Node ffff880427c78460), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322464.162621] ACPI Error: Method parse/execution failed [\_WAK] (Node ffff880427c74988), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322464.162624] ACPI Exception: AE_AML_REGION_LIMIT, While executing method \_WAK (20121018/hwesleep-82)
 s3: HIGH Kernel message: [322464.319512] ACPI Error: Field [DRQL] at 144 exceeds Buffer [NULL] size 128 (bits) (20121018/dsopcode-236)
 s3: HIGH Kernel message: [322464.319514] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIO1.DSRS] (Node ffff880427c4e7a8), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
 s3: HIGH Kernel message: [322464.319516] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.UAR1._SRS] (Node ffff880427c4eeb0), AE_AML_BUFFER_LIMIT (20121018/psparse-537)

hibernate log:
High failures: 10
 s4: HIGH Kernel message: [322397.358723] ACPI Error: Field [PMS1] access width (1 bytes) too large for region [SWCR] (length 0) (20121018/exfldio-195)
 s4: HIGH Kernel message: [322397.358724] ACPI Error: Field [PMS1] Base+Offset+Width 2+0+1 is beyond end of region [SWCR] (length 0) (20121018/exfldio-209)
 s4: HIGH Kernel message: [322397.358727] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIOW] (Node ffff880427c4e8e8), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.358729] ACPI Error: Method parse/execution failed [\WAK_] (Node ffff880427c78460), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.358731] ACPI Error: Method parse/execution failed [\_WAK] (Node ffff880427c74988), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.358734] ACPI Exception: AE_AML_REGION_LIMIT, While executing method \_WAK (20121018/hwesleep-82)
 s4: HIGH Kernel message: [322397.481202] ACPI Error: Field [DRQL] at 144 exceeds Buffer [NULL] size 128 (bits) (20121018/dsopcode-236)
 s4: HIGH Kernel message: [322397.481205] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIO1.DSRS] (Node ffff880427c4e7a8), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.481208] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.UAR1._SRS] (Node ffff880427c4eeb0), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
 s4: Failed to restore hibernate image.

Please find attachments for log files.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.8.0-29-generic 3.8.0-29.42~precise1 [modified: boot/vmlinuz-3.8.0-29-generic]
ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.8.0-29-generic.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 1: PCH [HDA Intel PCH], device 0: ALC280 Analog [ALC280 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 1662 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'MID'/'HDA Intel MID at 0xf0434000 irq 47'
   Mixer name : 'Intel Haswell HDMI'
   Components : 'HDA:80862807,80860101,00100000'
   Controls : 0
   Simple ctrls : 0
Card0.Amixer.values:

Card1.Amixer.info:
 Card hw:1 'PCH'/'HDA Intel PCH at 0xf0430000 irq 48'
   Mixer name : 'Realtek ALC280'
   Components : 'HDA:10ec0280,102805a4,00100003'
   Controls : 28
   Simple ctrls : 13
Date: Sun Sep 29 23:26:22 2013
HibernationDevice: RESUME=UUID=68a4cba3-50c5-4cab-9cc6-4e7c165bee53
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: Dell Inc. OptiPlex 9020
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-29-generic root=UUID=6c87e8c8-44cf-4027-bde0-bf31492441d1 ro quiet splash initcall_debug vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-29-generic N/A
 linux-backports-modules-3.8.0-29-generic N/A
 linux-firmware 1.79.6
RfKill:

SourcePackage: linux-lts-raring
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/09/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: X44
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrX44:bd03/09/2013:svnDellInc.:pnOptiPlex9020:pvr01:rvnDellInc.:rn:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex 9020
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
summary: - [Dell Optiplex 7020] High kernel failures in suspend / hibernate log.
+ [Dell Optiplex 9020] High kernel failures in suspend / hibernate log.
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux-lts-raring (Ubuntu):
assignee: Anthony Wong (anthonywong) → Ivan Hu (ivan.hu)
Revision history for this message
Ivan Hu (ivan.hu) wrote :

The _WAK error,
 s4: HIGH Kernel message: [322397.358723] ACPI Error: Field [PMS1] access width (1 bytes) too large for region [SWCR] (length 0) (20121018/exfldio-195)
 s4: HIGH Kernel message: [322397.358724] ACPI Error: Field [PMS1] Base+Offset+Width 2+0+1 is beyond end of region [SWCR] (length 0) (20121018/exfldio-209)
 s4: HIGH Kernel message: [322397.358727] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIOW] (Node ffff880427c4e8e8), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.358729] ACPI Error: Method parse/execution failed [\WAK_] (Node ffff880427c78460), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.358731] ACPI Error: Method parse/execution failed [\_WAK] (Node ffff880427c74988), AE_AML_REGION_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.358734] ACPI Exception: AE_AML_REGION_LIMIT, While executing method \_WAK (20121018/hwesleep-82)

This error seems to occur on
ACPI mehod,
Method (SIOW, 1, NotSerialized)
{
        ...
        Store (0xFF, ^SIO1.PMS1)
        ...
}
write value to PMS1, but
beyond end of region [SWCR] (length 0)

                    OperationRegion (SWCR, SystemIO, IO2B, IO2L)
                    Field (SWCR, ByteAcc, NoLock, Preserve)
                    {
                        PMES, 1,
                                Offset (0x01),
                        PMEN, 1,
                                Offset (0x02),
                        PMS1, 8,
                        PMS2, 8,
                        PMS3, 8,
                        PME1, 8,
                        PME2, 8,
                        PME3, 8,
                        ....
                      }

It seems the IO2L equal to 0.
because the define on,
                Device (SIO1)
                {
                    ...
                    CreateByteField (CRS2, 0x02, IO2L)
                    CreateByteField (CRS2, 0x03, IO2H)
                    ...
                }

Need to check the IO2L value on firmware.

It might impact the S3 sleep/wake, need to be checked.
Because from the ACPI table, it seems that need to store a value to SIO1.PMS1, but due to the acpi error, the value could not be set.
It might also be a false alarm, the HW actually no need to be set this value, just the buggy firmware Acpi table need to be fixed.

Revision history for this message
Ivan Hu (ivan.hu) wrote :
Download full text (3.2 KiB)

 s4: HIGH Kernel message: [322397.481202] ACPI Error: Field [DRQL] at 144 exceeds Buffer [NULL] size 128 (bits) (20121018/dsopcode-236)
 s4: HIGH Kernel message: [322397.481205] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIO1.DSRS] (Node ffff880427c4e7a8), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.481208] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.UAR1._SRS] (Node ffff880427c4eeb0), AE_AML_BUFFER_LIMIT (20121018/psparse-537)

The error,
 s4: HIGH Kernel message: [322397.481202] ACPI Error: Field [DRQL] at 144 exceeds Buffer [NULL] size 128 (bits) (20121018/dsopcode-236)
 s4: HIGH Kernel message: [322397.481205] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.SIO1.DSRS] (Node ffff880427c4e7a8), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
 s4: HIGH Kernel message: [322397.481208] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.UAR1._SRS] (Node ffff880427c4eeb0), AE_AML_BUFFER_LIMIT (20121018/psparse-537)

When s4 resume, will set the resource, first call the _CSR of the UAR1 device to check the current resource, then set the resource 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 t...

Read more...

Changed in linux-lts-raring (Ubuntu):
status: New → Confirmed
Daniel Manrique (roadmr)
Changed in linux-lts-raring (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201303-13014, with same HIGH failure messages in suspend log

tags: added: 201303-13014
Ara Pulido (ara)
tags: removed: blocks-hwcert blocks-hwcert-enablement
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201302-12680 Dell Optiplex 9020
With the same error messages

tags: added: 201302-12680
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201303-13015 Dell Optiplex XE2
With the same error messages

tags: added: 201303-13015
Revision history for this message
penalvch (penalvch) wrote :

Po-Hsu Lin, as per http://www.dell.com/support/home/us/en/04/product-support/product/optiplex-9020-desktop/drivers an update to your BIOS is available (A07). If you update to this following https://help.ubuntu.com/community/BiosUpdate does it change anything? If it doesn't, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Thank you for your understanding.

tags: added: bios-outdated-a04
Changed in linux-lts-raring (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

As per Ivan's comment on IRC:
ivanhu> PHLin, if you have new bios, you can update and test it. but I believe it won't help. you can just disable uart(com) on bios setup. the failure will disappear.

As com port is out of scope of our coverage, I will mark this bug as Won't Fix

Changed in linux-lts-raring (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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