linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.1+ iwlwifi lockup
@ 2011-10-31 14:34 Dave Jones
  2011-10-31 15:44 ` Guy, Wey-Yi
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Dave Jones @ 2011-10-31 14:34 UTC (permalink / raw)
  To: Linux Kernel; +Cc: wey-yi.w.guy, ilw, linux-wireless

I just got this trace, and a driver lockup that caused me to have to
unload & reload the iwlwifi module to get networking back.
hardware is..
04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300

This is new as of 3.1+  (This kernel was Linus' tree as of last night)

	Dave

[ 2669.712377] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
[ 2669.712381] Hardware name: Adamo 13   
[ 2669.712384] wrong command queue 0 (should be 4), sequence 0x0 readp=54 writep=54
[ 2669.712386] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 2669.712493] Pid: 2332, comm: firefox Not tainted 3.1.0+ #9
[ 2669.712495] Call Trace:
[ 2669.712497]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
[ 2669.712509]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
[ 2669.712519]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
[ 2669.712529]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
[ 2669.712535]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
[ 2669.712539]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
[ 2669.712544]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
[ 2669.712549]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
[ 2669.712553]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
[ 2669.712557]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
[ 2669.712561]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
[ 2669.712563]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
[ 2669.712570] ---[ end trace e86fa0935f9dc7a5 ]---
[ 2669.712573] iwl data: 00000000: 00 00 55 55 00 00 00 00 08 53 e0 00 00 00 00 00  ..UU.....S......
[ 2669.712577] iwl data: 00000010: 00 00 00 00 7e 04 19 00 05 00 04 00 94 07 02 00  ....~...........
[ 2669.712619] ------------[ cut here ]------------
[ 2669.712628] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
[ 2669.712631] Hardware name: Adamo 13   
[ 2669.712634] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
[ 2669.712636] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 2669.712729] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
[ 2669.712731] Call Trace:
[ 2669.712733]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
[ 2669.712743]  [<ffffffff8164de90>] ? _raw_spin_unlock_irqrestore+0x40/0x90
[ 2669.712747]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
[ 2669.712753]  [<ffffffff810c189f>] ? trace_hardirqs_on_caller+0x1f/0x1b0
[ 2669.712762]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
[ 2669.712772]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
[ 2669.712777]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
[ 2669.712781]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
[ 2669.712785]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
[ 2669.712789]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
[ 2669.712792]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
[ 2669.712796]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
[ 2669.712800]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
[ 2669.712802]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
[ 2669.712808] ---[ end trace e86fa0935f9dc7a6 ]---
[ 2669.712811] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
[ 2669.712815] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
[ 2669.712818] ------------[ cut here ]------------
[ 2669.712826] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
[ 2669.712829] Hardware name: Adamo 13   
[ 2669.712832] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
[ 2669.712834] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 2669.712925] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
[ 2669.712928] Call Trace:
[ 2669.712930]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
[ 2669.712938]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
[ 2669.712948]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
[ 2669.712958]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
[ 2669.712963]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
[ 2669.712967]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
[ 2669.712971]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
[ 2669.712975]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
[ 2669.712979]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
[ 2669.712982]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
[ 2669.712986]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
[ 2669.712988]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
[ 2669.712994] ---[ end trace e86fa0935f9dc7a7 ]---
[ 2669.712997] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
[ 2669.713018] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
[ 2669.713136] ------------[ cut here ]------------
[ 2669.713146] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
[ 2669.713150] Hardware name: Adamo 13   
[ 2669.713153] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
[ 2669.713157] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
[ 2669.713292] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
[ 2669.713295] Call Trace:
[ 2669.713297]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
[ 2669.713308]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
[ 2669.713319]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
[ 2669.713331]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
[ 2669.713337]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
[ 2669.713342]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
[ 2669.713347]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
[ 2669.713353]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
[ 2669.713357]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
[ 2669.713362]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
[ 2669.713367]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
[ 2669.713369]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
[ 2669.713377] ---[ end trace e86fa0935f9dc7a8 ]---
[ 2669.713380] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
[ 2669.713385] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
[ 2670.784424] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x2000000.
[ 2670.784431] iwlwifi 0000:04:00.0: Loaded firmware version: 8.83.5.1 build 33692
[ 2670.784556] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[ 2670.784559] iwlwifi 0000:04:00.0: Status: 0x000412E4, count: 5
[ 2670.784562] iwlwifi 0000:04:00.0: 0x00000005 | SYSASSERT                   
[ 2670.784565] iwlwifi 0000:04:00.0: 0x000024EC | uPc
[ 2670.784568] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink1
[ 2670.784570] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink2
[ 2670.784573] iwlwifi 0000:04:00.0: 0x00000916 | interruptlink1
[ 2670.784576] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
[ 2670.784578] iwlwifi 0000:04:00.0: 0x000000FF | data1
[ 2670.784580] iwlwifi 0000:04:00.0: 0x00000489 | data2
[ 2670.784583] iwlwifi 0000:04:00.0: 0x00000489 | line
[ 2670.784585] iwlwifi 0000:04:00.0: 0x1A41414C | beacon time
[ 2670.784588] iwlwifi 0000:04:00.0: 0x54956EB4 | tsf low
[ 2670.784591] iwlwifi 0000:04:00.0: 0x000004FB | tsf hi
[ 2670.784593] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
[ 2670.784596] iwlwifi 0000:04:00.0: 0x9D4D53F1 | time gp2
[ 2670.784598] iwlwifi 0000:04:00.0: 0x00000000 | time gp3
[ 2670.784601] iwlwifi 0000:04:00.0: 0x00010853 | uCode version
[ 2670.784603] iwlwifi 0000:04:00.0: 0x00000024 | hw version
[ 2670.784606] iwlwifi 0000:04:00.0: 0x00480302 | board version
[ 2670.784609] iwlwifi 0000:04:00.0: 0x0B15001C | hcmd
[ 2670.784611] iwlwifi 0000:04:00.0: CSR values:
[ 2670.784614] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[ 2670.784641] iwlwifi 0000:04:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480302
[ 2670.784666] iwlwifi 0000:04:00.0:          CSR_INT_COALESCING: 0X00000040
[ 2670.784691] iwlwifi 0000:04:00.0:                     CSR_INT: 0X00000000
[ 2670.784715] iwlwifi 0000:04:00.0:                CSR_INT_MASK: 0X00000000
[ 2670.784740] iwlwifi 0000:04:00.0:           CSR_FH_INT_STATUS: 0X00000000
[ 2670.784765] iwlwifi 0000:04:00.0:                 CSR_GPIO_IN: 0X00000000
[ 2670.784790] iwlwifi 0000:04:00.0:                   CSR_RESET: 0X00000000
[ 2670.784814] iwlwifi 0000:04:00.0:                CSR_GP_CNTRL: 0X080403c5
[ 2670.784839] iwlwifi 0000:04:00.0:                  CSR_HW_REV: 0X00000024
[ 2670.784864] iwlwifi 0000:04:00.0:              CSR_EEPROM_REG: 0X00000000
[ 2670.784889] iwlwifi 0000:04:00.0:               CSR_EEPROM_GP: 0X90000004
[ 2670.784914] iwlwifi 0000:04:00.0:              CSR_OTP_GP_REG: 0X00060000
[ 2670.784938] iwlwifi 0000:04:00.0:                 CSR_GIO_REG: 0X00080042
[ 2670.784963] iwlwifi 0000:04:00.0:            CSR_GP_UCODE_REG: 0X00007c71
[ 2670.784988] iwlwifi 0000:04:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[ 2670.785012] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[ 2670.785037] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[ 2670.785062] iwlwifi 0000:04:00.0:                 CSR_LED_REG: 0X00000058
[ 2670.785086] iwlwifi 0000:04:00.0:        CSR_DRAM_INT_TBL_REG: 0X8811a5a0
[ 2670.785111] iwlwifi 0000:04:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[ 2670.785136] iwlwifi 0000:04:00.0:             CSR_ANA_PLL_CFG: 0X00880300
[ 2670.785161] iwlwifi 0000:04:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[ 2670.785186] iwlwifi 0000:04:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
[ 2670.785188] iwlwifi 0000:04:00.0: FH register values:
[ 2670.785224] iwlwifi 0000:04:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X1174de00
[ 2670.785243] iwlwifi 0000:04:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X012abbb0
[ 2670.785261] iwlwifi 0000:04:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000048
[ 2670.785280] iwlwifi 0000:04:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
[ 2670.785300] iwlwifi 0000:04:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[ 2670.785343] iwlwifi 0000:04:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X02630000
[ 2670.785362] iwlwifi 0000:04:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 2670.785380] iwlwifi 0000:04:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[ 2670.785389] iwlwifi 0000:04:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[ 2670.785389] iwlwifi 0000:04:00.0: Start IWL Event Log Dump: display last 20 entries
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638087993:0x00000000:0355
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088265:0x00000113:0106
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088266:0x00000000:0302
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088289:0x00000000:0355
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088453:0x00000113:0106
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088455:0x00000000:0302
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088478:0x00000000:0355
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088750:0x0b15001c:0206
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088752:0x00000001:0204
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088755:0x00000001:0214
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088756:0x01002111:0209
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089055:0x00000000:0210
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089065:0x00000000:0207
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089067:0x01002111:0211
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089072:0x00000000:0212
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090106:0x00000000:0215
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090108:0x00000008:0220
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090127:0x00000000:0301
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090315:0x00000000:0355
[ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2639090696:0x00000000:0125
[ 2670.795643] ieee80211 phy0: Hardware restart was requested
[ 2670.795729] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
[ 2670.798779] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-10-31 14:34 3.1+ iwlwifi lockup Dave Jones
@ 2011-10-31 15:44 ` Guy, Wey-Yi
  2011-11-01 20:27 ` Guy, Wey-Yi
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Guy, Wey-Yi @ 2011-10-31 15:44 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

On Mon, 2011-10-31 at 07:34 -0700, Dave Jones wrote:
> I just got this trace, and a driver lockup that caused me to have to
> unload & reload the iwlwifi module to get networking back.
> hardware is..
> 04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
> 
> This is new as of 3.1+  (This kernel was Linus' tree as of last night)
> 

this is cause by an command queue bug and we will looking into it now.

Wey

>         Dave
> 
> [ 2669.712377] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712381] Hardware name: Adamo 13
> [ 2669.712384] wrong command queue 0 (should be 4), sequence 0x0 readp=54 writep=54
> [ 2669.712386] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712493] Pid: 2332, comm: firefox Not tainted 3.1.0+ #9
> [ 2669.712495] Call Trace:
> [ 2669.712497]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712509]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712519]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712529]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712535]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712539]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712544]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712549]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712553]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712557]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712561]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712563]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712570] ---[ end trace e86fa0935f9dc7a5 ]---
> [ 2669.712573] iwl data: 00000000: 00 00 55 55 00 00 00 00 08 53 e0 00 00 00 00 00  ..UU.....S......
> [ 2669.712577] iwl data: 00000010: 00 00 00 00 7e 04 19 00 05 00 04 00 94 07 02 00  ....~...........
> [ 2669.712619] ------------[ cut here ]------------
> [ 2669.712628] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712631] Hardware name: Adamo 13
> [ 2669.712634] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712636] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712729] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712731] Call Trace:
> [ 2669.712733]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712743]  [<ffffffff8164de90>] ? _raw_spin_unlock_irqrestore+0x40/0x90
> [ 2669.712747]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712753]  [<ffffffff810c189f>] ? trace_hardirqs_on_caller+0x1f/0x1b0
> [ 2669.712762]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712772]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712777]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712781]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712785]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712789]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712792]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712796]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712800]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712802]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712808] ---[ end trace e86fa0935f9dc7a6 ]---
> [ 2669.712811] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.712815] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.712818] ------------[ cut here ]------------
> [ 2669.712826] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712829] Hardware name: Adamo 13
> [ 2669.712832] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712834] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712925] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712928] Call Trace:
> [ 2669.712930]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712938]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712948]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712958]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712963]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712967]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712971]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712975]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712979]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712982]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712986]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712988]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712994] ---[ end trace e86fa0935f9dc7a7 ]---
> [ 2669.712997] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713018] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.713136] ------------[ cut here ]------------
> [ 2669.713146] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.713150] Hardware name: Adamo 13
> [ 2669.713153] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.713157] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.713292] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.713295] Call Trace:
> [ 2669.713297]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.713308]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.713319]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.713331]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.713337]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.713342]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.713347]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.713353]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.713357]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.713362]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.713367]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.713369]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.713377] ---[ end trace e86fa0935f9dc7a8 ]---
> [ 2669.713380] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713385] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2670.784424] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x2000000.
> [ 2670.784431] iwlwifi 0000:04:00.0: Loaded firmware version: 8.83.5.1 build 33692
> [ 2670.784556] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> [ 2670.784559] iwlwifi 0000:04:00.0: Status: 0x000412E4, count: 5
> [ 2670.784562] iwlwifi 0000:04:00.0: 0x00000005 | SYSASSERT
> [ 2670.784565] iwlwifi 0000:04:00.0: 0x000024EC | uPc
> [ 2670.784568] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink1
> [ 2670.784570] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink2
> [ 2670.784573] iwlwifi 0000:04:00.0: 0x00000916 | interruptlink1
> [ 2670.784576] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
> [ 2670.784578] iwlwifi 0000:04:00.0: 0x000000FF | data1
> [ 2670.784580] iwlwifi 0000:04:00.0: 0x00000489 | data2
> [ 2670.784583] iwlwifi 0000:04:00.0: 0x00000489 | line
> [ 2670.784585] iwlwifi 0000:04:00.0: 0x1A41414C | beacon time
> [ 2670.784588] iwlwifi 0000:04:00.0: 0x54956EB4 | tsf low
> [ 2670.784591] iwlwifi 0000:04:00.0: 0x000004FB | tsf hi
> [ 2670.784593] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
> [ 2670.784596] iwlwifi 0000:04:00.0: 0x9D4D53F1 | time gp2
> [ 2670.784598] iwlwifi 0000:04:00.0: 0x00000000 | time gp3
> [ 2670.784601] iwlwifi 0000:04:00.0: 0x00010853 | uCode version
> [ 2670.784603] iwlwifi 0000:04:00.0: 0x00000024 | hw version
> [ 2670.784606] iwlwifi 0000:04:00.0: 0x00480302 | board version
> [ 2670.784609] iwlwifi 0000:04:00.0: 0x0B15001C | hcmd
> [ 2670.784611] iwlwifi 0000:04:00.0: CSR values:
> [ 2670.784614] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> [ 2670.784641] iwlwifi 0000:04:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480302
> [ 2670.784666] iwlwifi 0000:04:00.0:          CSR_INT_COALESCING: 0X00000040
> [ 2670.784691] iwlwifi 0000:04:00.0:                     CSR_INT: 0X00000000
> [ 2670.784715] iwlwifi 0000:04:00.0:                CSR_INT_MASK: 0X00000000
> [ 2670.784740] iwlwifi 0000:04:00.0:           CSR_FH_INT_STATUS: 0X00000000
> [ 2670.784765] iwlwifi 0000:04:00.0:                 CSR_GPIO_IN: 0X00000000
> [ 2670.784790] iwlwifi 0000:04:00.0:                   CSR_RESET: 0X00000000
> [ 2670.784814] iwlwifi 0000:04:00.0:                CSR_GP_CNTRL: 0X080403c5
> [ 2670.784839] iwlwifi 0000:04:00.0:                  CSR_HW_REV: 0X00000024
> [ 2670.784864] iwlwifi 0000:04:00.0:              CSR_EEPROM_REG: 0X00000000
> [ 2670.784889] iwlwifi 0000:04:00.0:               CSR_EEPROM_GP: 0X90000004
> [ 2670.784914] iwlwifi 0000:04:00.0:              CSR_OTP_GP_REG: 0X00060000
> [ 2670.784938] iwlwifi 0000:04:00.0:                 CSR_GIO_REG: 0X00080042
> [ 2670.784963] iwlwifi 0000:04:00.0:            CSR_GP_UCODE_REG: 0X00007c71
> [ 2670.784988] iwlwifi 0000:04:00.0:           CSR_GP_DRIVER_REG: 0X00000000
> [ 2670.785012] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
> [ 2670.785037] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
> [ 2670.785062] iwlwifi 0000:04:00.0:                 CSR_LED_REG: 0X00000058
> [ 2670.785086] iwlwifi 0000:04:00.0:        CSR_DRAM_INT_TBL_REG: 0X8811a5a0
> [ 2670.785111] iwlwifi 0000:04:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
> [ 2670.785136] iwlwifi 0000:04:00.0:             CSR_ANA_PLL_CFG: 0X00880300
> [ 2670.785161] iwlwifi 0000:04:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
> [ 2670.785186] iwlwifi 0000:04:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
> [ 2670.785188] iwlwifi 0000:04:00.0: FH register values:
> [ 2670.785224] iwlwifi 0000:04:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X1174de00
> [ 2670.785243] iwlwifi 0000:04:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X012abbb0
> [ 2670.785261] iwlwifi 0000:04:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000048
> [ 2670.785280] iwlwifi 0000:04:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
> [ 2670.785300] iwlwifi 0000:04:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> [ 2670.785343] iwlwifi 0000:04:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X02630000
> [ 2670.785362] iwlwifi 0000:04:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> [ 2670.785380] iwlwifi 0000:04:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
> [ 2670.785389] iwlwifi 0000:04:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
> [ 2670.785389] iwlwifi 0000:04:00.0: Start IWL Event Log Dump: display last 20 entries
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638087993:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088265:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088266:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088289:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088453:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088455:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088478:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088750:0x0b15001c:0206
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088752:0x00000001:0204
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088755:0x00000001:0214
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088756:0x01002111:0209
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089055:0x00000000:0210
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089065:0x00000000:0207
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089067:0x01002111:0211
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089072:0x00000000:0212
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090106:0x00000000:0215
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090108:0x00000008:0220
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090127:0x00000000:0301
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090315:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2639090696:0x00000000:0125
> [ 2670.795643] ieee80211 phy0: Hardware restart was requested
> [ 2670.795729] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [ 2670.798779] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> 



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-10-31 14:34 3.1+ iwlwifi lockup Dave Jones
  2011-10-31 15:44 ` Guy, Wey-Yi
