Bug 60822 - wmi_evaluate_method sometimes fails with AE_ALREADY_EXISTS
Summary: wmi_evaluate_method sometimes fails with AE_ALREADY_EXISTS
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-31 13:57 UTC by Peter Wu
Modified: 2013-09-02 00:56 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.11-rc7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
acpidump for Clevo B7130 (203.52 KB, text/plain)
2013-08-31 13:57 UTC, Peter Wu
Details

Description Peter Wu 2013-08-31 13:57:19 UTC
Created attachment 107374 [details]
acpidump for Clevo B7130

At very rare moments, my WMI module fails to call a WMI function. I reported this a year ago at the linux-acpi list[1], but got no replies. There is also a report for eeepc-wmi[2].

This issue breaks the WMI functionality of my the module, I need to rmmod/insmod it again for hotkeys to work.

This WMBB function is pretty large, could that have anything to do with it?

I think there is something (hardware event?) that triggers the WMBB method while my module executes it at the same time which confuses ACPI. No idea where to look for the source though.

Kernel excerpt below:

ACPI Error: [_T_1] Namespace lookup failure, AE_ALREADY_EXISTS (20130517/dswload2-330)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20130517/psobject-222)
ACPI Error: Method parse/execution failed [\_SB_.WMI_.WMBB] (Node ffff880232469988), AE_ALREADY_EXISTS (20130517/psparse-536)
clevo_wmi: Failed to execute function 0x46: AE_ALREADY_EXISTS
clevo_wmi: Unable to enable WMI notifications
bbswitch: disabling discrete graphics
ACPI Warning: \_SB_.PCI0.P0P2.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
ACPI: Marking method WMBB as Serialized because of AE_ALREADY_EXISTS error


 [1]: http://www.spinics.net/lists/linux-acpi/msg39886.html
 [2]: http://www.spinics.net/lists/linux-acpi/msg31769.html
Comment 1 Lan Tianyu 2013-09-02 00:56:30 UTC
WMI function is implemented in the platform driver. So reassign to driver platform/x86 component.

Note You need to log in before you can comment on or make changes to this bug.