Bug 1111740 - iwlwifi dies every few weeks
Summary: iwlwifi dies every few weeks
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fedora-kernel-wireless-iwl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1141505 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-20 21:38 UTC by Richard W.M. Jones
Modified: 2015-10-20 20:37 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-20 20:37:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-06-20 21:38:15 UTC
Description of problem:

[1832238.030919] ------------[ cut here ]------------
[1832238.030997] WARNING: CPU: 0 PID: 0 at net/mac80211/wpa.c:68 ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]()
[1832238.031008] Modules linked in: rfcomm loop ccm vfat fat uas usb_storage fuse ipt_MASQUERADE xt_CHECKSUM tun rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek arc4 snd_hda_codec_generic iwldvm mac80211 snd_hda_intel snd_hda_controller btusb snd_hda_codec sdhci_pci x86_pkg_temp_thermal coretemp kvm_intel snd_hwdep sdhci bluetooth snd_seq snd_seq_device
[1832238.031153]  serio_raw snd_pcm uvcvideo mmc_core videobuf2_vmalloc kvm videobuf2_memops iwlwifi thinkpad_acpi cfg80211 videobuf2_core mei_me microcode snd_timer videodev lpc_ich media mfd_core mei snd shpchp i2c_i801 wmi soundcore rfkill binfmt_misc dm_crypt crct10dif_pclmul crc32_pclmul i915 crc32c_intel ghash_clmulni_intel i2c_algo_bit drm_kms_helper e1000e drm ptp pps_core i2c_core video
[1832238.031244] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W     3.15.0-0.rc7.git2.1.fc21.x86_64 #1
[1832238.031252] Hardware name: LENOVO 2325F51/2325F51, BIOS G2ET82WW (2.02 ) 09/11/2012
[1832238.031260]  0000000000000000 0bc0244157289761 ffff88040d0037b8 ffffffff817ea4ea
[1832238.031274]  0000000000000000 ffff88040d0037f0 ffffffff81095cbd ffff88040d003930
[1832238.031286]  ffff88011a60d000 ffff880103e848e8 ffff880199af08da 00000000000005e6
[1832238.031300] Call Trace:
[1832238.031309]  <IRQ>  [<ffffffff817ea4ea>] dump_stack+0x4d/0x66
[1832238.031337]  [<ffffffff81095cbd>] warn_slowpath_common+0x7d/0xa0
[1832238.031350]  [<ffffffff81095dea>] warn_slowpath_null+0x1a/0x20
[1832238.031399]  [<ffffffffa0590759>] ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]
[1832238.031457]  [<ffffffffa05bcf3f>] invoke_tx_handlers+0x45f/0x1790 [mac80211]
[1832238.031481]  [<ffffffff810d377b>] ? get_nohz_timer_target+0x7b/0x280
[1832238.031546]  [<ffffffffa05be3e7>] ieee80211_tx+0x97/0x130 [mac80211]
[1832238.031612]  [<ffffffffa05bf61a>] ieee80211_xmit+0x9a/0xf0 [mac80211]
[1832238.031671]  [<ffffffffa05c05ae>] ieee80211_subif_start_xmit+0x9de/0x14a0 [mac80211]
[1832238.031737]  [<ffffffffa05bfc1a>] ? ieee80211_subif_start_xmit+0x4a/0x14a0 [mac80211]
[1832238.031806]  [<ffffffff8169cfe8>] ? dev_queue_xmit_nit+0x178/0x3f0
[1832238.031827]  [<ffffffff816a13fe>] dev_hard_start_xmit+0x2fe/0x900
[1832238.031851]  [<ffffffff816c8ce6>] sch_direct_xmit+0x136/0x2e0
[1832238.031874]  [<ffffffff816a1c7c>] __dev_queue_xmit+0x27c/0x9b0
[1832238.031891]  [<ffffffff816a1a05>] ? __dev_queue_xmit+0x5/0x9b0
[1832238.031904]  [<ffffffff816a23c0>] dev_queue_xmit+0x10/0x20
[1832238.031920]  [<ffffffff816ed34f>] ip_finish_output+0xc0f/0x11c0
[1832238.031941]  [<ffffffff816ef918>] ? ip_output+0x68/0x110
[1832238.031958]  [<ffffffff816ef918>] ip_output+0x68/0x110
[1832238.031975]  [<ffffffff816eecb8>] ip_local_out_sk+0x38/0xa0
[1832238.031991]  [<ffffffff816ef183>] ip_queue_xmit+0x1e3/0x630
[1832238.032004]  [<ffffffff816eefa5>] ? ip_queue_xmit+0x5/0x630
[1832238.032016]  [<ffffffff81708c82>] tcp_transmit_skb+0x4a2/0xb30
[1832238.032032]  [<ffffffff8170b0bd>] __tcp_retransmit_skb+0x14d/0x580
[1832238.032046]  [<ffffffff8170b7e9>] tcp_retransmit_skb+0x19/0x110
[1832238.032060]  [<ffffffff8170ce94>] tcp_retransmit_timer+0x2d4/0x940
[1832238.032073]  [<ffffffff8170d6c0>] ? tcp_write_timer_handler+0x1c0/0x1c0
[1832238.032085]  [<ffffffff8170d5a0>] tcp_write_timer_handler+0xa0/0x1c0
[1832238.032100]  [<ffffffff8170d73c>] tcp_write_timer+0x7c/0x80
[1832238.032117]  [<ffffffff810a6b59>] call_timer_fn+0x99/0x330
[1832238.032133]  [<ffffffff810a6ac5>] ? call_timer_fn+0x5/0x330
[1832238.032148]  [<ffffffff8170d6c0>] ? tcp_write_timer_handler+0x1c0/0x1c0
[1832238.032160]  [<ffffffff810a7014>] run_timer_softirq+0x224/0x3c0
[1832238.032180]  [<ffffffff8109cc94>] __do_softirq+0x174/0x4b0
[1832238.032201]  [<ffffffff8109d1b5>] irq_exit+0xc5/0xd0
[1832238.032221]  [<ffffffff818001e4>] smp_apic_timer_interrupt+0x44/0x50
[1832238.032236]  [<ffffffff817feb32>] apic_timer_interrupt+0x72/0x80
[1832238.032243]  <EOI>  [<ffffffff8163d98a>] ? cpuidle_enter_state+0x4a/0xc0
[1832238.032264]  [<ffffffff8163d991>] ? cpuidle_enter_state+0x51/0xc0
[1832238.032275]  [<ffffffff8163da37>] cpuidle_enter+0x17/0x20
[1832238.032286]  [<ffffffff810ef8c7>] cpu_startup_entry+0x417/0x7a0
[1832238.032298]  [<ffffffff817ed1ea>] ? __schedule+0x33a/0x9e0
[1832238.032309]  [<ffffffff817dc5d7>] rest_init+0x137/0x140
[1832238.032322]  [<ffffffff82188ee3>] start_kernel+0x485/0x4a6
[1832238.032333]  [<ffffffff82188120>] ? early_idt_handlers+0x120/0x120
[1832238.032343]  [<ffffffff821884d7>] x86_64_start_reservations+0x2a/0x2c
[1832238.032354]  [<ffffffff82188626>] x86_64_start_kernel+0x14d/0x170
[1832238.032362] ---[ end trace 5bd3e2680bfccafd ]---