@ 2011-11-01 20:27 ` Guy, Wey-Yi
  2011-11-01 22:08   ` Dave Jones
  2011-11-26  2:22   ` Carlos Alberto Lopez Perez
  2011-11-22 20:15 ` wwguy
  2011-11-22 20:16 ` wwguy
  3 siblings, 2 replies; 18+ messages in thread
From: Guy, Wey-Yi @ 2011-11-01 20:27 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

Dave,

On Mon, 2011-10-31 at 07:34 -0700, Dave Jones wrote:
> I just got this trace, and a driver lockup that caused me to have to
> unload & reload the iwlwifi module to get networking back.
> hardware is..
> 04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
> 
> This is new as of 3.1+  (This kernel was Linus' tree as of last night)
> 
>         

Any more information to help us understand how to re-produce the issue?
without more data, it is really hard to root cause and fix it.

Thanks
Wey

> 
> 9.712377] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712381] Hardware name: Adamo 13
> [ 2669.712384] wrong command queue 0 (should be 4), sequence 0x0 readp=54 writep=54
> [ 2669.712386] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712493] Pid: 2332, comm: firefox Not tainted 3.1.0+ #9
> [ 2669.712495] Call Trace:
> [ 2669.712497]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712509]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712519]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712529]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712535]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712539]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712544]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712549]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712553]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712557]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712561]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712563]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712570] ---[ end trace e86fa0935f9dc7a5 ]---
> [ 2669.712573] iwl data: 00000000: 00 00 55 55 00 00 00 00 08 53 e0 00 00 00 00 00  ..UU.....S......
> [ 2669.712577] iwl data: 00000010: 00 00 00 00 7e 04 19 00 05 00 04 00 94 07 02 00  ....~...........
> [ 2669.712619] ------------[ cut here ]------------
> [ 2669.712628] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712631] Hardware name: Adamo 13
> [ 2669.712634] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712636] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712729] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712731] Call Trace:
> [ 2669.712733]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712743]  [<ffffffff8164de90>] ? _raw_spin_unlock_irqrestore+0x40/0x90
> [ 2669.712747]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712753]  [<ffffffff810c189f>] ? trace_hardirqs_on_caller+0x1f/0x1b0
> [ 2669.712762]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712772]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712777]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712781]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712785]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712789]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712792]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712796]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712800]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712802]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712808] ---[ end trace e86fa0935f9dc7a6 ]---
> [ 2669.712811] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.712815] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.712818] ------------[ cut here ]------------
> [ 2669.712826] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712829] Hardware name: Adamo 13
> [ 2669.712832] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712834] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712925] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712928] Call Trace:
> [ 2669.712930]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712938]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712948]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712958]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712963]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712967]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712971]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712975]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712979]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712982]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712986]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712988]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712994] ---[ end trace e86fa0935f9dc7a7 ]---
> [ 2669.712997] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713018] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.713136] ------------[ cut here ]------------
> [ 2669.713146] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.713150] Hardware name: Adamo 13
> [ 2669.713153] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.713157] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.713292] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.713295] Call Trace:
> [ 2669.713297]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.713308]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.713319]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.713331]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.713337]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.713342]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.713347]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.713353]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.713357]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.713362]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.713367]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.713369]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.713377] ---[ end trace e86fa0935f9dc7a8 ]---
> [ 2669.713380] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713385] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2670.784424] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x2000000.
> [ 2670.784431] iwlwifi 0000:04:00.0: Loaded firmware version: 8.83.5.1 build 33692
> [ 2670.784556] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> [ 2670.784559] iwlwifi 0000:04:00.0: Status: 0x000412E4, count: 5
> [ 2670.784562] iwlwifi 0000:04:00.0: 0x00000005 | SYSASSERT
> [ 2670.784565] iwlwifi 0000:04:00.0: 0x000024EC | uPc
> [ 2670.784568] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink1
> [ 2670.784570] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink2
> [ 2670.784573] iwlwifi 0000:04:00.0: 0x00000916 | interruptlink1
> [ 2670.784576] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
> [ 2670.784578] iwlwifi 0000:04:00.0: 0x000000FF | data1
> [ 2670.784580] iwlwifi 0000:04:00.0: 0x00000489 | data2
> [ 2670.784583] iwlwifi 0000:04:00.0: 0x00000489 | line
> [ 2670.784585] iwlwifi 0000:04:00.0: 0x1A41414C | beacon time
> [ 2670.784588] iwlwifi 0000:04:00.0: 0x54956EB4 | tsf low
> [ 2670.784591] iwlwifi 0000:04:00.0: 0x000004FB | tsf hi
> [ 2670.784593] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
> [ 2670.784596] iwlwifi 0000:04:00.0: 0x9D4D53F1 | time gp2
> [ 2670.784598] iwlwifi 0000:04:00.0: 0x00000000 | time gp3
> [ 2670.784601] iwlwifi 0000:04:00.0: 0x00010853 | uCode version
> [ 2670.784603] iwlwifi 0000:04:00.0: 0x00000024 | hw version
> [ 2670.784606] iwlwifi 0000:04:00.0: 0x00480302 | board version
> [ 2670.784609] iwlwifi 0000:04:00.0: 0x0B15001C | hcmd
> [ 2670.784611] iwlwifi 0000:04:00.0: CSR values:
> [ 2670.784614] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> [ 2670.784641] iwlwifi 0000:04:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480302
> [ 2670.784666] iwlwifi 0000:04:00.0:          CSR_INT_COALESCING: 0X00000040
> [ 2670.784691] iwlwifi 0000:04:00.0:                     CSR_INT: 0X00000000
> [ 2670.784715] iwlwifi 0000:04:00.0:                CSR_INT_MASK: 0X00000000
> [ 2670.784740] iwlwifi 0000:04:00.0:           CSR_FH_INT_STATUS: 0X00000000
> [ 2670.784765] iwlwifi 0000:04:00.0:                 CSR_GPIO_IN: 0X00000000
> [ 2670.784790] iwlwifi 0000:04:00.0:                   CSR_RESET: 0X00000000
> [ 2670.784814] iwlwifi 0000:04:00.0:                CSR_GP_CNTRL: 0X080403c5
> [ 2670.784839] iwlwifi 0000:04:00.0:                  CSR_HW_REV: 0X00000024
> [ 2670.784864] iwlwifi 0000:04:00.0:              CSR_EEPROM_REG: 0X00000000
> [ 2670.784889] iwlwifi 0000:04:00.0:               CSR_EEPROM_GP: 0X90000004
> [ 2670.784914] iwlwifi 0000:04:00.0:              CSR_OTP_GP_REG: 0X00060000
> [ 2670.784938] iwlwifi 0000:04:00.0:                 CSR_GIO_REG: 0X00080042
> [ 2670.784963] iwlwifi 0000:04:00.0:            CSR_GP_UCODE_REG: 0X00007c71
> [ 2670.784988] iwlwifi 0000:04:00.0:           CSR_GP_DRIVER_REG: 0X00000000
> [ 2670.785012] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
> [ 2670.785037] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
> [ 2670.785062] iwlwifi 0000:04:00.0:                 CSR_LED_REG: 0X00000058
> [ 2670.785086] iwlwifi 0000:04:00.0:        CSR_DRAM_INT_TBL_REG: 0X8811a5a0
> [ 2670.785111] iwlwifi 0000:04:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
> [ 2670.785136] iwlwifi 0000:04:00.0:             CSR_ANA_PLL_CFG: 0X00880300
> [ 2670.785161] iwlwifi 0000:04:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
> [ 2670.785186] iwlwifi 0000:04:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
> [ 2670.785188] iwlwifi 0000:04:00.0: FH register values:
> [ 2670.785224] iwlwifi 0000:04:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X1174de00
> [ 2670.785243] iwlwifi 0000:04:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X012abbb0
> [ 2670.785261] iwlwifi 0000:04:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000048
> [ 2670.785280] iwlwifi 0000:04:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
> [ 2670.785300] iwlwifi 0000:04:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> [ 2670.785343] iwlwifi 0000:04:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X02630000
> [ 2670.785362] iwlwifi 0000:04:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> [ 2670.785380] iwlwifi 0000:04:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
> [ 2670.785389] iwlwifi 0000:04:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
> [ 2670.785389] iwlwifi 0000:04:00.0: Start IWL Event Log Dump: display last 20 entries
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638087993:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088265:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088266:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088289:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088453:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088455:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088478:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088750:0x0b15001c:0206
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088752:0x00000001:0204
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088755:0x00000001:0214
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088756:0x01002111:0209
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089055:0x00000000:0210
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089065:0x00000000:0207
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089067:0x01002111:0211
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089072:0x00000000:0212
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090106:0x00000000:0215
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090108:0x00000008:0220
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090127:0x00000000:0301
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090315:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2639090696:0x00000000:0125
> [ 2670.795643] ieee80211 phy0: Hardware restart was requested
> [ 2670.795729] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [ 2670.798779] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> 



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-01 20:27 ` Guy, Wey-Yi
@ 2011-11-01 22:08   ` Dave Jones
  2011-11-26  2:22   ` Carlos Alberto Lopez Perez
  1 sibling, 0 replies; 18+ messages in thread
