HP ENVY 4 Sleekbook - Errors detected when running FWTS sleep tests

Bug #1143312 reported by Jeff Lane 
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Alex Hung

Bug Description

Encountered several HIGH errors via fwts while running suspend and hibernate tests on the HP Envy 4 Sleekbook system.

The systems all suspended and resumed normally, these were kernel warnings that appeared in syslog. I've attached the logs to this bug, but here is the single-suspend log:

Test 1 of 1: S3 suspend/resume test.
Defaulted to 1 test, use --s3-multiple=N to run more S3 cycles
S3 cycle 1 of 1
pm-suspend returned 0 after 34 seconds.
FAILED [HIGH] KlogACPIErrorNoHandlerFor: Test 1, HIGH Kernel message: [ 3977.475196] ACPI Error: No
handler for Region [RCM0] (ffff88013bf63798) [SystemCMOS] (20120320/evregion-376)

ADVICE: This is a bug picked up by the kernel, but as yet, the firmware test suite has no diagnostic
advice for this particular problem.

FAILED [HIGH] KlogACPIErrorRegionHas: Test 1, HIGH Kernel message: [ 3977.475199] ACPI Error: Region
SystemCMOS (ID=5) has no handler (20120320/exfldio-306)

ADVICE: This is a bug picked up by the kernel, but as yet, the firmware test suite has no diagnostic
advice for this particular problem.

FAILED [HIGH] KlogACPIErrorMethodExecutionParse: Test 1, HIGH Kernel message: [ 3977.475201] ACPI
Error: Method parse/execution failed [\_SB_.WMID.ESDT] (Node ffff88013bf3dcd0), AE_NOT_EXIST
(20120320/psparse-536)

ADVICE: This is a bug picked up by the kernel, but as yet, the firmware test suite has no diagnostic
advice for this particular problem.

FAILED [HIGH] KlogACPIErrorMethodExecutionParse: Test 1, HIGH Kernel message: [ 3977.475205] ACPI
Error: Method parse/execution failed [\_PTS] (Node ffff88013bf3e9d8), AE_NOT_EXIST (20120320
/psparse-536)

ADVICE: This is a bug picked up by the kernel, but as yet, the firmware test suite has no diagnostic
advice for this particular problem.

Completed 1 S3 cycle(s)
Found 4 errors in kernel log.
PASSED: Test 1, No PM related suspend issues detected.
PASSED: Test 1, No device errors detected.
PASSED: Test 1, No kernel oopses detected.
Found 4 errors and 0 oopses doing 1 suspend/resume cycle(s).
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ubuntu 1508 F.... pulseaudio
CRDA:
 country TW:
  (2402 - 2472 @ 40), (3, 27)
  (5270 - 5330 @ 40), (3, 17), DFS
  (5735 - 5815 @ 40), (3, 30)
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0x50710000 irq 47'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:111d76e0,103c1894,00100102 HDA:80862806,80860101,00100000'
   Controls : 24
   Simple ctrls : 11
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=8ef0d03c-328d-429a-93b6-1233c368a702
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MachineType: Hewlett-Packard HP Pavilion dm4 Notebook PC
MarkForUpload: True
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-23-generic root=UUID=c6c9d501-0951-4f48-8f0b-b90067f43d2e ro quiet splash initcall_debug vt.handoff=7
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-23-generic N/A
 linux-backports-modules-3.5.0-23-generic N/A
 linux-firmware 1.79.1
Tags: precise running-unity
Uname: Linux 3.5.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 10/31/2012
dmi.bios.vendor: Insyde
dmi.bios.version: B.38
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 1894
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 72.66
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrB.38:bd10/31/2012:svnHewlett-Packard:pnHPPaviliondm4NotebookPC:pvr0888100000250E10000020000:rvnHewlett-Packard:rn1894:rvr72.66:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion dm4 Notebook PC
dmi.product.version: 0888100000250E10000020000
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Jeff Lane  (bladernr) wrote :
Revision history for this message
Jeff Lane  (bladernr) wrote :
Jeff Lane  (bladernr)
affects: fwts → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → Firmware Test Suite Bug Team (firmware-bug-team)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1143312

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Colin Ian King (colin-king) wrote :

Please run:

sudo acpidump > acpidump.log

and attach the log to the bug - thanks

Some diagnosis:

1) FAILED [HIGH] KlogACPIErrorNoHandlerFor: Test 1, HIGH Kernel message: [ 3977.475196] ACPI Error: No
handler for Region [RCM0] (ffff88013bf63798) [SystemCMOS] (20120320/evregion-376)
2) FAILED [HIGH] KlogACPIErrorRegionHas: Test 1, HIGH Kernel message: [ 3977.475199] ACPI Error: Region
SystemCMOS (ID=5) has no handler (20120320/exfldio-306)

The kernel doesn't have a CMOS region handler, hence this error message, I think we can ignore these for now.

3) FAILED [HIGH] KlogACPIErrorMethodExecutionParse: Test 1, HIGH Kernel message: [ 3977.475201] ACPI
Error: Method parse/execution failed [\_SB_.WMID.ESDT] (Node ffff88013bf3dcd0), AE_NOT_EXIST
(20120320/psparse-536)

This needs examining deeper, hence the request for a dump of the ACPI tables.

