Bug 60822

Summary: wmi_evaluate_method sometimes fails with AE_ALREADY_EXISTS
Product: Drivers Reporter: Peter Wu (peter)
Component: Platform_x86Assignee: drivers_platform_x86 (drivers_platform_x86)
Status: NEW ---    
Severity: normal CC: tianyu.lan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.11-rc7 Subsystem:
Regression: No Bisected commit-id:
Attachments: acpidump for Clevo B7130

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.