[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUXtkC5pikb274ZOq_RTnorQum4R8XJT6+oXhS4F+b0OKQ@mail.gmail.com>
Date: Mon, 27 Jun 2016 08:51:45 +0200
From: Sedat Dilek <sedat.dilek@...il.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Len Brown <lenb@...nel.org>,
Robert Moore <robert.moore@...el.com>,
Lv Zheng <lv.zheng@...el.com>
Cc: Linux ACPI <linux-acpi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [v4.7-rc5] acpi: lockdep chain_key collision (acpi_battery_get_state|acpi_ec_transaction)
Hi.
I am seeing the below "lockdep chain_key collision" with Linux v4.7-rc5.
Please have a look.
>From my linux-config...
$ grep LOCKDEP /boot/config-4.7.0-rc5-1-iniza-small
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_LOCKDEP=y
CONFIG_DEBUG_LOCKDEP=y
If you need additional information please let me know.
Full linux-config and dmesg-output are attached.
Regards,
- Sedat -
P.S.: Excerpts from my dmesg-output
[ 13.650447] ------------[ cut here ]------------
[ 13.650463] WARNING: CPU: 3 PID: 671 at
kernel/locking/lockdep.c:2099 __lock_acquire+0xe03/0x1ab0
[ 13.650473] DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)
[ 13.650477] Modules linked in: video wmi intel_rst mac_hid lpc_ich
acpi_cpufreq lp parport binfmt_misc hid_generic usbhid hid r8169 mii
[ 13.650505] CPU: 3 PID: 671 Comm: udevd Not tainted
4.7.0-rc5-1-iniza-small #1
[ 13.650514] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 13.650524] 0000000000000000 ffff8800cc37b550 ffffffff81415d95
ffff8800cc37b5a0
[ 13.650535] 0000000000000000 ffff8800cc37b590 ffffffff810837d1
00000833d4349a50
[ 13.650546] ffff8800d4349140 0000000000000000 0000000000000000
46323d0e145daa7a
[ 13.650557] Call Trace:
[ 13.650566] [<ffffffff81415d95>] dump_stack+0x85/0xc0
[ 13.650575] [<ffffffff810837d1>] __warn+0xd1/0xf0
[ 13.650587] [<ffffffff8108383f>] warn_slowpath_fmt+0x4f/0x60
[ 13.650599] [<ffffffff810deb73>] __lock_acquire+0xe03/0x1ab0
[ 13.650611] [<ffffffff810dd7a9>] ? mark_held_locks+0x69/0x90
[ 13.650623] [<ffffffff818267cb>] ? mutex_lock_nested+0x25b/0x3c0
[ 13.650634] [<ffffffff810dff09>] lock_acquire+0x119/0x220
[ 13.650647] [<ffffffff814b6eae>] ? acpi_ec_transaction+0x92/0x234
[ 13.650655] [<ffffffff8182a900>] _raw_spin_lock_irqsave+0x50/0x70
[ 13.650662] [<ffffffff814b6eae>] ? acpi_ec_transaction+0x92/0x234
[ 13.650670] [<ffffffff814b6eae>] acpi_ec_transaction+0x92/0x234
[ 13.650677] [<ffffffff814b709d>] acpi_ec_read+0x4d/0x59
[ 13.650684] [<ffffffff814b71fb>] acpi_ec_space_handler+0xc3/0x177
[ 13.650691] [<ffffffff810d97c2>] ? up+0x32/0x50
[ 13.650698] [<ffffffff814b7138>] ? ec_transaction+0x55/0x55
[ 13.650705] [<ffffffff814b7138>] ? ec_transaction+0x55/0x55
[ 13.650713] [<ffffffff814c36cf>] acpi_ev_address_space_dispatch+0x1ef/0x23c
[ 13.650721] [<ffffffff814c734e>] acpi_ex_access_region+0x1e7/0x277
[ 13.650728] [<ffffffff8182a2b6>] ? _raw_spin_unlock_irqrestore+0x36/0x60
[ 13.650735] [<ffffffff814c76d5>] acpi_ex_field_datum_io+0xf9/0x174
[ 13.650742] [<ffffffff814c78b3>] acpi_ex_extract_from_field+0x8d/0x206
[ 13.650749] [<ffffffff814c2e72>] ? acpi_ev_acquire_global_lock+0xd6/0xdc
[ 13.650756] [<ffffffff814c6edb>] acpi_ex_read_data_from_field+0x15c/0x18b
[ 13.650765] [<ffffffff814ca28c>] acpi_ex_resolve_node_to_value+0x190/0x21c
[ 13.650778] [<ffffffff814ca50e>] acpi_ex_resolve_to_value+0x1f6/0x1fd
[ 13.650790] [<ffffffff814c00ca>] acpi_ds_evaluate_name_path+0x7d/0xf7
[ 13.650802] [<ffffffff814c0473>] acpi_ds_exec_end_op+0x94/0x3f1
[ 13.650811] [<ffffffff814d2a25>] acpi_ps_parse_loop+0x519/0x56c
[ 13.650819] [<ffffffff814d34fb>] acpi_ps_parse_aml+0x98/0x271
[ 13.650825] [<ffffffff814d3d65>] acpi_ps_execute_method+0x14f/0x18a
[ 13.650833] [<ffffffff814ce3f2>] acpi_ns_evaluate+0x1c6/0x253
[ 13.650840] [<ffffffff814d0f85>] acpi_evaluate_object+0x13a/0x236
[ 13.650848] [<ffffffff814e1df7>] acpi_battery_get_state+0x6d/0x1a0
[ 13.650856] [<ffffffff814e2006>] acpi_battery_get_property+0x35/0x305
[ 13.650864] [<ffffffff81693729>] power_supply_get_property+0x19/0x30
[ 13.650871] [<ffffffff81694457>] power_supply_show_property+0x57/0x1a0
[ 13.650879] [<ffffffff81694692>] power_supply_uevent+0xb2/0x1d0
[ 13.650887] [<ffffffff8156f7ef>] dev_uevent+0xaf/0x1c0
[ 13.650894] [<ffffffff8156e5a6>] uevent_show+0x96/0x100
[ 13.650901] [<ffffffff8156da70>] dev_attr_show+0x20/0x50
[ 13.650909] [<ffffffff812c17f1>] ? sysfs_file_ops+0x41/0x60
[ 13.650916] [<ffffffff812c1b22>] sysfs_kf_seq_show+0xb2/0x100
[ 13.650923] [<ffffffff812c0146>] kernfs_seq_show+0x26/0x30
[ 13.650930] [<ffffffff81260d19>] seq_read+0xe9/0x3c0
[ 13.650937] [<ffffffff812c0b19>] kernfs_fop_read+0x129/0x1b0
[ 13.650945] [<ffffffff812361e8>] __vfs_read+0x28/0x110
[ 13.650953] [<ffffffff81377133>] ? security_file_permission+0xa3/0xc0
[ 13.650960] [<ffffffff812368ae>] ? rw_verify_area+0x4e/0xb0
[ 13.650967] [<ffffffff812369a5>] vfs_read+0x95/0x140
[ 13.650977] [<ffffffff81237dd9>] SyS_read+0x49/0xa0
[ 13.650989] [<ffffffff8182aa80>] entry_SYSCALL_64_fastpath+0x23/0xc1
[ 13.651001] ---[ end trace 3ff904fe9043118c ]---
[ 13.651008]
[ 13.651012] ======================
[ 13.651016] [chain_key collision ]
[ 13.651021] 4.7.0-rc5-1-iniza-small #1 Tainted: G W
[ 13.651027] ----------------------
[ 13.651032] udevd/671: Hash chain already cached but the contents
don't match!
[ 13.651041] Held locks:depth: 6
[ 13.651046] class_idx:1099 -> chain_key:000000000000044b
(&p->lock){+.+.+.}, at: [<ffffffff81260c6d>] seq_read+0x3d/0x3c0
[ 13.651062] class_idx:1123 -> chain_key:0000000000896463
(&of->mutex){+.+.+.}, at: [<ffffffff812c081f>]
kernfs_seq_start+0x2f/0x90
[ 13.651077] class_idx:1146 -> chain_key:000000112c8c647a
(s_active#8){.+.+.+}, at: [<ffffffff812c0827>]
kernfs_seq_start+0x37/0x90
[ 13.651092] class_idx:901 -> chain_key:000225918c8f4385
(&battery->lock){+.+.+.}, at: [<ffffffff814e1dda>]
acpi_battery_get_state+0x50/0x1a0
[ 13.651107] class_idx:749 -> chain_key:44b23191e870a2ed
(&ec->mutex){+.+...}, at: [<ffffffff814b6e99>] +0x7d/0x234
[ 13.651122] class_idx:748 -> chain_key:46323d0e145daa7a
(&(&ec->lock)->rlock){-.-...}, at: [<ffffffff814b6eae>]
acpi_ec_transaction+0x92/0x234
[ 13.651137] Locks in cached chain:depth: 6
[ 13.651142] class_idx:1144 -> chain_key:0000000000000478
(sb_writers#6){.+.+.+}
[ 13.651153] class_idx:1123 -> chain_key:00000000008f0463
(&of->mutex){+.+.+.}
[ 13.651164] class_idx:1146 -> chain_key:00000011e08c647a
(s_active#8){.+.+.+}
[ 13.651175] class_idx:901 -> chain_key:00023c118c8f4385
(&battery->lock){+.+.+.}
[ 13.651185] class_idx:749 -> chain_key:47823191e870a2ed (&ec->mutex){+.+...}
[ 13.651193] class_idx:650 -> chain_key:46323d0e145daa7a (((&timer))){+.-.-.}
[ 13.651202]
[ 13.651202] stack backtrace:
[ 13.651210] CPU: 3 PID: 671 Comm: udevd Tainted: G W
4.7.0-rc5-1-iniza-small #1
[ 13.651219] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
[ 13.651229] 0000000000000000 ffff8800cc37b5a8 ffffffff81415d95
0000000000000006
[ 13.651240] ffffffff8214fe60 ffff8800cc37b5f0 ffffffff811aadb0
00000004cc37b5c0
[ 13.651250] ffff8800d4349a50 ffff8800d4349140 0000000000000000
0000000000000000
[ 13.651261] Call Trace:
[ 13.651267] [<ffffffff81415d95>] dump_stack+0x85/0xc0
[ 13.651274] [<ffffffff811aadb0>] print_collision+0x221/0x22e
[ 13.651281] [<ffffffff810deb88>] __lock_acquire+0xe18/0x1ab0
[ 13.651289] [<ffffffff810dd7a9>] ? mark_held_locks+0x69/0x90
[ 13.651296] [<ffffffff818267cb>] ? mutex_lock_nested+0x25b/0x3c0
[ 13.651303] [<ffffffff810dff09>] lock_acquire+0x119/0x220
[ 13.651310] [<ffffffff814b6eae>] ? acpi_ec_transaction+0x92/0x234
[ 13.651317] [<ffffffff8182a900>] _raw_spin_lock_irqsave+0x50/0x70
[ 13.651324] [<ffffffff814b6eae>] ? acpi_ec_transaction+0x92/0x234
[ 13.651332] [<ffffffff814b6eae>] acpi_ec_transaction+0x92/0x234
[ 13.651339] [<ffffffff814b709d>] acpi_ec_read+0x4d/0x59
[ 13.651346] [<ffffffff814b71fb>] acpi_ec_space_handler+0xc3/0x177
[ 13.651353] [<ffffffff810d97c2>] ? up+0x32/0x50
[ 13.651359] [<ffffffff814b7138>] ? ec_transaction+0x55/0x55
[ 13.651366] [<ffffffff814b7138>] ? ec_transaction+0x55/0x55
[ 13.651374] [<ffffffff814c36cf>] acpi_ev_address_space_dispatch+0x1ef/0x23c
[ 13.651381] [<ffffffff814c734e>] acpi_ex_access_region+0x1e7/0x277
[ 13.651388] [<ffffffff8182a2b6>] ? _raw_spin_unlock_irqrestore+0x36/0x60
[ 13.651395] [<ffffffff814c76d5>] acpi_ex_field_datum_io+0xf9/0x174
[ 13.651402] [<ffffffff814c78b3>] acpi_ex_extract_from_field+0x8d/0x206
[ 13.651409] [<ffffffff814c2e72>] ? acpi_ev_acquire_global_lock+0xd6/0xdc
[ 13.651416] [<ffffffff814c6edb>] acpi_ex_read_data_from_field+0x15c/0x18b
[ 13.651423] [<ffffffff814ca28c>] acpi_ex_resolve_node_to_value+0x190/0x21c
[ 13.651431] [<ffffffff814ca50e>] acpi_ex_resolve_to_value+0x1f6/0x1fd
[ 13.651438] [<ffffffff814c00ca>] acpi_ds_evaluate_name_path+0x7d/0xf7
[ 13.651445] [<ffffffff814c0473>] acpi_ds_exec_end_op+0x94/0x3f1
[ 13.651452] [<ffffffff814d2a25>] acpi_ps_parse_loop+0x519/0x56c
[ 13.651463] [<ffffffff814d34fb>] acpi_ps_parse_aml+0x98/0x271
[ 13.651474] [<ffffffff814d3d65>] acpi_ps_execute_method+0x14f/0x18a
[ 13.651486] [<ffffffff814ce3f2>] acpi_ns_evaluate+0x1c6/0x253
[ 13.651495] [<ffffffff814d0f85>] acpi_evaluate_object+0x13a/0x236
[ 13.651502] [<ffffffff814e1df7>] acpi_battery_get_state+0x6d/0x1a0
[ 13.651509] [<ffffffff814e2006>] acpi_battery_get_property+0x35/0x305
[ 13.651517] [<ffffffff81693729>] power_supply_get_property+0x19/0x30
[ 13.651524] [<ffffffff81694457>] power_supply_show_property+0x57/0x1a0
[ 13.651531] [<ffffffff81694692>] power_supply_uevent+0xb2/0x1d0
[ 13.651538] [<ffffffff8156f7ef>] dev_uevent+0xaf/0x1c0
[ 13.651545] [<ffffffff8156e5a6>] uevent_show+0x96/0x100
[ 13.651552] [<ffffffff8156da70>] dev_attr_show+0x20/0x50
[ 13.651559] [<ffffffff812c17f1>] ? sysfs_file_ops+0x41/0x60
[ 13.651566] [<ffffffff812c1b22>] sysfs_kf_seq_show+0xb2/0x100
[ 13.651573] [<ffffffff812c0146>] kernfs_seq_show+0x26/0x30
[ 13.651579] [<ffffffff81260d19>] seq_read+0xe9/0x3c0
[ 13.651586] [<ffffffff812c0b19>] kernfs_fop_read+0x129/0x1b0
[ 13.651593] [<ffffffff812361e8>] __vfs_read+0x28/0x110
[ 13.651600] [<ffffffff81377133>] ? security_file_permission+0xa3/0xc0
[ 13.651608] [<ffffffff812368ae>] ? rw_verify_area+0x4e/0xb0
[ 13.651614] [<ffffffff812369a5>] vfs_read+0x95/0x140
[ 13.651621] [<ffffffff81237dd9>] SyS_read+0x49/0xa0
[ 13.651628] [<ffffffff8182aa80>] entry_SYSCALL_64_fastpath+0x23/0xc1
View attachment "dmesg_4.7.0-rc5-1-iniza-small.txt" of type "text/plain" (73768 bytes)
Download attachment "config-4.7.0-rc5-1-iniza-small" of type "application/octet-stream" (136229 bytes)
Powered by blists - more mailing lists