From: Dave Jones @ 2011-11-01 22:08 UTC (permalink / raw)
  To: Guy, Wey-Yi; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, Nov 01, 2011 at 01:27:34PM -0700, Guy, Wey-Yi wrote:
 > Dave,
 > 
 > On Mon, 2011-10-31 at 07:34 -0700, Dave Jones wrote:
 > > I just got this trace, and a driver lockup that caused me to have to
 > > unload & reload the iwlwifi module to get networking back.
 > > hardware is..
 > > 04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
 > > 
 > > This is new as of 3.1+  (This kernel was Linus' tree as of last night)
 > > 
 > >         
 > 
 > Any more information to help us understand how to re-produce the issue?
 > without more data, it is really hard to root cause and fix it.
 > 
 > Thanks
 > Wey

Wasn't doing anything special.  ssh, firefox, git clones.

	Dave


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-22 20:47   ` Dave Jones
@ 2011-11-22 19:58     ` Guy, Wey-Yi
  2011-11-22 22:54       ` Dave Jones
  0 siblings, 1 reply; 18+ messages in thread
From: Guy, Wey-Yi @ 2011-11-22 19:58 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

Hi Dave,

Not sure what happens, feel like memory corruption but not sure. the
contain of the command is totally bogus.

Could you please test and send update, it is part of "3.2+rc2+
Regressions from 3.0 and 3.1" reports

Thanks
Wey

On Tue, 2011-11-22 at 12:47 -0800, Dave Jones wrote:
> On Tue, Nov 22, 2011 at 12:15:02PM -0800, wwguy wrote:
>  > Hi Dave,
>  > 
>  > Sorry for taking so long.
>  > it is a bogus command from the firmware which driver try to process it
>  > and cause problem. I am not sure how it happen. But could you please try
>  > the patch I attach here.
>  > 
>  > For now I am just ignore the command, but not sure it is good enough,
>  > might has to reload the firmware, but not sure.
> 
> I can try the patch. Though FYI, I've not seen this bug again since I reported it.
> 
>  > Do you have a bugzilla# I can reference to?
> 
> no.
> 
> 	Dave



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-10-31 14:34 3.1+ iwlwifi lockup Dave Jones
  2011-10-31 15:44 ` Guy, Wey-Yi
  2011-11-01 20:27 ` Guy, Wey-Yi
@ 2011-11-22 20:15 ` wwguy
  2011-11-22 20:47   ` Dave Jones
  2011-11-23  2:45   ` Dave Jones
  2011-11-22 20:16 ` wwguy
  3 siblings, 2 replies; 18+ messages in thread
From: wwguy @ 2011-11-22 20:15 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 16213 bytes --]

Hi Dave,

Sorry for taking so long.
it is a bogus command from the firmware which driver try to process it
and cause problem. I am not sure how it happen. But could you please try
the patch I attach here.

For now I am just ignore the command, but not sure it is good enough,
might has to reload the firmware, but not sure.

Thanks
Wey


On Mon, 2011-10-31 at 07:34 -0700, Dave Jones wrote:
> I just got this trace, and a driver lockup that caused me to have to
> unload & reload the iwlwifi module to get networking back.
> hardware is..
> 04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
> 
> This is new as of 3.1+  (This kernel was Linus' tree as of last night)
> 
>         Dave
> 
> [ 2669.712377] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712381] Hardware name: Adamo 13
> [ 2669.712384] wrong command queue 0 (should be 4), sequence 0x0 readp=54 writep=54
> [ 2669.712386] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712493] Pid: 2332, comm: firefox Not tainted 3.1.0+ #9
> [ 2669.712495] Call Trace:
> [ 2669.712497]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712509]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712519]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712529]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712535]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712539]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712544]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712549]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712553]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712557]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712561]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712563]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712570] ---[ end trace e86fa0935f9dc7a5 ]---
> [ 2669.712573] iwl data: 00000000: 00 00 55 55 00 00 00 00 08 53 e0 00 00 00 00 00  ..UU.....S......
> [ 2669.712577] iwl data: 00000010: 00 00 00 00 7e 04 19 00 05 00 04 00 94 07 02 00  ....~...........
> [ 2669.712619] ------------[ cut here ]------------
> [ 2669.712628] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712631] Hardware name: Adamo 13
> [ 2669.712634] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712636] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712729] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712731] Call Trace:
> [ 2669.712733]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712743]  [<ffffffff8164de90>] ? _raw_spin_unlock_irqrestore+0x40/0x90
> [ 2669.712747]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712753]  [<ffffffff810c189f>] ? trace_hardirqs_on_caller+0x1f/0x1b0
> [ 2669.712762]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712772]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712777]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712781]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712785]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712789]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712792]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712796]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712800]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712802]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712808] ---[ end trace e86fa0935f9dc7a6 ]---
> [ 2669.712811] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.712815] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.712818] ------------[ cut here ]------------
> [ 2669.712826] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712829] Hardware name: Adamo 13
> [ 2669.712832] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712834] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712925] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712928] Call Trace:
> [ 2669.712930]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712938]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712948]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712958]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712963]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712967]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712971]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712975]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712979]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712982]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712986]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712988]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712994] ---[ end trace e86fa0935f9dc7a7 ]---
> [ 2669.712997] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713018] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.713136] ------------[ cut here ]------------
> [ 2669.713146] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.713150] Hardware name: Adamo 13
> [ 2669.713153] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.713157] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.713292] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.713295] Call Trace:
> [ 2669.713297]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.713308]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.713319]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.713331]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.713337]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.713342]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.713347]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.713353]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.713357]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.713362]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.713367]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.713369]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.713377] ---[ end trace e86fa0935f9dc7a8 ]---
> [ 2669.713380] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713385] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2670.784424] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x2000000.
> [ 2670.784431] iwlwifi 0000:04:00.0: Loaded firmware version: 8.83.5.1 build 33692
> [ 2670.784556] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> [ 2670.784559] iwlwifi 0000:04:00.0: Status: 0x000412E4, count: 5
> [ 2670.784562] iwlwifi 0000:04:00.0: 0x00000005 | SYSASSERT
> [ 2670.784565] iwlwifi 0000:04:00.0: 0x000024EC | uPc
> [ 2670.784568] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink1
> [ 2670.784570] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink2
> [ 2670.784573] iwlwifi 0000:04:00.0: 0x00000916 | interruptlink1
> [ 2670.784576] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
> [ 2670.784578] iwlwifi 0000:04:00.0: 0x000000FF | data1
> [ 2670.784580] iwlwifi 0000:04:00.0: 0x00000489 | data2
> [ 2670.784583] iwlwifi 0000:04:00.0: 0x00000489 | line
> [ 2670.784585] iwlwifi 0000:04:00.0: 0x1A41414C | beacon time
> [ 2670.784588] iwlwifi 0000:04:00.0: 0x54956EB4 | tsf low
> [ 2670.784591] iwlwifi 0000:04:00.0: 0x000004FB | tsf hi
> [ 2670.784593] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
> [ 2670.784596] iwlwifi 0000:04:00.0: 0x9D4D53F1 | time gp2
> [ 2670.784598] iwlwifi 0000:04:00.0: 0x00000000 | time gp3
> [ 2670.784601] iwlwifi 0000:04:00.0: 0x00010853 | uCode version
> [ 2670.784603] iwlwifi 0000:04:00.0: 0x00000024 | hw version
> [ 2670.784606] iwlwifi 0000:04:00.0: 0x00480302 | board version
> [ 2670.784609] iwlwifi 0000:04:00.0: 0x0B15001C | hcmd
> [ 2670.784611] iwlwifi 0000:04:00.0: CSR values:
> [ 2670.784614] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> [ 2670.784641] iwlwifi 0000:04:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480302
> [ 2670.784666] iwlwifi 0000:04:00.0:          CSR_INT_COALESCING: 0X00000040
> [ 2670.784691] iwlwifi 0000:04:00.0:                     CSR_INT: 0X00000000
> [ 2670.784715] iwlwifi 0000:04:00.0:                CSR_INT_MASK: 0X00000000
> [ 2670.784740] iwlwifi 0000:04:00.0:           CSR_FH_INT_STATUS: 0X00000000
> [ 2670.784765] iwlwifi 0000:04:00.0:                 CSR_GPIO_IN: 0X00000000
> [ 2670.784790] iwlwifi 0000:04:00.0:                   CSR_RESET: 0X00000000
> [ 2670.784814] iwlwifi 0000:04:00.0:                CSR_GP_CNTRL: 0X080403c5
> [ 2670.784839] iwlwifi 0000:04:00.0:                  CSR_HW_REV: 0X00000024
> [ 2670.784864] iwlwifi 0000:04:00.0:              CSR_EEPROM_REG: 0X00000000
> [ 2670.784889] iwlwifi 0000:04:00.0:               CSR_EEPROM_GP: 0X90000004
> [ 2670.784914] iwlwifi 0000:04:00.0:              CSR_OTP_GP_REG: 0X00060000
> [ 2670.784938] iwlwifi 0000:04:00.0:                 CSR_GIO_REG: 0X00080042
> [ 2670.784963] iwlwifi 0000:04:00.0:            CSR_GP_UCODE_REG: 0X00007c71
> [ 2670.784988] iwlwifi 0000:04:00.0:           CSR_GP_DRIVER_REG: 0X00000000
> [ 2670.785012] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
> [ 2670.785037] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
> [ 2670.785062] iwlwifi 0000:04:00.0:                 CSR_LED_REG: 0X00000058
> [ 2670.785086] iwlwifi 0000:04:00.0:        CSR_DRAM_INT_TBL_REG: 0X8811a5a0
> [ 2670.785111] iwlwifi 0000:04:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
> [ 2670.785136] iwlwifi 0000:04:00.0:             CSR_ANA_PLL_CFG: 0X00880300
> [ 2670.785161] iwlwifi 0000:04:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
> [ 2670.785186] iwlwifi 0000:04:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
> [ 2670.785188] iwlwifi 0000:04:00.0: FH register values:
> [ 2670.785224] iwlwifi 0000:04:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X1174de00
> [ 2670.785243] iwlwifi 0000:04:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X012abbb0
> [ 2670.785261] iwlwifi 0000:04:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000048
> [ 2670.785280] iwlwifi 0000:04:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
> [ 2670.785300] iwlwifi 0000:04:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> [ 2670.785343] iwlwifi 0000:04:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X02630000
> [ 2670.785362] iwlwifi 0000:04:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> [ 2670.785380] iwlwifi 0000:04:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
> [ 2670.785389] iwlwifi 0000:04:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
> [ 2670.785389] iwlwifi 0000:04:00.0: Start IWL Event Log Dump: display last 20 entries
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638087993:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088265:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088266:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088289:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088453:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088455:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088478:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088750:0x0b15001c:0206
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088752:0x00000001:0204
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088755:0x00000001:0214
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088756:0x01002111:0209
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089055:0x00000000:0210
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089065:0x00000000:0207
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089067:0x01002111:0211
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089072:0x00000000:0212
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090106:0x00000000:0215
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090108:0x00000008:0220
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090127:0x00000000:0301
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090315:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2639090696:0x00000000:0125
> [ 2670.795643] ieee80211 phy0: Hardware restart was requested
> [ 2670.795729] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [ 2670.798779] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> 


[-- Attachment #2: 0001-iwlwifi-Detect-bogus-command-and-return.patch --]
[-- Type: text/x-patch, Size: 1384 bytes --]

>From 938ff5d1742cd27b66b70c2d17ec2bc4ee7d87a9 Mon Sep 17 00:00:00 2001
From: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Date: Tue, 22 Nov 2011 12:09:10 -0800
Subject: [PATCH 1/1] iwlwifi: Detect bogus command and return

If firmware error and sending bogus command, report and return.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
---
 drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
index 049e3b6..2a65407 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
@@ -925,11 +925,13 @@ void iwl_tx_cmd_complete(struct iwl_trans *trans, struct iwl_rx_mem_buffer *rxb,
 	 * command queue then there a command routing bug has been introduced
 	 * in the queue management code. */
 	if (WARN(txq_id != trans->shrd->cmd_queue,
-		 "wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n",
+		 "wrong command queue %d (should be %d), "
+		 "sequence 0x%X readp=%d writep=%d\n",
 		  txq_id, trans->shrd->cmd_queue, sequence,
 		  trans_pcie->txq[trans->shrd->cmd_queue].q.read_ptr,
 		  trans_pcie->txq[trans->shrd->cmd_queue].q.write_ptr)) {
 		iwl_print_hex_error(trans, pkt, 32);
+		rxb->page = NULL;
 		return;
 	}
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-10-31 14:34 3.1+ iwlwifi lockup Dave Jones
                   ` (2 preceding siblings ...)
  2011-11-22 20:15 ` wwguy
@ 2011-11-22 20:16 ` wwguy
  3 siblings, 0 replies; 18+ messages in thread
From: wwguy @ 2011-11-22 20:16 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

Hi Dave,

Do you have a bugzilla# I can reference to?

Thanks
Wey

On Mon, 2011-10-31 at 07:34 -0700, Dave Jones wrote:
> I just got this trace, and a driver lockup that caused me to have to
> unload & reload the iwlwifi module to get networking back.
> hardware is..
> 04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
> 
> This is new as of 3.1+  (This kernel was Linus' tree as of last night)
> 
>         Dave
> 
> [ 2669.712377] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712381] Hardware name: Adamo 13
> [ 2669.712384] wrong command queue 0 (should be 4), sequence 0x0 readp=54 writep=54
> [ 2669.712386] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712493] Pid: 2332, comm: firefox Not tainted 3.1.0+ #9
> [ 2669.712495] Call Trace:
> [ 2669.712497]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712509]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712519]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712529]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712535]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712539]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712544]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712549]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712553]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712557]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712561]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712563]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712570] ---[ end trace e86fa0935f9dc7a5 ]---
> [ 2669.712573] iwl data: 00000000: 00 00 55 55 00 00 00 00 08 53 e0 00 00 00 00 00  ..UU.....S......
> [ 2669.712577] iwl data: 00000010: 00 00 00 00 7e 04 19 00 05 00 04 00 94 07 02 00  ....~...........
> [ 2669.712619] ------------[ cut here ]------------
> [ 2669.712628] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712631] Hardware name: Adamo 13
> [ 2669.712634] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712636] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712729] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712731] Call Trace:
> [ 2669.712733]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712743]  [<ffffffff8164de90>] ? _raw_spin_unlock_irqrestore+0x40/0x90
> [ 2669.712747]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712753]  [<ffffffff810c189f>] ? trace_hardirqs_on_caller+0x1f/0x1b0
> [ 2669.712762]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712772]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712777]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712781]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712785]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712789]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712792]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712796]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712800]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712802]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712808] ---[ end trace e86fa0935f9dc7a6 ]---
> [ 2669.712811] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.712815] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.712818] ------------[ cut here ]------------
> [ 2669.712826] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.712829] Hardware name: Adamo 13
> [ 2669.712832] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.712834] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.712925] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.712928] Call Trace:
> [ 2669.712930]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.712938]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.712948]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.712958]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.712963]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.712967]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.712971]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.712975]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.712979]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.712982]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.712986]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.712988]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.712994] ---[ end trace e86fa0935f9dc7a7 ]---
> [ 2669.712997] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713018] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2669.713136] ------------[ cut here ]------------
> [ 2669.713146] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c:927 iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]()
> [ 2669.713150] Hardware name: Adamo 13
> [ 2669.713153] wrong command queue 11 (should be 4), sequence 0x6B6B readp=54 writep=54
> [ 2669.713157] Modules linked in: nfs fscache auth_rpcgss nfs_acl ppdev parport_pc lp parport fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc lockd bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables arc4 dell_wmi sparse_keymap uvcvideo videodev snd_usb_audio v4l2_compat_ioctl32 snd_usbmidi_lib cdc_ether snd_rawmidi cdc_wdm usbnet cdc_acm mii snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device dell_laptop iwlwifi dcdbas microcode snd_pcm mac80211 joydev i2c_i801 pcspkr snd_timer iTCO_wdt iTCO_vendor_support snd soundcore cfg80211 snd_page_alloc tg3 rfkill wmi virtio_net kvm_intel kvm uinput sunrpc ipv6 xts gf128mul dm_crypt i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
> [ 2669.713292] Pid: 2332, comm: firefox Tainted: G        W   3.1.0+ #9
> [ 2669.713295] Call Trace:
> [ 2669.713297]  <IRQ>  [<ffffffff8107d16f>] warn_slowpath_common+0x7f/0xc0
> [ 2669.713308]  [<ffffffff8107d266>] warn_slowpath_fmt+0x46/0x50
> [ 2669.713319]  [<ffffffffa038090e>] iwl_tx_cmd_complete+0x2ee/0x330 [iwlwifi]
> [ 2669.713331]  [<ffffffffa037e280>] iwl_irq_tasklet+0x210/0x8e0 [iwlwifi]
> [ 2669.713337]  [<ffffffff810851fd>] tasklet_action+0x9d/0x240
> [ 2669.713342]  [<ffffffff81085e28>] __do_softirq+0xc8/0x3d0
> [ 2669.713347]  [<ffffffff81657f3c>] call_softirq+0x1c/0x30
> [ 2669.713353]  [<ffffffff8101c735>] do_softirq+0xa5/0xe0
> [ 2669.713357]  [<ffffffff810864a6>] irq_exit+0xa6/0xf0
> [ 2669.713362]  [<ffffffff81658813>] do_IRQ+0x63/0xd0
> [ 2669.713367]  [<ffffffff8164e5f3>] common_interrupt+0x73/0x73
> [ 2669.713369]  <EOI>  [<ffffffff81655c7a>] ? sysret_check+0x2e/0x69
> [ 2669.713377] ---[ end trace e86fa0935f9dc7a8 ]---
> [ 2669.713380] iwl data: 00000000: 00 00 55 55 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  ..UUkkkkkkkkkkkk
> [ 2669.713385] iwl data: 00000010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk
> [ 2670.784424] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x2000000.
> [ 2670.784431] iwlwifi 0000:04:00.0: Loaded firmware version: 8.83.5.1 build 33692
> [ 2670.784556] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
> [ 2670.784559] iwlwifi 0000:04:00.0: Status: 0x000412E4, count: 5
> [ 2670.784562] iwlwifi 0000:04:00.0: 0x00000005 | SYSASSERT
> [ 2670.784565] iwlwifi 0000:04:00.0: 0x000024EC | uPc
> [ 2670.784568] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink1
> [ 2670.784570] iwlwifi 0000:04:00.0: 0x000024C8 | branchlink2
> [ 2670.784573] iwlwifi 0000:04:00.0: 0x00000916 | interruptlink1
> [ 2670.784576] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
> [ 2670.784578] iwlwifi 0000:04:00.0: 0x000000FF | data1
> [ 2670.784580] iwlwifi 0000:04:00.0: 0x00000489 | data2
> [ 2670.784583] iwlwifi 0000:04:00.0: 0x00000489 | line
> [ 2670.784585] iwlwifi 0000:04:00.0: 0x1A41414C | beacon time
> [ 2670.784588] iwlwifi 0000:04:00.0: 0x54956EB4 | tsf low
> [ 2670.784591] iwlwifi 0000:04:00.0: 0x000004FB | tsf hi
> [ 2670.784593] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
> [ 2670.784596] iwlwifi 0000:04:00.0: 0x9D4D53F1 | time gp2
> [ 2670.784598] iwlwifi 0000:04:00.0: 0x00000000 | time gp3
> [ 2670.784601] iwlwifi 0000:04:00.0: 0x00010853 | uCode version
> [ 2670.784603] iwlwifi 0000:04:00.0: 0x00000024 | hw version
> [ 2670.784606] iwlwifi 0000:04:00.0: 0x00480302 | board version
> [ 2670.784609] iwlwifi 0000:04:00.0: 0x0B15001C | hcmd
> [ 2670.784611] iwlwifi 0000:04:00.0: CSR values:
> [ 2670.784614] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> [ 2670.784641] iwlwifi 0000:04:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480302
> [ 2670.784666] iwlwifi 0000:04:00.0:          CSR_INT_COALESCING: 0X00000040
> [ 2670.784691] iwlwifi 0000:04:00.0:                     CSR_INT: 0X00000000
> [ 2670.784715] iwlwifi 0000:04:00.0:                CSR_INT_MASK: 0X00000000
> [ 2670.784740] iwlwifi 0000:04:00.0:           CSR_FH_INT_STATUS: 0X00000000
> [ 2670.784765] iwlwifi 0000:04:00.0:                 CSR_GPIO_IN: 0X00000000
> [ 2670.784790] iwlwifi 0000:04:00.0:                   CSR_RESET: 0X00000000
> [ 2670.784814] iwlwifi 0000:04:00.0:                CSR_GP_CNTRL: 0X080403c5
> [ 2670.784839] iwlwifi 0000:04:00.0:                  CSR_HW_REV: 0X00000024
> [ 2670.784864] iwlwifi 0000:04:00.0:              CSR_EEPROM_REG: 0X00000000
> [ 2670.784889] iwlwifi 0000:04:00.0:               CSR_EEPROM_GP: 0X90000004
> [ 2670.784914] iwlwifi 0000:04:00.0:              CSR_OTP_GP_REG: 0X00060000
> [ 2670.784938] iwlwifi 0000:04:00.0:                 CSR_GIO_REG: 0X00080042
> [ 2670.784963] iwlwifi 0000:04:00.0:            CSR_GP_UCODE_REG: 0X00007c71
> [ 2670.784988] iwlwifi 0000:04:00.0:           CSR_GP_DRIVER_REG: 0X00000000
> [ 2670.785012] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
> [ 2670.785037] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
> [ 2670.785062] iwlwifi 0000:04:00.0:                 CSR_LED_REG: 0X00000058
> [ 2670.785086] iwlwifi 0000:04:00.0:        CSR_DRAM_INT_TBL_REG: 0X8811a5a0
> [ 2670.785111] iwlwifi 0000:04:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
> [ 2670.785136] iwlwifi 0000:04:00.0:             CSR_ANA_PLL_CFG: 0X00880300
> [ 2670.785161] iwlwifi 0000:04:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
> [ 2670.785186] iwlwifi 0000:04:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
> [ 2670.785188] iwlwifi 0000:04:00.0: FH register values:
> [ 2670.785224] iwlwifi 0000:04:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X1174de00
> [ 2670.785243] iwlwifi 0000:04:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X012abbb0
> [ 2670.785261] iwlwifi 0000:04:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000048
> [ 2670.785280] iwlwifi 0000:04:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
> [ 2670.785300] iwlwifi 0000:04:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> [ 2670.785343] iwlwifi 0000:04:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X02630000
> [ 2670.785362] iwlwifi 0000:04:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> [ 2670.785380] iwlwifi 0000:04:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
> [ 2670.785389] iwlwifi 0000:04:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
> [ 2670.785389] iwlwifi 0000:04:00.0: Start IWL Event Log Dump: display last 20 entries
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638087993:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088265:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088266:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088289:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088453:0x00000113:0106
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088455:0x00000000:0302
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088478:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088750:0x0b15001c:0206
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088752:0x00000001:0204
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088755:0x00000001:0214
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638088756:0x01002111:0209
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089055:0x00000000:0210
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089065:0x00000000:0207
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089067:0x01002111:0211
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638089072:0x00000000:0212
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090106:0x00000000:0215
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090108:0x00000008:0220
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090127:0x00000000:0301
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2638090315:0x00000000:0355
> [ 2670.785389] iwlwifi 0000:04:00.0: EVT_LOGT:2639090696:0x00000000:0125
> [ 2670.795643] ieee80211 phy0: Hardware restart was requested
> [ 2670.795729] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [ 2670.798779] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> 



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-22 20:15 ` wwguy
@ 2011-11-22 20:47   ` Dave Jones
  2011-11-22 19:58     ` Guy, Wey-Yi
  2011-11-23  2:45   ` Dave Jones
  1 sibling, 1 reply; 18+ messages in thread