Version-Release number of selected component (if applicable):

3.15.0-0.rc7.git2.1.fc21.x86_64

How reproducible:

Has happen I think 3 or 4 times, every few weeks.

Steps to Reproduce:
1. Use iwlwifi.

Additional info:

Whyohwhy does iwlwifi seemingly just get worse and worse?

Comment 1 Richard W.M. Jones 2014-07-05 15:29:24 UTC
And again with 3.16.0-0.rc3.git2.1.fc21.x86_64.

[537178.585580] ------------[ cut here ]------------
[537178.585616] WARNING: CPU: 0 PID: 0 at net/mac80211/wpa.c:68 ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]()
[537178.585622] Modules linked in: ccm vfat fat uas usb_storage fuse ipt_MASQUERADE xt_CHECKSUM tun rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep snd_hda_codec_hdmi snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal snd_hda_codec_generic coretemp kvm_intel snd_hda_intel snd_hda_controller arc4 kvm iwldvm snd_hda_codec mac80211 snd_hwdep snd_seq snd_seq_device uvcvideo snd_pcm videobuf2_vmalloc videobuf2_memops
[537178.585746]  videobuf2_core v4l2_common iwlwifi videodev mei_me sdhci_pci sdhci cfg80211 lpc_ich mmc_core media btusb mfd_core bluetooth mei thinkpad_acpi shpchp microcode snd_timer i2c_i801 serio_raw snd soundcore rfkill wmi binfmt_misc dm_crypt i915 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel i2c_algo_bit drm_kms_helper e1000e drm ptp pps_core i2c_core video
[537178.585831] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W     3.16.0-0.rc1.git3.1.fc21.x86_64 #1
[537178.585835] Hardware name: LENOVO 2325F51/2325F51, BIOS G2ET82WW (2.02 ) 09/11/2012
[537178.585839]  0000000000000000 8895270cfdd3e6ad ffff88040d0037c0 ffffffff81807530
[537178.585864]  0000000000000000 ffff88040d0037f8 ffffffff8109b3bd ffff88040d003938
[537178.585876]  ffff88038aeef400 ffff8803d86518e8 ffff8803c54660da 00000000000005e0
[537178.585888] Call Trace:
[537178.585893]  <IRQ>  [<ffffffff81807530>] dump_stack+0x4d/0x66
[537178.585911]  [<ffffffff8109b3bd>] warn_slowpath_common+0x7d/0xa0
[537178.585919]  [<ffffffff8109b4ea>] warn_slowpath_null+0x1a/0x20
[537178.585939]  [<ffffffffa057a699>] ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]
[537178.585960]  [<ffffffffa05a799f>] invoke_tx_handlers+0x45f/0x1790 [mac80211]
[537178.585969]  [<ffffffff810fcb76>] ? __lock_is_held+0x56/0x80
[537178.585977]  [<ffffffff810fcb76>] ? __lock_is_held+0x56/0x80
[537178.585997]  [<ffffffffa05a8e47>] ieee80211_tx+0x97/0x130 [mac80211]
[537178.586017]  [<ffffffffa05a92fa>] ieee80211_xmit+0x9a/0xf0 [mac80211]
[537178.586037]  [<ffffffffa05aa28e>] ieee80211_subif_start_xmit+0x9de/0x14a0 [mac80211]
[537178.586057]  [<ffffffffa05a98fa>] ? ieee80211_subif_start_xmit+0x4a/0x14a0 [mac80211]
[537178.586072]  [<ffffffff816b9a98>] ? dev_queue_xmit_nit+0x178/0x3f0
[537178.586081]  [<ffffffff816bde7e>] dev_hard_start_xmit+0x2fe/0x900
[537178.586094]  [<ffffffff816e5ea6>] sch_direct_xmit+0x136/0x2e0
[537178.586102]  [<ffffffff816be6fc>] __dev_queue_xmit+0x27c/0x9b0
[537178.586109]  [<ffffffff816be485>] ? __dev_queue_xmit+0x5/0x9b0
[537178.586117]  [<ffffffff816bee40>] dev_queue_xmit+0x10/0x20
[537178.586126]  [<ffffffff8170b9af>] ip_finish_output+0xc0f/0x11c0
[537178.586135]  [<ffffffff8170cd28>] ? ip_output+0x68/0x110
[537178.586143]  [<ffffffff8170cd28>] ip_output+0x68/0x110
[537178.586151]  [<ffffffff8170c0b8>] ip_local_out_sk+0x38/0xa0
[537178.586158]  [<ffffffff8170c588>] ip_queue_xmit+0x1d8/0x630
[537178.586166]  [<ffffffff8170c3b5>] ? ip_queue_xmit+0x5/0x630
[537178.586175]  [<ffffffff81725d52>] tcp_transmit_skb+0x492/0xaf0
[537178.586183]  [<ffffffff81728366>] __tcp_retransmit_skb+0x156/0x5e0
[537178.586191]  [<ffffffff81728b29>] tcp_retransmit_skb+0x19/0x110
[537178.586200]  [<ffffffff8172a1d4>] tcp_retransmit_timer+0x2d4/0x940
[537178.586208]  [<ffffffff8172aa00>] ? tcp_write_timer_handler+0x1c0/0x1c0
[537178.586216]  [<ffffffff8172a8e0>] tcp_write_timer_handler+0xa0/0x1c0
[537178.586223]  [<ffffffff8172aa7c>] tcp_write_timer+0x7c/0x80
[537178.586232]  [<ffffffff810ac5e9>] call_timer_fn+0x99/0x330
[537178.586240]  [<ffffffff810ac555>] ? call_timer_fn+0x5/0x330
[537178.586248]  [<ffffffff8172aa00>] ? tcp_write_timer_handler+0x1c0/0x1c0
[537178.586257]  [<ffffffff810acaa4>] run_timer_softirq+0x224/0x3c0
[537178.586266]  [<ffffffff810a2564>] __do_softirq+0x164/0x4b0
[537178.586274]  [<ffffffff810a2a95>] irq_exit+0xc5/0xd0
[537178.586282]  [<ffffffff81814104>] smp_apic_timer_interrupt+0x44/0x50
[537178.586291]  [<ffffffff81812112>] apic_timer_interrupt+0x72/0x80
[537178.586295]  <EOI>  [<ffffffff81659381>] ? cpuidle_enter_state+0x51/0xc0
[537178.586310]  [<ffffffff816594d7>] cpuidle_enter+0x17/0x20
[537178.586319]  [<ffffffff810f5b2c>] cpu_startup_entry+0x3fc/0x7b0
[537178.586327]  [<ffffffff8180a4ea>] ? __schedule+0x33a/0x960
[537178.586337]  [<ffffffff817fa597>] rest_init+0x137/0x140
[537178.586345]  [<ffffffff821bdffc>] start_kernel+0x49b/0x4bc
[537178.586354]  [<ffffffff821bd120>] ? early_idt_handlers+0x120/0x120
[537178.586362]  [<ffffffff821bd4d7>] x86_64_start_reservations+0x2a/0x2c
[537178.586370]  [<ffffffff821bd626>] x86_64_start_kernel+0x14d/0x170
[537178.586376] ---[ end trace c7be0a1b7c48146e ]---

