New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 786998 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

chromeos-4.4: WARNING in iwl_mvm_send_cmd

Project Member Reported by groeck@chromium.org, Nov 20 2017

Issue description

Seen with v4.4.96-12157-g72929ca42456 on eve.

[   21.636642] ------------[ cut here ]------------
[   21.641920] WARNING: CPU: 3 PID: 1297 at /mnt/host/source/src/third_party/kernel/v4.4/drivers/net/wireless/iwl7000/iwlwifi/mvm/utils.c:99 iwl_mvm_send_cmd+0x104/0x112 [iwlmvm]
[   21.660015] Modules linked in: iio_trig_sysfs cros_ec_light_prox cros_ec_sensors cros_ec_sensors_ring cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio ip6table_filter iwlmvm iwl7000_mac80211 r8152 mii iwlwifi cfg80211 joydev
[   21.687358] CPU: 3 PID: 1297 Comm: set_wifi_transm Not tainted 4.4.96 #69
[   21.694955] Hardware name: Google Eve/Eve, BIOS Google_Eve.9584.95.0 09/27/2017
[   21.703134]  ffffffffc02e1093 fc214a8171557b0c ffff8803da917640 ffffffff8b690a5e
[   21.711458]  0000000000000000 0000000000000000 ffff8803da917680 ffffffff8b28e4c5
[   21.719757]  0000006300000009 ffff8803dc7fa408 ffff8803dc7fa408 ffff8803da9176d0
[   21.728065] Call Trace:
[   21.730891]  [<ffffffffc02e1093>] ? iwl_mvm_send_cmd+0x104/0x112 [iwlmvm]
[   21.738496]  [<ffffffff8b690a5e>] dump_stack+0x67/0x90
[   21.744254]  [<ffffffff8b28e4c5>] __warn+0x107/0x122
[   21.749814]  [<ffffffff8b28e4fd>] warn_slowpath_null+0x1d/0x1f
[   21.756402]  [<ffffffffc02e1093>] iwl_mvm_send_cmd+0x104/0x112 [iwlmvm]
[   21.763876]  [<ffffffffc02e10fa>] iwl_mvm_send_cmd_pdu+0x59/0x78 [iwlmvm]
[   21.771551]  [<ffffffffc02ca689>] iwl_mvm_sar_select_profile+0x273/0x2a2 [iwlmvm]
[   21.780003]  [<ffffffffc02ca689>] ? iwl_mvm_sar_select_profile+0x273/0x2a2 [iwlmvm]
[   21.788662]  [<ffffffffc0329ad1>] iwl_mvm_vendor_set_dynamic_txp_profile+0xee/0x13a [iwlmvm]
[   21.798255]  [<ffffffffc007be25>] nl80211_vendor_cmd+0x284/0x2ca [cfg80211]
[   21.806182]  [<ffffffffc0096794>] ? nl80211_vendor_cmd_dump+0x5d2/0x5d2 [cfg80211]
[   21.814662]  [<ffffffff8bcb1fb4>] genl_family_rcv_msg+0x483/0x51c
[   21.821494]  [<ffffffff8b2dfe80>] ? match_held_lock+0x1d/0x109
[   21.828028]  [<ffffffff8b2dfe80>] ? match_held_lock+0x1d/0x109
[   21.834568]  [<ffffffff8bcb20ab>] genl_rcv_msg+0x5e/0x82
[   21.840518]  [<ffffffff8bcb204d>] ? genl_family_rcv_msg+0x51c/0x51c
[   21.847533]  [<ffffffff8bcb0862>] netlink_rcv_skb+0x94/0xfc
[   21.853769]  [<ffffffff8b2e4e61>] ? lock_acquire+0x220/0x23f
[   21.860098]  [<ffffffff8bcb1b22>] genl_rcv+0x28/0x37
[   21.865650]  [<ffffffff8bcb1194>] netlink_sendmsg+0x803/0x8ae
[   21.872075]  [<ffffffff8bcb0991>] ? nlmsg_notify+0xc7/0xc7
[   21.878210]  [<ffffffff8bdfc6b8>] sock_sendmsg+0x6b/0x7d
[   21.884150]  [<ffffffff8bdfd47a>] ___sys_sendmsg+0x56f/0x650
[   21.890476]  [<ffffffff8b57f2bd>] ? putname+0x89/0x90
[   21.896124]  [<ffffffff8b2e528e>] ? mark_held_locks+0x30/0x87
[   21.902549]  [<ffffffff8b3c1e30>] ? __call_rcu.constprop.42+0x10ae/0x10c1
[   21.910140]  [<ffffffff8b2e5546>] ? trace_hardirqs_on_caller+0x261/0x270
[   21.917630]  [<ffffffff8b2e5562>] ? trace_hardirqs_on+0xd/0xf
[   21.924055]  [<ffffffff8b6cf5d7>] ? strncpy_from_user+0xad/0x15b
[   21.930773]  [<ffffffff8bdfde87>] __sys_sendmsg+0xa7/0xfa
[   21.936808]  [<ffffffff8bdfde87>] ? __sys_sendmsg+0xa7/0xfa
[   21.943038]  [<ffffffff8bc50e5e>] SyS_sendmsg+0x19/0x1b
[   21.948880]  [<ffffffff8be3924b>] entry_SYSCALL_64_fastpath+0x1c/0x94
[   21.956824] ---[ end trace 4e36c18f8e6dae2a ]---

 
dmesg-iwl7000
59.1 KB View Download

Comment 1 by groeck@chromium.org, Nov 20 2017

Cc: rajatja@chromium.org haim.dre...@intel.com johannes...@intel.com
The warning is triggered by a missing lock, and there is no indication that the lock is ever set in this data path.

Comment 2 by groeck@chromium.org, Nov 21 2017

Labels: Kernel-4.4

Comment 3 by rajatja@google.com, Nov 21 2017

Cc: matt.c...@intel.com

Sign in to add a comment