From: Dave Jones @ 2011-11-22 20:47 UTC (permalink / raw)
  To: wwguy; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, Nov 22, 2011 at 12:15:02PM -0800, wwguy wrote:
 > Hi Dave,
 > 
 > Sorry for taking so long.
 > it is a bogus command from the firmware which driver try to process it
 > and cause problem. I am not sure how it happen. But could you please try
 > the patch I attach here.
 > 
 > For now I am just ignore the command, but not sure it is good enough,
 > might has to reload the firmware, but not sure.

I can try the patch. Though FYI, I've not seen this bug again since I reported it.

 > Do you have a bugzilla# I can reference to?

no.

	Dave

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-22 22:54       ` Dave Jones
@ 2011-11-22 22:49         ` wwguy
  0 siblings, 0 replies; 18+ messages in thread
From: wwguy @ 2011-11-22 22:49 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, 2011-11-22 at 14:54 -0800, Dave Jones wrote:
> On Tue, Nov 22, 2011 at 11:58:36AM -0800, Guy, Wey-Yi wrote:
>  > Hi Dave,
>  > 
>  > Not sure what happens, feel like memory corruption but not sure. the
>  > contain of the command is totally bogus.
>  > 
>  > Could you please test and send update, it is part of "3.2+rc2+
>  > Regressions from 3.0 and 3.1" reports
>  
> Will do.
> 
> Not sure if it's a helpful data point, but the access point is
> an apple airport (in case that's sending something strange that
> confused the firmware).