Comment 2 Richard W.M. Jones 2014-07-18 20:36:14 UTC
... and again.  I have to reboot my laptop whenever this happens.

kernel 3.16.0-0.rc3.git2.1.fc21.x86_64

[1018484.157419] ------------[ cut here ]------------
[1018484.157496] WARNING: CPU: 0 PID: 0 at net/mac80211/wpa.c:68 ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]()
[1018484.157510] Modules linked in: pl2303 nfnetlink_queue nfnetlink_log nfnetlink ccm ftdi_sio loop fuse ipt_MASQUERADE xt_CHECKSUM tun rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep arc4 iwldvm snd_hda_codec_hdmi mac80211 snd_hda_codec_realtek snd_hda_codec_generic uvcvideo snd_hda_intel videobuf2_vmalloc videobuf2_memops videobuf2_core snd_hda_controller snd_hda_codec v4l2_common snd_hwdep videodev snd_seq snd_seq_device
[1018484.157863]  media iTCO_wdt btusb snd_pcm iwlwifi iTCO_vendor_support bluetooth x86_pkg_temp_thermal coretemp kvm_intel cfg80211 kvm mei_me thinkpad_acpi mei snd_timer rfkill sdhci_pci sdhci snd mmc_core microcode serio_raw lpc_ich wmi soundcore i2c_i801 mfd_core shpchp binfmt_misc dm_crypt i915 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel i2c_algo_bit drm_kms_helper e1000e drm ptp pps_core i2c_core video
[1018484.158108] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W     3.16.0-0.rc3.git2.1.fc21.x86_64 #1
[1018484.158122] Hardware name: LENOVO 2325F51/2325F51, BIOS G2ET82WW (2.02 ) 09/11/2012
[1018484.158134]  0000000000000000 c4bdcd33f0480383 ffff88040d0037c0 ffffffff81807dac
[1018484.158165]  0000000000000000 ffff88040d0037f8 ffffffff8109b3ed ffff88040d003938
[1018484.158198]  ffff8803bf6de800 ffff8802612a8ee8 ffff8800c755e0da 00000000000005e0
[1018484.158230] Call Trace:
[1018484.158243]  <IRQ>  [<ffffffff81807dac>] dump_stack+0x4d/0x66
[1018484.158326]  [<ffffffff8109b3ed>] warn_slowpath_common+0x7d/0xa0
[1018484.158347]  [<ffffffff8109b51a>] warn_slowpath_null+0x1a/0x20
[1018484.158394]  [<ffffffffa05ed699>] ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]
[1018484.158449]  [<ffffffffa061a99f>] invoke_tx_handlers+0x45f/0x1790 [mac80211]
[1018484.158478]  [<ffffffff810fcba6>] ? __lock_is_held+0x56/0x80
[1018484.158498]  [<ffffffff810fcba6>] ? __lock_is_held+0x56/0x80
[1018484.158547]  [<ffffffffa061be47>] ieee80211_tx+0x97/0x130 [mac80211]
[1018484.158595]  [<ffffffffa061c2fa>] ieee80211_xmit+0x9a/0xf0 [mac80211]
[1018484.158643]  [<ffffffffa061d28e>] ieee80211_subif_start_xmit+0x9de/0x14a0 [mac80211]
[1018484.158692]  [<ffffffffa061c8fa>] ? ieee80211_subif_start_xmit+0x4a/0x14a0 [mac80211]
[1018484.158727]  [<ffffffff816ba358>] ? dev_queue_xmit_nit+0x178/0x3f0
[1018484.158748]  [<ffffffff816be73e>] dev_hard_start_xmit+0x2fe/0x900
[1018484.158778]  [<ffffffff816e6776>] sch_direct_xmit+0x136/0x2e0
[1018484.158799]  [<ffffffff816befbc>] __dev_queue_xmit+0x27c/0x9b0
[1018484.158820]  [<ffffffff816bed45>] ? __dev_queue_xmit+0x5/0x9b0
[1018484.158841]  [<ffffffff816bf700>] dev_queue_xmit+0x10/0x20
[1018484.158863]  [<ffffffff8170c27f>] ip_finish_output+0xc0f/0x11c0
[1018484.158887]  [<ffffffff8170d5f8>] ? ip_output+0x68/0x110
[1018484.158907]  [<ffffffff8170d5f8>] ip_output+0x68/0x110
[1018484.158928]  [<ffffffff8170c988>] ip_local_out_sk+0x38/0xa0
[1018484.158949]  [<ffffffff8170ce58>] ip_queue_xmit+0x1d8/0x630
[1018484.158968]  [<ffffffff8170cc85>] ? ip_queue_xmit+0x5/0x630
[1018484.158990]  [<ffffffff81726682>] tcp_transmit_skb+0x492/0xaf0
[1018484.159012]  [<ffffffff81728c96>] __tcp_retransmit_skb+0x156/0x5e0
[1018484.159033]  [<ffffffff81729459>] tcp_retransmit_skb+0x19/0x110
[1018484.159053]  [<ffffffff8172ab04>] tcp_retransmit_timer+0x2d4/0x940
[1018484.159076]  [<ffffffff8172b330>] ? tcp_write_timer_handler+0x1c0/0x1c0
[1018484.159096]  [<ffffffff8172b210>] tcp_write_timer_handler+0xa0/0x1c0
[1018484.159116]  [<ffffffff8172b3ac>] tcp_write_timer+0x7c/0x80
[1018484.159138]  [<ffffffff810ac619>] call_timer_fn+0x99/0x330
[1018484.159158]  [<ffffffff810ac585>] ? call_timer_fn+0x5/0x330
[1018484.159179]  [<ffffffff8172b330>] ? tcp_write_timer_handler+0x1c0/0x1c0
[1018484.159200]  [<ffffffff810acad4>] run_timer_softirq+0x224/0x3c0
[1018484.159223]  [<ffffffff810a2594>] __do_softirq+0x164/0x4b0
[1018484.159246]  [<ffffffff810a2ac5>] irq_exit+0xc5/0xd0
[1018484.159320]  [<ffffffff818149c4>] smp_apic_timer_interrupt+0x44/0x50
[1018484.159340]  [<ffffffff818129d2>] apic_timer_interrupt+0x72/0x80
[1018484.159351]  <EOI>  [<ffffffff81659d51>] ? cpuidle_enter_state+0x51/0xc0
[1018484.159384]  [<ffffffff81659ea7>] cpuidle_enter+0x17/0x20
[1018484.159404]  [<ffffffff810f5b5c>] cpu_startup_entry+0x3fc/0x7b0
[1018484.159423]  [<ffffffff8180ad6a>] ? __schedule+0x33a/0x960
[1018484.159444]  [<ffffffff817faec7>] rest_init+0x137/0x140
[1018484.159464]  [<ffffffff821beffc>] start_kernel+0x49b/0x4bc
[1018484.159482]  [<ffffffff821be120>] ? early_idt_handlers+0x120/0x120
[1018484.159502]  [<ffffffff821be4d7>] x86_64_start_reservations+0x2a/0x2c
[1018484.159520]  [<ffffffff821be626>] x86_64_start_kernel+0x14d/0x170
[1018484.159533] ---[ end trace fcaa002653e75122 ]---

