https://bugzilla.kernel.org/show_bug.cgi?id=152141

            Bug ID: 152141
           Summary: acpi_ec_event_processor hangs indefinitely
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.6.6-040606-generic
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ACPICA-Core
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 228501
  --> https://bugzilla.kernel.org/attachment.cgi?id=228501&action=edit
Complete dmesg output

When running off battery, I'll regularly see hung processes that get reported
as being from `acpi_ec_event_processor`. These result in anything trying to
access the battery info hanging indefinitely, and once the first process hangs,
any other attempt to access battery info hangs as well. That also means no more
suspending of my laptop until after a reboot.

I'm using a mainline 4.6.6 kernel from Ubuntu (
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6.6/ ), running on a Gigabyte
P57W laptop with a i7-6700HQ (Skylake) CPU. The same has happened with kernels
before 4.6.6. I've not yet managed to get a 4.7 kernel running on this laptop.

Kernel tainting is from previously loading the nvidia-367 binary drivers (which
have since been unloaded by bumblebee). If required I'm happy to use my laptop
with the nvidia drivers removed if an untainted kernel is needed for reporting.

Sample hang message is below, but I'm happy to provide as many more details as
required. This is my first bug report to kernel.org

Full dmesg dump attached.

Many thanks!

~ Paul


```
[ 3960.907944] INFO: task kworker/0:1:74 blocked for more than 120 seconds.
[ 3960.907948]       Tainted: P        W  OE   4.6.6-040606-generic
#201608100733
[ 3960.907949] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[ 3960.907951] kworker/0:1     D ffff88046e23f9b8     0    74      2 0x00000000
[ 3960.907957] Workqueue: events acpi_ec_event_processor
[ 3960.907959]  ffff88046e23f9b8 00ff88046e23fac8 ffff88046c84de00
ffff88046e240000
[ 3960.907961]  ffff88046e240000 7fffffffffffffff ffff88046e240000
ffff88046e23fbd8
[ 3960.907963]  ffff88046eaa7b50 ffff88046e23f9d0 ffffffff81848e85
ffff880471004400
[ 3960.907965] Call Trace:
[ 3960.907969]  [<ffffffff81848e85>] schedule+0x35/0x80
[ 3960.907971]  [<ffffffff8184c042>] schedule_timeout+0x1b2/0x270
[ 3960.907974]  [<ffffffff814a880a>] ? acpi_ex_access_region+0x1ea/0x265
[ 3960.907977]  [<ffffffff8184b0bd>] __down_timeout+0x7d/0xd0
[ 3960.907979]  [<ffffffff814b1f00>] ? acpi_ns_repair_CST+0x9b/0x13f
[ 3960.907982]  [<ffffffff810ce33c>] down_timeout+0x4c/0x60
[ 3960.907984]  [<ffffffff8148d20d>] acpi_os_wait_semaphore+0x4c/0x67
[ 3960.907986]  [<ffffffff814ace53>] acpi_ex_system_wait_mutex+0x3c/0x4d
[ 3960.907988]  [<ffffffff814a43a7>] acpi_ev_acquire_global_lock+0x1e/0xdc
[ 3960.907990]  [<ffffffff814a9608>] acpi_ex_acquire_mutex_object+0x3a/0x66
[ 3960.907992]  [<ffffffff814ad1f3>] acpi_ex_acquire_global_lock+0x29/0x49
[ 3960.907994]  [<ffffffff814a838a>] acpi_ex_read_data_from_field+0x151/0x18b
[ 3960.907996]  [<ffffffff814abb79>] acpi_ex_resolve_node_to_value+0x197/0x237
[ 3960.907999]  [<ffffffff814abe15>] acpi_ex_resolve_to_value+0x1fc/0x219
[ 3960.908000]  [<ffffffff814a15ea>] acpi_ds_evaluate_name_path+0x8d/0x11b
[ 3960.908002]  [<ffffffff814a19c7>] acpi_ds_exec_end_op+0x90/0x3e6
[ 3960.908004]  [<ffffffff814b47a9>] acpi_ps_parse_loop+0x52d/0x5a3
[ 3960.908006]  [<ffffffff814bd186>] ? acpi_ut_create_generic_state+0x39/0x44
[ 3960.908008]  [<ffffffff814b52e7>] acpi_ps_parse_aml+0x98/0x26f
[ 3960.908010]  [<ffffffff814b5b46>] acpi_ps_execute_method+0x14d/0x184
[ 3960.908012]  [<ffffffff814b004b>] acpi_ns_evaluate+0x1c6/0x252
[ 3960.908014]  [<ffffffff814b2bd4>] acpi_evaluate_object+0x148/0x258
[ 3960.908016]  [<ffffffff814962be>] acpi_ec_event_processor+0x59/0x86
[ 3960.908019]  [<ffffffff8109cc2c>] process_one_work+0x1fc/0x490
[ 3960.908021]  [<ffffffff8109cf0b>] worker_thread+0x4b/0x500
[ 3960.908023]  [<ffffffff8109cec0>] ? process_one_work+0x490/0x490
[ 3960.908025]  [<ffffffff810a36f8>] kthread+0xd8/0xf0
[ 3960.908027]  [<ffffffff8184d162>] ret_from_fork+0x22/0x40
[ 3960.908029]  [<ffffffff810a3620>] ? kthread_create_on_node+0x1b0/0x1b0
```

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to