not sure, but something to keep in-mind for sure.

Thanks for the help.

Wey

>  



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-22 19:58     ` Guy, Wey-Yi
@ 2011-11-22 22:54       ` Dave Jones
  2011-11-22 22:49         ` wwguy
  0 siblings, 1 reply; 18+ messages in thread
From: Dave Jones @ 2011-11-22 22:54 UTC (permalink / raw)
  To: Guy, Wey-Yi; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, Nov 22, 2011 at 11:58:36AM -0800, Guy, Wey-Yi wrote:
 > Hi Dave,
 > 
 > Not sure what happens, feel like memory corruption but not sure. the
 > contain of the command is totally bogus.
 > 
 > Could you please test and send update, it is part of "3.2+rc2+
 > Regressions from 3.0 and 3.1" reports
 
Will do.

Not sure if it's a helpful data point, but the access point is
an apple airport (in case that's sending something strange that
confused the firmware).

	Dave
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-23  2:45   ` Dave Jones
@ 2011-11-23  2:29     ` Guy, Wey-Yi
  2011-11-23  3:34       ` Dave Jones
  0 siblings, 1 reply; 18+ messages in thread
From: Guy, Wey-Yi @ 2011-11-23  2:29 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

Dave,

On Tue, 2011-11-22 at 18:45 -0800, Dave Jones wrote:
> On Tue, Nov 22, 2011 at 12:15:02PM -0800, wwguy wrote:
>  > Hi Dave,
>  > 
>  > Sorry for taking so long.
>  > it is a bogus command from the firmware which driver try to process it
>  > and cause problem. I am not sure how it happen. But could you please try
>  > the patch I attach here.
>  > 
>  > For now I am just ignore the command, but not sure it is good enough,
>  > might has to reload the firmware, but not sure.
> 
> With Linus' current tree and this patch, I got a panic pretty quickly,
> but with a different trace.
> 
Are you seeing the problem without this patch? I guess the patch I done
here is not the right thing to do and I try to address the problem too
aggressively