Comment 3 John W. Linville 2014-07-21 16:50:14 UTC
I would guess that this is hitting the headroom/tailroom warning near the end of ieee80211_tx_h_michael_mic_add...

Johannes, have you seen this?

Comment 4 Richard W.M. Jones 2014-08-30 18:54:59 UTC
And again, with 3.16.0-0.rc7.git3.1.fc22.x86_64.

[1806235.028890] ------------[ cut here ]------------
[1806235.028920] WARNING: CPU: 1 PID: 19911 at net/mac80211/wpa.c:68 ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]()
[1806235.028923] Modules linked in: vfat fat uas usb_storage snd_seq_midi snd_seq_midi_event snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_dummy pl2303 rfcomm ccm fuse ipt_MASQUERADE xt_CHECKSUM tun rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache ip6t_rpfilter ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack bnep iptable_mangle iptable_security iptable_raw snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common snd_hda_intel snd_hda_controller videodev
[1806235.028966]  snd_hda_codec media arc4 iTCO_wdt iTCO_vendor_support btusb snd_hwdep x86_pkg_temp_thermal iwldvm snd_seq snd_seq_device coretemp bluetooth mac80211 kvm_intel snd_pcm kvm microcode serio_raw iwlwifi sdhci_pci cfg80211 sdhci mmc_core i2c_i801 lpc_ich mfd_core shpchp thinkpad_acpi rfkill snd_timer snd mei_me mei soundcore wmi binfmt_misc dm_crypt crct10dif_pclmul crc32_pclmul crc32c_intel i915 ghash_clmulni_intel i2c_algo_bit drm_kms_helper drm e1000e ptp pps_core i2c_core video
[1806235.029004] CPU: 1 PID: 19911 Comm: Socket Thread Tainted: G        W     3.16.0-0.rc7.git3.1.fc22.x86_64 #1
[1806235.029006] Hardware name: LENOVO 2325F51/2325F51, BIOS G2ET82WW (2.02 ) 09/11/2012
[1806235.029008]  0000000000000000 000000005d7b0458 ffff880009393580 ffffffff81808a15
[1806235.029012]  0000000000000000 ffff8800093935b8 ffffffff8109b3dd ffff8800093936f8
[1806235.029015]  ffff8802ab531c00 ffff8803e1a3d8e8 ffff8800c9feb8c6 00000000000005f6
[1806235.029019] Call Trace:
[1806235.029028]  [<ffffffff81808a15>] dump_stack+0x4d/0x66
[1806235.029033]  [<ffffffff8109b3dd>] warn_slowpath_common+0x7d/0xa0
[1806235.029036]  [<ffffffff8109b50a>] warn_slowpath_null+0x1a/0x20
[1806235.029050]  [<ffffffffa04f5699>] ieee80211_tx_h_michael_mic_add+0x159/0x190 [mac80211]
[1806235.029064]  [<ffffffffa052294b>] invoke_tx_handlers+0x3eb/0x1750 [mac80211]
[1806235.029069]  [<ffffffff816f6255>] ? nlmsg_notify+0xd5/0xf0
[1806235.029081]  [<ffffffffa0523e27>] ieee80211_tx+0x97/0x130 [mac80211]
[1806235.029094]  [<ffffffffa05242da>] ieee80211_xmit+0x9a/0xf0 [mac80211]
[1806235.029106]  [<ffffffffa052526e>] ieee80211_subif_start_xmit+0x9de/0x14a0 [mac80211]
[1806235.029119]  [<ffffffffa05248da>] ? ieee80211_subif_start_xmit+0x4a/0x14a0 [mac80211]
[1806235.029125]  [<ffffffff816bb068>] ? dev_queue_xmit_nit+0x178/0x3f0
[1806235.029129]  [<ffffffff816bf42e>] dev_hard_start_xmit+0x2fe/0x900
[1806235.029135]  [<ffffffff816e7466>] sch_direct_xmit+0x136/0x2e0
[1806235.029138]  [<ffffffff816bfcac>] __dev_queue_xmit+0x27c/0x9b0
[1806235.029141]  [<ffffffff816bfa35>] ? __dev_queue_xmit+0x5/0x9b0
[1806235.029144]  [<ffffffff816c03f0>] dev_queue_xmit+0x10/0x20
[1806235.029150]  [<ffffffff81798e67>] ip6_finish_output2+0x507/0x820
[1806235.029153]  [<ffffffff8179bb6f>] ? ip6_finish_output+0x9f/0x210
[1806235.029156]  [<ffffffff8179bb6f>] ip6_finish_output+0x9f/0x210
[1806235.029159]  [<ffffffff8179bd2f>] ip6_output+0x4f/0x210
[1806235.029163]  [<ffffffff81799881>] ip6_xmit+0x231/0x690
[1806235.029166]  [<ffffffff817d7445>] inet6_csk_xmit+0xc5/0x1c0
[1806235.029169]  [<ffffffff817d73ca>] ? inet6_csk_xmit+0x4a/0x1c0
[1806235.029173]  [<ffffffff81727492>] tcp_transmit_skb+0x492/0xaf0
[1806235.029177]  [<ffffffff81727cc0>] tcp_write_xmit+0x1d0/0xe80
[1806235.029180]  [<ffffffff81728cf0>] tcp_push_one+0x30/0x40
[1806235.029183]  [<ffffffff81719658>] tcp_sendmsg+0xc08/0xda0
[1806235.029188]  [<ffffffff8174ddba>] inet_sendmsg+0x10a/0x220
[1806235.029191]  [<ffffffff8174dcb5>] ? inet_sendmsg+0x5/0x220
[1806235.029194]  [<ffffffff8169cd1e>] sock_sendmsg+0x9e/0xe0
[1806235.029199]  [<ffffffff8126fa2a>] ? __fget+0x12a/0x2f0
[1806235.029201]  [<ffffffff8126fc60>] ? __fget_light+0x30/0x160
[1806235.029205]  [<ffffffff812955d0>] ? fsnotify+0x90/0x5d0
[1806235.029209]  [<ffffffff8169cee4>] SYSC_sendto+0x124/0x1c0
[1806235.029214]  [<ffffffff811604bc>] ? __audit_syscall_entry+0x9c/0xf0
[1806235.029218]  [<ffffffff810ff7cd>] ? trace_hardirqs_on+0xd/0x10
[1806235.029221]  [<ffffffff8169e21e>] SyS_sendto+0xe/0x10
[1806235.029225]  [<ffffffff818125a9>] system_call_fastpath+0x16/0x1b
[1806235.029227] ---[ end trace 8db88c27a327652e ]---

