Bug 175471 - warn_slowpath triggered by iwl_mvm_mac_ctxt_add after toggling rfkill switch
Summary: warn_slowpath triggered by iwl_mvm_mac_ctxt_add after toggling rfkill switch
Status: CLOSED DUPLICATE of bug 176891
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: DO NOT USE - assign "network-wireless-intel" component instead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-03 08:17 UTC by Clemens Eisserer
Modified: 2016-11-29 08:33 UTC (History)
1 user (show)

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


Attachments

Description Clemens Eisserer 2016-10-03 08:17:40 UTC
downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1380939

With the current kernel, I frequently get the following warnings whentoggling the rfkill switch (not 100% reproduceable):


[13238.180713] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[13238.277580] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.277620] iwlwifi 0000:02:00.0: Error sending TXPATH_FLUSH: enqueue_hcmd
failed: -5
[13238.277625] iwlwifi 0000:02:00.0: Failed to send flush command (-5)
[13238.374285] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.374314] iwlwifi 0000:02:00.0: Error sending REMOVE_STA: enqueue_hcmd
failed: -5
[13238.374317] iwlwifi 0000:02:00.0: Failed to remove station. Id=2
[13238.374319] iwlwifi 0000:02:00.0: Failed sending remove station
[13238.471660] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.471686] iwlwifi 0000:02:00.0: Error sending BINDING_CONTEXT_CMD:
enqueue_hcmd failed: -5
[13238.471691] iwlwifi 0000:02:00.0: Failed to send binding (action:3): -5
[13238.567162] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.567180] iwlwifi 0000:02:00.0: Error sending MAC_PM_POWER_TABLE:
enqueue_hcmd failed: -5
[13238.644409] atkbd serio0: Unknown key pressed (translated set 2, code 0x88
on isa0060/serio0).
[13238.644411] atkbd serio0: Use 'setkeycodes e008 <keycode>' to make it known.
[13238.665765] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.665788] iwlwifi 0000:02:00.0: Error sending MAC_CONTEXT_CMD:
enqueue_hcmd failed: -5
[13238.665790] iwlwifi 0000:02:00.0: Failed to remove MAC context: -5
[13238.762587] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.762596] iwlwifi 0000:02:00.0: Error sending SCD_QUEUE_CFG: enqueue_hcmd
failed: -5
[13238.762599] iwlwifi 0000:02:00.0: Failed to disable queue 8 (ret=-5)
[13238.857181] iwlwifi 0000:02:00.0: Failed to wake NIC for hcmd
[13238.857211] iwlwifi 0000:02:00.0: Error sending TXPATH_FLUSH: enqueue_hcmd
failed: -5
[13238.857215] iwlwifi 0000:02:00.0: Failed to send flush command (-5)
[13238.860574] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[13238.860908] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[13238.939502] usb 1-1.3: new full-speed USB device number 5 using ehci-pci
[13239.026502] usb 1-1.3: New USB device found, idVendor=8087, idProduct=07dc
[13239.026505] usb 1-1.3: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[13239.039762] Bluetooth: hci0: read Intel version: 370710018002030d00
[13239.039791] Bluetooth: hci0: Intel Bluetooth firmware file:
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[13239.078638] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[13239.078968] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[13239.094585] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[13239.094962] ------------[ cut here ]------------
[13239.094976] WARNING: CPU: 0 PID: 1168 at
drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:1285
iwl_mvm_mac_ctxt_add+0xa9/0xc0 [iwlmvm]
[13239.094983] Adding active MAC f8:16:54:e3:ad:0b/10
[13239.094985] Modules linked in: ccm rfcomm cmac bnep arc4 uvcvideo btusb
btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth
videobuf2_core videodev qcserial media usb_wwan intel_rapl x86_pkg_temp_thermal
intel_powerclamp coretemp pn544_mei kvm_intel iwlmvm mei_phy pn544 ppdev hci
mac80211 kvm nfc dell_wmi sparse_keymap dell_laptop dell_smbios iTCO_wdt dcdbas
irqbypass mei_wdt iTCO_vendor_support intel_cstate dell_smm_hwmon intel_uncore
intel_rapl_perf iwlwifi snd_soc_rt5640 snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec_hdmi cfg80211 joydev snd_hda_intel
snd_hda_codec snd_hda_core snd_soc_rl6231 snd_soc_core snd_hwdep wmi parport_pc
snd_seq snd_compress parport snd_soc_sst_acpi snd_pcm_dmaengine snd_seq_device
elan_i2c ac97_bus snd_soc_sst_match dell_rbtn snd_pcm
[13239.095026]  i2c_designware_platform spi_pxa2xx_platform i2c_designware_core
mei_me rfkill i2c_i801 snd_timer mei snd lpc_ich shpchp tpm_tis soundcore tpm
nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc btrfs xor raid6_pq
dm_crypt cdc_mbim cdc_wdm cdc_ncm usbnet mii i915 crct10dif_pclmul crc32_pclmul
crc32c_intel i2c_algo_bit ghash_clmulni_intel drm_kms_helper e1000e drm
serio_raw sdhci_pci ptp sdhci_acpi pps_core sdhci mmc_core video i2c_hid fjes
[13239.095053] CPU: 0 PID: 1168 Comm: wpa_supplicant Not tainted
4.7.5-200.fc24.x86_64 #1
[13239.095054] Hardware name: Dell Inc. Latitude E7240/05PTPV, BIOS A15
05/19/2015
[13239.095056]  0000000000000286 0000000073639b60 ffff8800ce04b920
ffffffffb13daaaf
[13239.095059]  ffff8800ce04b970 0000000000000000 ffff8800ce04b960
ffffffffb10a0b0b
[13239.095062]  0000050500000000 ffff88020d86cb90 ffff88020e0bd568
ffff88020e0bd560
[13239.095065] Call Trace:
[13239.095071]  [<ffffffffb13daaaf>] dump_stack+0x63/0x84
[13239.095075]  [<ffffffffb10a0b0b>] __warn+0xcb/0xf0
[13239.095079]  [<ffffffffb10a0b8f>] warn_slowpath_fmt+0x5f/0x80
[13239.095087]  [<ffffffffc0c09039>] iwl_mvm_mac_ctxt_add+0xa9/0xc0 [iwlmvm]
[13239.095093]  [<ffffffffc0c023e6>] iwl_mvm_mac_add_interface+0xe6/0x250
[iwlmvm]
[13239.095109]  [<ffffffffc0b508ce>] drv_add_interface+0x4e/0x140 [mac80211]
[13239.095124]  [<ffffffffc0b65905>] ieee80211_do_open+0x435/0x950 [mac80211]
[13239.095138]  [<ffffffffc0b6b649>] ieee80211_start_p2p_device+0x59/0x70
[mac80211]
[13239.095155]  [<ffffffffc0935a76>] nl80211_start_p2p_device+0x76/0x120
[cfg80211]
[13239.095160]  [<ffffffffb1706f5b>] genl_family_rcv_msg+0x1db/0x3c0
[13239.095163]  [<ffffffffb170372e>] ? __netlink_sendskb+0x3e/0x60
[13239.095165]  [<ffffffffb1707140>] ? genl_family_rcv_msg+0x3c0/0x3c0
[13239.095168]  [<ffffffffb17071c7>] genl_rcv_msg+0x87/0xc0
[13239.095170]  [<ffffffffb17066c4>] netlink_rcv_skb+0xa4/0xc0
[13239.095172]  [<ffffffffb1706d68>] genl_rcv+0x28/0x40
[13239.095174]  [<ffffffffb17060aa>] netlink_unicast+0x19a/0x230
[13239.095177]  [<ffffffffb1706437>] netlink_sendmsg+0x2f7/0x3b0
[13239.095181]  [<ffffffffb16afa88>] sock_sendmsg+0x38/0x50
[13239.095183]  [<ffffffffb16b053e>] ___sys_sendmsg+0x28e/0x2a0
[13239.095187]  [<ffffffffb16afa88>] ? sock_sendmsg+0x38/0x50
[13239.095189]  [<ffffffffb16b0071>] ? SYSC_sendto+0x101/0x190
[13239.095192]  [<ffffffffb16b0e94>] __sys_sendmsg+0x54/0x90
[13239.095194]  [<ffffffffb16b0ee2>] SyS_sendmsg+0x12/0x20
[13239.095197]  [<ffffffffb17ec572>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[13239.095199] ---[ end trace eb22e2d9aa30952f ]---
Comment 1 Luca Coelho 2016-11-29 08:32:45 UTC

*** This bug has been marked as a duplicate of bug 176891 ***

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