Thanks
Wey.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-22 20:15 ` wwguy
  2011-11-22 20:47   ` Dave Jones
@ 2011-11-23  2:45   ` Dave Jones
  2011-11-23  2:29     ` Guy, Wey-Yi
  1 sibling, 1 reply; 18+ messages in thread
From: Dave Jones @ 2011-11-23  2:45 UTC (permalink / raw)
  To: wwguy; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, Nov 22, 2011 at 12:15:02PM -0800, wwguy wrote:
 > Hi Dave,
 > 
 > Sorry for taking so long.
 > it is a bogus command from the firmware which driver try to process it
 > and cause problem. I am not sure how it happen. But could you please try
 > the patch I attach here.
 > 
 > For now I am just ignore the command, but not sure it is good enough,
 > might has to reload the firmware, but not sure.

With Linus' current tree and this patch, I got a panic pretty quickly,
but with a different trace.

https://twitpic.com/7i4o10

	Dave


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-23  3:34       ` Dave Jones
@ 2011-11-23  2:56         ` Guy, Wey-Yi
  2011-11-23  4:17           ` Dave Jones
  0 siblings, 1 reply; 18+ messages in thread
From: Guy, Wey-Yi @ 2011-11-23  2:56 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, 2011-11-22 at 19:34 -0800, Dave Jones wrote:
> On Tue, Nov 22, 2011 at 06:29:40PM -0800, Guy, Wey-Yi wrote:
>  
>  > On Tue, 2011-11-22 at 18:45 -0800, Dave Jones wrote:
>  > > On Tue, Nov 22, 2011 at 12:15:02PM -0800, wwguy wrote:
>  > >  > Hi Dave,
>  > >  > 
>  > >  > Sorry for taking so long.
>  > >  > it is a bogus command from the firmware which driver try to process it
>  > >  > and cause problem. I am not sure how it happen. But could you please try
>  > >  > the patch I attach here.
>  > >  > 
>  > >  > For now I am just ignore the command, but not sure it is good enough,
>  > >  > might has to reload the firmware, but not sure.
>  > > 
>  > > With Linus' current tree and this patch, I got a panic pretty quickly,
>  > > but with a different trace.
>  > > 
>  > Are you seeing the problem without this patch? I guess the patch I done
>  > here is not the right thing to do and I try to address the problem too
>  > aggressively
> 
> I've been running Linus' current tree for the whole time and haven't seen
> any iwlwifi traces since my initial report on the 11th.
> 
> I can't reproduce the bug, even by doing the same operation
> (an scp of a dozen photographs).
> 
> It seems to happen almost at random, as if it's somehow timing related.
> I'm running the patched kernel again now, and it's been fine for the last hour.
> 
Agree, that is why I could not re-produce here after many try. Could you
share your configuration, such as band/channel, 32/64 bit system, 20/40
MHz, traffic type, open/security, power management, ..., 

Thanks
Wey
> 



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-23  2:29     ` Guy, Wey-Yi
@ 2011-11-23  3:34       ` Dave Jones
  2011-11-23  2:56         ` Guy, Wey-Yi
  0 siblings, 1 reply; 18+ messages in thread