etc etc, requires rebooting.

Comment 5 Richard W.M. Jones 2014-09-04 08:42:25 UTC
And again with 3.17.0-0.rc2.git3.1.fc22.x86_64.

Comment 6 Richard W.M. Jones 2014-09-05 16:06:20 UTC
and again with 3.17.0-0.rc3.git1.1.fc22.x86_64

A new notes:

IPv6, so perhaps packets are larger than normal?

TCP keeps retransmitting the same packet after the wifi
driver returns TX_DROP.  Is there a way to not have it do that?

Comment 7 Johannes Berg 2014-09-08 09:25:59 UTC
Maybe there's some head/tailroom missing, I don't think larger packets would really matter ... what matters most for you hitting this is probably that hardly anyone still uses TKIP :-)

Could you apply this patch so we see more detail?

http://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-next.git/commit/?id=b1e9be8775b85d761cdb91386200a04d741f6a0d

I'm also sending it upstream though.

Comment 8 Richard W.M. Jones 2014-09-08 09:32:43 UTC
(In reply to Johannes Berg from comment #7)
> Maybe there's some head/tailroom missing, I don't think larger packets would
> really matter ... what matters most for you hitting this is probably that
> hardly anyone still uses TKIP :-)

TKIP is WPA?  According to Wikipedia it is "considered insecure
and deprecated" which I didn't know until now.  I will see if this
AP supports WPA2.

