kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #73067
[Bug 1338412] Re: [HP Pavilion Slimline 400] HIGH failures found in fwts klog test
This is a common error and I quote Ivan's analysis on a private bug:
=========================================================
More detail information,
This is caused by the wmi driver(hp-wmi.c) brings the input data 160bits
struct bios_args {
u32 signature;
u32 command;
u32 commandtype;
u32 datasize;
u32 data; --- 4 bytes data
};
into the the acpi method HWMC as Arg1,
Method (HWMC, 2, NotSerialized)
{
CreateDWordField (Arg1, Zero, SGIN)
CreateDWordField (Arg1, 0x04, COMD)
CreateDWordField (Arg1, 0x08, CMDT)
CreateDWordField (Arg1, 0x0C, DSZI)
CreateByteField (Arg1, 0x10, D008)
CreateByteField (Arg1, 0x11, D009)
CreateByteField (Arg1, 0x12, D010)
CreateField (Arg1, 0x80, 0x0400, D128) --- 128 bytes
.....
}
the error occurred because the mismatch between the 4bytes "data" provided, but the firmware 128 bytes "D128" used.
checking with the HP wmi spec, several wmi command type used input date 128 bytes (such as type 36h, Set Peak Shift Times, type 37h Set Battery Charging Times). But this is not used by the hp-wmi.c. It is not reasonable to CreateField for 128bytes at the method beginning, in stead, it should be createfielded while it is used.
So I suggest the firmware should move the
CreateField (Arg1, 0x80, 0x0400, D128)
into the place that D128 is used, such as the type 36h, 37h.
If (LEqual (CMDT, 0x36))
{
move to here ---- CreateField (Arg1, 0x80, 0x0400, D128)
Store (\_SB.WMID.SPST (D128), Local2)
Store (Zero, RETC)
}
If (LEqual (CMDT, 0x37))
{
move to here --- CreateField (Arg1, 0x80, 0x0400, D128)
Store (\_SB.WMID.SBCT (D128), Local2)
Store (Zero, RETC)
}
=========================================================
--
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/1338412
Title:
[HP Pavilion Slimline 400] HIGH failures found in fwts klog test
Status in “linux” package in Ubuntu:
Won't Fix
Bug description:
CID: 201305-13517 HP Pavilion Slimline 400
The following 3 HIGH kernel messages were reported by fwts in the klog test:
High failures: 3
klog: HIGH Kernel message: [ 7.814832] ACPI Error: Field [D128] at 1152 exceeds Buffer [NULL] size 160 (bits) (20131115/dsopcode-236)
klog: HIGH Kernel message: [ 7.814838] ACPI Error: Method parse/execution failed [\HWMC] (Node ffff880100b79398), AE_AML_BUFFER_LIMIT (20131115/psparse-536)
klog: HIGH Kernel message: [ 7.814845] ACPI Error: Method parse/execution failed [\_SB_.WMID.WMAA] (Node ffff880100b7a230), AE_AML_BUFFER_LIMIT (20131115/psparse-536)
These failure messages could be found in the suspend / hibernate log
as well.
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
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 1427 F.... pulseaudio
CurrentDesktop: Unity
CurrentDmesg:
[ 12.504638] init: plymouth-upstart-bridge main process ended, respawning
[ 13.957190] r8169 0000:03:00.0 eth0: link up
[ 13.957197] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Date: Sun Jul 6 22:48:59 2014
HibernationDevice: RESUME=UUID=69a4f5d8-32af-41f3-a41a-43356b1247c5
InstallationDate: Installed on 2014-07-04 (3 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed root=UUID=ca8138e8-bfcf-4a17-82dc-874ef7a3e9c4 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
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/29/2013
dmi.bios.vendor: AMI
dmi.bios.version: 00.05
dmi.board.name: 2ADA
dmi.board.vendor: Hewlett-Packard
dmi.board.version: PVT
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAMI:bvr00.05:bd03/29/2013:svnHewlett-Packard:pn:pvr:rvnHewlett-Packard:rn2ADA:rvrPVT:cvnHewlett-Packard:ct3:cvr:
dmi.sys.vendor: Hewlett-Packard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1338412/+subscriptions
References