From: Dave Jones @ 2011-11-23  3:34 UTC (permalink / raw)
  To: Guy, Wey-Yi; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, Nov 22, 2011 at 06:29:40PM -0800, Guy, Wey-Yi wrote:
 
 > On Tue, 2011-11-22 at 18:45 -0800, Dave Jones wrote:
 > > On Tue, Nov 22, 2011 at 12:15:02PM -0800, wwguy wrote:
 > >  > Hi Dave,
 > >  > 
 > >  > Sorry for taking so long.
 > >  > it is a bogus command from the firmware which driver try to process it
 > >  > and cause problem. I am not sure how it happen. But could you please try
 > >  > the patch I attach here.
 > >  > 
 > >  > For now I am just ignore the command, but not sure it is good enough,
 > >  > might has to reload the firmware, but not sure.
 > > 
 > > With Linus' current tree and this patch, I got a panic pretty quickly,
 > > but with a different trace.
 > > 
 > Are you seeing the problem without this patch? I guess the patch I done
 > here is not the right thing to do and I try to address the problem too
 > aggressively

I've been running Linus' current tree for the whole time and haven't seen
any iwlwifi traces since my initial report on the 11th.

I can't reproduce the bug, even by doing the same operation
(an scp of a dozen photographs).

It seems to happen almost at random, as if it's somehow timing related.
I'm running the patched kernel again now, and it's been fine for the last hour.

	Dave


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-23  2:56         ` Guy, Wey-Yi
@ 2011-11-23  4:17           ` Dave Jones
  2011-11-24 15:00             ` Emmanuel Grumbach
  2011-11-25 12:11             ` Emmanuel Grumbach
  0 siblings, 2 replies; 18+ messages in thread
From: Dave Jones @ 2011-11-23  4:17 UTC (permalink / raw)
  To: Guy, Wey-Yi; +Cc: Linux Kernel, ilw, linux-wireless

On Tue, Nov 22, 2011 at 06:56:05PM -0800, Guy, Wey-Yi wrote:
 > Agree, that is why I could not re-produce here after many try. Could you
 > share your configuration, such as 

 > band/channel

Channel:1
Frequency:2.412 GHz (Channel 1)

 > 32/64 bit system

64bit. It's a Dell Adamo laptop.

 > 20/40 MHz

not sure how to find out what you're looking for.

 > traffic type

last triggered it with just ssh.

 > open/security

IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher : CCMP
    Pairwise Ciphers (1) : CCMP
    Authentication Suites (1) : PSK

 > power management

nothing special. everything is default.

all messages related to iwlwifi in dmesg are below..

	Dave