> Could you apply this patch so we see more detail?
> 
> http://git.kernel.org/cgit/linux/kernel/git/jberg/mac80211-next.git/commit/
> ?id=b1e9be8775b85d761cdb91386200a04d741f6a0d
> 
> I'm also sending it upstream though.

Sure, will add it to my kernel.

Comment 9 Johannes Berg 2014-09-08 09:36:26 UTC
(In reply to Richard W.M. Jones from comment #8)
> TKIP is WPA?  According to Wikipedia it is "considered insecure
> and deprecated" which I didn't know until now.  I will see if this
> AP supports WPA2.

It's a little more complicated, but yeah, if you select WPA you will likely get TKIP unless you have a mixed configuration.

If you enable WPA2 now you'd get CCMP which is far more secure, but we will never fix this bug ;-)

Comment 10 Josh Boyer 2014-09-15 13:41:03 UTC
*** Bug 1141505 has been marked as a duplicate of this bug. ***

Comment 11 Richard W.M. Jones 2014-09-15 13:51:02 UTC
Knock on wood, switching to WPA2 does appear to have made the bug
go away.  Uptime is 8 days so far.

Comment 12 Jaroslav Reznik 2015-03-03 16:03:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 13 Justin M. Forbes 2015-10-20 19:46:04 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 22 kernel bugs.

Fedora 22 has now been rebased to 4.2.3-200.fc22.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 23, and are still experiencing this issue, please change the version to Fedora 23.

If you experience different issues, please open a new bug report for those.

Comment 14 Richard W.M. Jones 2015-10-20 20:37:30 UTC
Closing per comment 11 (WPA1 is broken, but obsolete).


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