4) FAILED [HIGH] KlogACPIErrorMethodExecutionParse: Test 1, HIGH Kernel message: [ 3977.475205] ACPI
Error: Method parse/execution failed [\_PTS] (Node ffff88013bf3e9d8), AE_NOT_EXIST (20120320
/psparse-536)

The _PTS (Prepare to suspend) control is called before we suspend, the kernel is grumbling that it is not implemented. Section 16.1 of the ACPI spec states:

"The _PTS control method provides the BIOS a mechanism for performing some housekeeping, such
as writing the sleep type value to the embedded controller, before entering the system sleeping state."

..so it seems that it is not necessarily manditory to have this control implemented since the BIOS does not seem to need it in this case. I will update fwts to detect this and make this into a warning rather than an error.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → In Progress
status: In Progress → Incomplete
Jeff Lane  (bladernr)
tags: added: blocks-hwcert blocks-hwcert-enablement
tags: added: 201209-11790 taipei-lab
Changed in linux (Ubuntu):
assignee: Firmware Test Suite Bug Team (firmware-bug-team) → Alex Hung (alexhung)
Revision history for this message
Jeff Lane  (bladernr) wrote :

acpidump output

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jeff Lane  (bladernr) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise running-unity
description: updated
Revision history for this message
Jeff Lane  (bladernr) wrote : AlsaDevices.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : AplayDevices.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : BootDmesg.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : IwConfig.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : Lspci.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : Lsusb.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : PciMultimedia.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : ProcModules.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : PulseList.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : RfKill.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : UdevDb.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : UdevLog.txt

apport information

Revision history for this message
Jeff Lane  (bladernr) wrote : WifiSyslog.txt

apport information

Revision history for this message
Alex Hung (alexhung) wrote :

Some additional information to #5:

1) FAILED [HIGH] KlogACPIErrorNoHandlerFor: Test 1, HIGH Kernel message: [ 3977.475196] ACPI Error: No
handler for Region [RCM0] (ffff88013bf63798) [SystemCMOS] (20120320/evregion-376)
2) FAILED [HIGH] KlogACPIErrorRegionHas: Test 1, HIGH Kernel message: [ 3977.475199] ACPI Error: Region
SystemCMOS (ID=5) has no handler (20120320/exfldio-306)
3) FAILED [HIGH] KlogACPIErrorMethodExecutionParse: Test 1, HIGH Kernel message: [ 3977.475201] ACPI
Error: Method parse/execution failed [\_SB_.WMID.ESDT] (Node ffff88013bf3dcd0), AE_NOT_EXIST
(20120320/psparse-536)
4) FAILED [HIGH] KlogACPIErrorMethodExecutionParse: Test 1, HIGH Kernel message: [ 3977.475205] ACPI
Error: Method parse/execution failed [\_PTS] (Node ffff88013bf3e9d8), AE_NOT_EXIST (20120320
/psparse-536)

The above errors are actually one error as a result of calling chain: _PTS->ESDT->RCM0, and it fails when accessing RCM0 as RTC CMOS registers aren't currently supported in Linux kernel.

Fortunately, \_SB_.WMID.ESDT is the last function in _PTS and BIOS has completed everything it tends. No or few impacts are generated by the absence of RTC CMOS handling.

Revision history for this message
Alex Hung (alexhung) wrote :

A patch was sent to include the CMOS handler (https://patchwork.kernel.org/patch/2052901/), but is not yet accepted.

Changed in linux (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Alex Hung (alexhung) wrote :

Finally upstream has a patch! This shall be included in kernel 3.11. It may be a good idea to SRU it after a while when nobody in upstream complains about it.

commit 2fa97feb4406c546b52e35b6b6c50cb8f63425d2
Author: Lan Tianyu <email address hidden>
Date: Wed Jun 5 02:27:50 2013 +0000

    ACPI: Add CMOS RTC Operation Region handler support

    On HP Folio 13-2000, the BIOS defines a CMOS RTC Operation Region and
    the EC's _REG methord accesses that region. Thus an appropriate
    address space handler must be registered for that region before the
    EC driver is loaded.

    Introduce a mechanism for adding CMOS RTC address space handlers.
    Register an ACPI scan handler for CMOS RTC devices such that, when
    a device of that kind is detected during an ACPI namespace scan, a
    common CMOS RTC operation region address space handler will be
    installed for it.

    References: https://bugzilla.kernel.org/show_bug.cgi?id=54621
    Reported-and-tested-by: Stefan Nagy <email address hidden>
    Signed-off-by: Lan Tianyu <email address hidden>
    Cc: 3.9+ <email address hidden>
    Signed-off-by: Rafael J. Wysocki <email address hidden>

Revision history for this message
Alex Hung (alexhung) wrote :

The patch will be backported to 3.9+ kernel and will be included in ubuntu 13.10

Revision history for this message
Darren Lichty (delichty) wrote :

I am also running into this same bug on an HP Envy 6 Sleekbook. I am currently running 12.04LTS.

When will this patch be available on 12.04LTS?

Thank you!

Revision history for this message
Darren Lichty (delichty) wrote :

I was mistaken, I am running 12.10.

Will this patch be back-ported to 12.10?

Taihsiang Ho (tai271828)
tags: added: 201210-11859
Changed in linux (Ubuntu):
status: In Progress → Fix Released
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.