[   24.423300] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[   24.425560] Copyright(c) 2003-2011 Intel Corporation
[   24.428667] iwlwifi 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   24.437959] iwlwifi 0000:04:00.0: setting latency timer to 64
[   24.438108] iwlwifi 0000:04:00.0: pci_resource_len = 0x00002000
[   24.444058] iwlwifi 0000:04:00.0: pci_resource_base = ffffc90011574000
[   24.445823] iwlwifi 0000:04:00.0: HW Revision ID = 0x0
[   24.447695] iwlwifi 0000:04:00.0: irq 46 for MSI/MSI-X
[   24.447896] iwlwifi 0000:04:00.0: Detected Intel(R) Ultimate N WiFi Link 5300 AGN, REV=0x24
[   24.453070] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
[   24.486217] iwlwifi 0000:04:00.0: device EEPROM VER=0x120, CALIB=0x4
[   24.489176] iwlwifi 0000:04:00.0: Device SKU: 0Xf0
[   24.490778] iwlwifi 0000:04:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[   24.520548] iwlwifi 0000:04:00.0: loaded firmware version 8.83.5.1 build 33692
[   39.229498] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
[   39.240818] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
[   39.607327] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
[   39.613424] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
[  210.248807] iwlwifi 0000:04:00.0: Tx aggregation enabled on ra = b8:c7:5d:0c:39:87 tid = 6


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-23  4:17           ` Dave Jones
@ 2011-11-24 15:00             ` Emmanuel Grumbach
  2011-11-25 12:11             ` Emmanuel Grumbach
  1 sibling, 0 replies; 18+ messages in thread
From: Emmanuel Grumbach @ 2011-11-24 15:00 UTC (permalink / raw)
  To: Dave Jones, Guy, Wey-Yi, Linux Kernel, ilw, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 2670 bytes --]

Hi,

can you please that one ?
it solves a race in mac80211 (thanks to Johannes) ?

It should solved the annoying WARN_ON about the bad shape of the AGG
state machine.

Thanks

Emmanuel Grumbach
egrumbach@gmail.com



On Wed, Nov 23, 2011 at 06:17, Dave Jones <davej@redhat.com> wrote:
> On Tue, Nov 22, 2011 at 06:56:05PM -0800, Guy, Wey-Yi wrote:
>  > Agree, that is why I could not re-produce here after many try. Could you
>  > share your configuration, such as
>
>  > band/channel
>
> Channel:1
> Frequency:2.412 GHz (Channel 1)
>
>  > 32/64 bit system
>
> 64bit. It's a Dell Adamo laptop.
>
>  > 20/40 MHz
>
> not sure how to find out what you're looking for.
>
>  > traffic type
>
> last triggered it with just ssh.
>
>  > open/security
>
> IE: IEEE 802.11i/WPA2 Version 1
>    Group Cipher : CCMP
>    Pairwise Ciphers (1) : CCMP
>    Authentication Suites (1) : PSK
>
>  > power management
>
> nothing special. everything is default.
>
> all messages related to iwlwifi in dmesg are below..
>
>        Dave
>
> [   24.423300] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
> [   24.425560] Copyright(c) 2003-2011 Intel Corporation
> [   24.428667] iwlwifi 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> [   24.437959] iwlwifi 0000:04:00.0: setting latency timer to 64
> [   24.438108] iwlwifi 0000:04:00.0: pci_resource_len = 0x00002000
> [   24.444058] iwlwifi 0000:04:00.0: pci_resource_base = ffffc90011574000
> [   24.445823] iwlwifi 0000:04:00.0: HW Revision ID = 0x0
> [   24.447695] iwlwifi 0000:04:00.0: irq 46 for MSI/MSI-X
> [   24.447896] iwlwifi 0000:04:00.0: Detected Intel(R) Ultimate N WiFi Link 5300 AGN, REV=0x24
> [   24.453070] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [   24.486217] iwlwifi 0000:04:00.0: device EEPROM VER=0x120, CALIB=0x4
> [   24.489176] iwlwifi 0000:04:00.0: Device SKU: 0Xf0
> [   24.490778] iwlwifi 0000:04:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
> [   24.520548] iwlwifi 0000:04:00.0: loaded firmware version 8.83.5.1 build 33692
> [   39.229498] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [   39.240818] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> [   39.607327] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [   39.613424] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> [  210.248807] iwlwifi 0000:04:00.0: Tx aggregation enabled on ra = b8:c7:5d:0c:39:87 tid = 6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

[-- Attachment #2: sync_tx_stop.patch --]
[-- Type: text/x-patch, Size: 382 bytes --]

diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c
index 39d72cc..2dbed79 100644
--- a/net/mac80211/agg-tx.c
+++ b/net/mac80211/agg-tx.c
@@ -188,6 +188,8 @@ int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
 	 */
 	clear_bit(HT_AGG_STATE_OPERATIONAL, &tid_tx->state);
 
+	synchronize_net();
+
 	tid_tx->stop_initiator = initiator;
 	tid_tx->tx_stop = tx;
 

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-23  4:17           ` Dave Jones
  2011-11-24 15:00             ` Emmanuel Grumbach
@ 2011-11-25 12:11             ` Emmanuel Grumbach
  1 sibling, 0 replies; 18+ messages in thread
From: Emmanuel Grumbach @ 2011-11-25 12:11 UTC (permalink / raw)
  To: Dave Jones, Guy, Wey-Yi, Linux Kernel, ilw, linux-wireless

Hi

I looked again at your stack strace, we need more debug. Please enable
Rx debug flag: 0x1000000.

What is happening here is that the HW (the Flow Handler for instance),
is closing an empty RB (Receive Buffer). The beginning of the buffer
is 0x00005555 which is the maker of "End of Buffer" of the Flow
Handler. The marker helps the driver to understand that there is no
more useful data in the buffer.
So basically what we are seeing here is that the FH is sending an
empty buffer. Which is not nice.
This can very well be a bug in the read / write pointers in the Rx
flow, or something in that region.

On Wed, Nov 23, 2011 at 06:17, Dave Jones <davej@redhat.com> wrote:
> On Tue, Nov 22, 2011 at 06:56:05PM -0800, Guy, Wey-Yi wrote:
>  > Agree, that is why I could not re-produce here after many try. Could you
>  > share your configuration, such as
>
>  > band/channel
>
> Channel:1
> Frequency:2.412 GHz (Channel 1)
>
>  > 32/64 bit system
>
> 64bit. It's a Dell Adamo laptop.
>
>  > 20/40 MHz
>
> not sure how to find out what you're looking for.
>
>  > traffic type
>
> last triggered it with just ssh.
>
>  > open/security
>
> IE: IEEE 802.11i/WPA2 Version 1
>    Group Cipher : CCMP
>    Pairwise Ciphers (1) : CCMP
>    Authentication Suites (1) : PSK
>
>  > power management
>
> nothing special. everything is default.
>
> all messages related to iwlwifi in dmesg are below..
>
>        Dave
>
> [   24.423300] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
> [   24.425560] Copyright(c) 2003-2011 Intel Corporation
> [   24.428667] iwlwifi 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> [   24.437959] iwlwifi 0000:04:00.0: setting latency timer to 64
> [   24.438108] iwlwifi 0000:04:00.0: pci_resource_len = 0x00002000
> [   24.444058] iwlwifi 0000:04:00.0: pci_resource_base = ffffc90011574000
> [   24.445823] iwlwifi 0000:04:00.0: HW Revision ID = 0x0
> [   24.447695] iwlwifi 0000:04:00.0: irq 46 for MSI/MSI-X
> [   24.447896] iwlwifi 0000:04:00.0: Detected Intel(R) Ultimate N WiFi Link 5300 AGN, REV=0x24
> [   24.453070] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [   24.486217] iwlwifi 0000:04:00.0: device EEPROM VER=0x120, CALIB=0x4
> [   24.489176] iwlwifi 0000:04:00.0: Device SKU: 0Xf0
> [   24.490778] iwlwifi 0000:04:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
> [   24.520548] iwlwifi 0000:04:00.0: loaded firmware version 8.83.5.1 build 33692
> [   39.229498] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [   39.240818] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> [   39.607327] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S
> [   39.613424] iwlwifi 0000:04:00.0: Radio type=0x0-0x2-0x0
> [  210.248807] iwlwifi 0000:04:00.0: Tx aggregation enabled on ra = b8:c7:5d:0c:39:87 tid = 6

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: 3.1+ iwlwifi lockup
  2011-11-01 20:27 ` Guy, Wey-Yi
  2011-11-01 22:08   ` Dave Jones
@ 2011-11-26  2:22   ` Carlos Alberto Lopez Perez
  1 sibling, 0 replies; 18+ messages in thread
From: Carlos Alberto Lopez Perez @ 2011-11-26  2:22 UTC (permalink / raw)
  To: Guy, Wey-Yi; +Cc: Dave Jones, Linux Kernel, ilw, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

On 01/11/11 21:27, Guy, Wey-Yi wrote:
> Any more information to help us understand how to re-produce the issue?
> without more data, it is really hard to root cause and fix it.
> 
> Thanks
> Wey


This bug (or a related one) triggers on my laptop (Dell Latitude E6420)
since I switched from Kernel 3.0-debian to 3.1-debian (AMD64). I believe
that the bugs happens after waking up from the suspension-to-RAM.

Since I switched to 3.1 Kernel after waking up from suspension my laptop
freezes very often and I need to hard reboot it, this is really
annoying. This wasn't happening with 3.0 Kernel and I believe that
iwlagn is the cause.

I have an Intel Advanced-N 6205 (rev 34) wireless card.

The other day I was able to get the following kernel errors after waking
up from suspension with this 3.1 kernel[1]

This 3.1 Kernel is the Debian precompiled one (linux-image-3.1.0-1-amd64)

$ uname -r
3.1.0-1-amd64


[1] Find here the dmesg part that comes after the wakeup from suspension:

http://people.igalia.com/clopez/iwlagn_dmesg_3.1.log.txt


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-11-26  2:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-31 14:34 3.1+ iwlwifi lockup Dave Jones
2011-10-31 15:44 ` Guy, Wey-Yi
2011-11-01 20:27 ` Guy, Wey-Yi
2011-11-01 22:08   ` Dave Jones
2011-11-26  2:22   ` Carlos Alberto Lopez Perez
2011-11-22 20:15 ` wwguy
2011-11-22 20:47   ` Dave Jones
2011-11-22 19:58     ` Guy, Wey-Yi
2011-11-22 22:54       ` Dave Jones
2011-11-22 22:49         ` wwguy
2011-11-23  2:45   ` Dave Jones
2011-11-23  2:29     ` Guy, Wey-Yi
2011-11-23  3:34       ` Dave Jones
2011-11-23  2:56         ` Guy, Wey-Yi
2011-11-23  4:17           ` Dave Jones
2011-11-24 15:00             ` Emmanuel Grumbach
2011-11-25 12:11             ` Emmanuel Grumbach
2011-11-22 20:16 ` wwguy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).