linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Norbert Preining <preining@logic.at>
To: Emmanuel Grumbach <egrumbach@gmail.com>
Cc: "Guy, Wey-Yi" <wey-yi.w.guy@intel.com>,
	David Rientjes <rientjes@google.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"ipw3945-devel@lists.sourceforge.net" 
	<ipw3945-devel@lists.sourceforge.net>,
	"ilw@linux.intel.com" <ilw@linux.intel.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Pekka Enberg <penberg@cs.helsinki.fi>
Subject: Re: iwlagn is getting very shaky
Date: Tue, 22 Nov 2011 09:24:09 +0900	[thread overview]
Message-ID: <20111122002409.GA6936@gamma.logic.tuwien.ac.at> (raw)
In-Reply-To: <20111121232454.GC840@gamma.logic.tuwien.ac.at>

On Di, 22 Nov 2011, Norbert Preining wrote:
> On Mo, 21 Nov 2011, Emmanuel Grumbach wrote:
> > iwlwifi: add debug information on queue stop / wake
> > 
> > and run with debug flags 0x80000000 (bit 31)
> > This will print a message each time a queue is stopped / started.
> 
> I have these patches in addition to current git:

BTW, I just rebuild my kernel from current git, where there were some
fixes from Johannes Berg for mac80211 etc:
Johannes Berg (7):
      nl80211: fix HT capability attribute validation
      cfg80211: allow setting TXQ parameters only in AP mode
      cfg80211: fix cmp_ies
      cfg80211: fix missing kernel-doc
      mac80211: fix NULL dereference in radiotap code
      mac80211: fix bug in ieee80211_build_probe_req
      mac80211: fix race between connection monitor & suspend

But it did NOT help. Even after reboot I got a hanging queue, in addition
I got some more BUGs in ext3 code (ouch) and the usual in iwl-trans-pcie.c:1105:
[   57.555697] wlan0: associated
[   78.009471] iwlwifi 0000:06:00.0: Tx aggregation enabled on ra = 00:0a:79:eb:56:10 tid = 0
[   78.009494] ------------[ cut here ]------------
[   78.009536] WARNING: at drivers/net/wireless/iwlwifi/iwl-trans-pcie.c:1105 iwl_trans_pcie_tx+0x180/0x661 [iwlwifi]()
[   78.009545] Hardware name: VGN-Z11VN_B
[   78.009550] Modules linked in: rfcomm bnep bluetooth crc16 snd_hrtimer vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) binfmt_misc dm_crypt dm_mod btrfs zlib_deflate crc32c libcrc32c vfat fat fuse loop(+) uinput snd_hda_codec_realtek arc4 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm mxm_wmi snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device iwlwifi firewire_ohci joydev snd firewire_core crc_itu_t mac80211 sony_laptop(O) cfg80211 soundcore snd_page_alloc rfkill tpm_infineon
[   78.009674] Pid: 717, comm: kworker/u:3 Tainted: G      D    O 3.2.0-rc2+ #47
[   78.009681] Call Trace:
[   78.009686]  <IRQ>  [<ffffffff810384c5>] warn_slowpath_common+0x83/0x9b
[   78.009712]  [<ffffffff810384f7>] warn_slowpath_null+0x1a/0x1c
[   78.009736]  [<ffffffffa00f9ae3>] iwl_trans_pcie_tx+0x180/0x661 [iwlwifi]
[   78.009750]  [<ffffffff810d38e5>] ? kmem_cache_alloc+0x44/0xb9
[   78.009772]  [<ffffffffa00e1a1d>] iwlagn_tx_skb+0x87b/0x91b [iwlwifi]
[   78.009791]  [<ffffffffa00d7f8c>] iwlagn_mac_tx+0x131/0x1a2 [iwlwifi]
[   78.009814]  [<ffffffffa007bc56>] ? ieee80211_tx_h_fragment+0x16/0x22c [mac80211]
[   78.009826]  [<ffffffff811a3884>] ? is_swiotlb_buffer+0x29/0x38
[   78.009856]  [<ffffffffa006ff94>] __ieee80211_tx+0x176/0x1cf [mac80211]
[   78.009876]  [<ffffffffa007bbc8>] ? ieee80211_tx_h_calculate_duration+0x4c/0x65 [mac80211]
[   78.009906]  [<ffffffffa0070d5a>] ieee80211_tx+0x97/0xaf [mac80211]
[   78.009938]  [<ffffffffa0071c56>] ieee80211_tx_pending+0xf0/0x1c3 [mac80211]
[   78.009950]  [<ffffffff8103dc3e>] tasklet_action+0x77/0xc2
[   78.009959]  [<ffffffff8103dd7f>] __do_softirq+0xbc/0x1a5
[   78.009972]  [<ffffffff8140b00c>] call_softirq+0x1c/0x30
[   78.009978]  <EOI>  [<ffffffff8100359e>] do_softirq+0x38/0x6e
[   78.009995]  [<ffffffff8103da45>] _local_bh_enable_ip.isra.12+0x7d/0xa0
[   78.010004]  [<ffffffff8103da76>] local_bh_enable_ip+0xe/0x10
[   78.010014]  [<ffffffff8140921a>] _raw_spin_unlock_bh+0x23/0x25
[   78.010039]  [<ffffffffa005fc64>] ieee80211_agg_tx_operational+0x99/0xa4 [mac80211]
[   78.010065]  [<ffffffffa00607b2>] ieee80211_process_addba_resp+0xb8/0xf2 [mac80211]
[   78.010077]  [<ffffffff81064840>] ? do_raw_spin_lock+0x16/0x22
[   78.010104]  [<ffffffffa0067a82>] ieee80211_iface_work+0x130/0x2b5 [mac80211]
[   78.010132]  [<ffffffffa0067952>] ? ieee80211_teardown_sdata+0xcc/0xcc [mac80211]
[   78.010145]  [<ffffffff8104de7c>] process_one_work+0x17b/0x2bd
[   78.010154]  [<ffffffff8104c4c1>] ? need_to_create_worker+0x12/0x26
[   78.010165]  [<ffffffff8104ef77>] worker_thread+0xdb/0x15f
[   78.010174]  [<ffffffff8104ee9c>] ? manage_workers.isra.24+0x171/0x171
[   78.010184]  [<ffffffff8105265d>] kthread+0x84/0x8c
[   78.010195]  [<ffffffff8140af14>] kernel_thread_helper+0x4/0x10
[   78.010206]  [<ffffffff810525d9>] ? kthread_worker_fn+0x148/0x148
[   78.010215]  [<ffffffff8140af10>] ? gs_change+0xb/0xb
[   78.010222] ---[ end trace 1999568f54f9a3c3 ]---

Followed by a stuck queue:
[   87.480094] iwlwifi 0000:06:00.0: Queue 11 stuck for 10000 ms.
[   87.480106] iwlwifi 0000:06:00.0: Current SW read_ptr 21 write_ptr 72
[   87.480161] iwlwifi 0000:06:00.0: Current HW read_ptr 21 write_ptr 72
[   87.480169] iwlwifi 0000:06:00.0: On demand firmware reload
[   87.480644] ieee80211 phy0: Hardware restart was requested
[   87.480763] iwlwifi 0000:06:00.0: L1 Enabled; Disabling L0S
[   87.483792] iwlwifi 0000:06:00.0: Radio type=0x1-0x2-0x0

at which point nothing works anymore. rmmod and modprobe iwlwifi
gets back the connection:
[  417.209410] wlan0: deauthenticating from 00:0a:79:eb:56:10 by local choice (reason=3)
[  417.220286] iwlwifi 0000:06:00.0: Stopping AGG while state not ON or starting for 0 on 0 (0)
[  417.304463] cfg80211: Calling CRDA for country: JP
[  417.372535] iwlwifi 0000:06:00.0: PCI INT A disabled
[  421.388543] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[  421.388547] Copyright(c) 2003-2011 Intel Corporation
[  421.388720] iwlwifi 0000:06:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[  421.388753] iwlwifi 0000:06:00.0: setting latency timer to 64
[  421.389058] iwlwifi 0000:06:00.0: pci_resource_len = 0x00002000
[  421.389061] iwlwifi 0000:06:00.0: pci_resource_base = ffffc900041b8000
[  421.389063] iwlwifi 0000:06:00.0: HW Revision ID = 0x0
[  421.389210] iwlwifi 0000:06:00.0: irq 46 for MSI/MSI-X
[  421.389286] iwlwifi 0000:06:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
[  421.389381] iwlwifi 0000:06:00.0: L1 Enabled; Disabling L0S
[  421.411615] iwlwifi 0000:06:00.0: device EEPROM VER=0x11e, CALIB=0x4
[  421.411619] iwlwifi 0000:06:00.0: Device SKU: 0Xf0
[  421.411629] iwlwifi 0000:06:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[  421.417401] iwlwifi 0000:06:00.0: loaded firmware version 8.83.5.1 build 33692 (EXP)
[  421.417563] Registered led device: phy1-led
[  421.417859] ieee80211 phy1: Selected rate control algorithm 'iwl-agn-rs'
[  421.431467] iwlwifi 0000:06:00.0: L1 Enabled; Disabling L0S
[  421.435641] iwlwifi 0000:06:00.0: Radio type=0x1-0x2-0x0
[  421.553374] iwlwifi 0000:06:00.0: L1 Enabled; Disabling L0S
[  421.556448] iwlwifi 0000:06:00.0: Radio type=0x1-0x2-0x0
[  429.248438] wlan0: authenticate with 00:0a:79:eb:56:10 (try 1)
[  429.255782] wlan0: authenticated
[  429.257063] wlan0: associate with 00:0a:79:eb:56:10 (try 1)
[  429.262801] wlan0: RX AssocResp from 00:0a:79:eb:56:10 (capab=0x411 status=0 aid=1)
[  429.262806] wlan0: associated

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
HODNET (n.)
The wooden safety platform supported by scaffolding round a building
under construction from which the builders (at almost no personal
risk) can drop pieces of cement on passers-by.
			--- Douglas Adams, The Meaning of Liff

  reply	other threads:[~2011-11-22  0:24 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19  6:01 iwlagn is getting very shaky Norbert Preining
2011-10-19  6:09 ` David Rientjes
2011-10-19  6:11   ` Pekka Enberg
2011-10-19  5:55     ` Guy, Wey-Yi
2011-10-19  6:48       ` Norbert Preining
2011-10-19  6:15         ` Guy, Wey-Yi
2011-10-19  7:19           ` Pekka Enberg
2011-10-19  6:44             ` Guy, Wey-Yi
2011-10-20  9:12               ` Pekka Enberg
2011-10-19  6:39         ` Guy, Wey-Yi
2011-10-19 12:49           ` Norbert Preining
2011-10-19 15:31             ` wwguy
2011-10-20  2:02               ` Norbert Preining
2011-10-20  1:32                 ` Guy, Wey-Yi
2011-10-20  2:51                   ` Norbert Preining
2011-10-20  2:55                     ` Guy, Wey-Yi W
2011-10-20  3:14                       ` Norbert Preining
2011-10-20  5:30                         ` David Rientjes
2011-10-19  6:25   ` Norbert Preining
2011-10-19  5:48     ` Guy, Wey-Yi
2011-10-19  6:46       ` Norbert Preining
2011-10-19  6:13         ` Guy, Wey-Yi
2011-10-20  4:59       ` Norbert Preining
2011-10-20  7:40         ` Johannes Berg
2011-10-20 13:45           ` Norbert Preining
2011-10-20 13:50             ` Johannes Berg
2011-10-20 13:54               ` Norbert Preining
2011-10-21  1:23           ` Norbert Preining
2011-10-21  7:26             ` Johannes Berg
2011-10-20 14:10         ` wwguy
2011-10-21  1:24           ` Norbert Preining
2011-10-23 21:26             ` David Rientjes
2011-10-26  2:50               ` Norbert Preining
2011-10-26  3:55                 ` wwguy
2011-10-26  4:03                   ` Norbert Preining
2011-10-26  4:00                     ` wwguy
2011-10-26  4:34                       ` Norbert Preining
2011-10-26  4:54                         ` Richard Yao
2011-10-26 19:56                           ` [Ilw] " wwguy
2011-10-26 19:36                         ` wwguy
2011-11-02  3:13                     ` Norbert Preining
2011-11-02  3:21                       ` Guy, Wey-Yi
2011-11-04  0:56                         ` Richard Yao
2011-11-04  4:58                         ` Norbert Preining
2011-11-07 12:38                           ` Norbert Preining
2011-11-07 23:37                             ` Guy, Wey-Yi
2011-11-08  4:32                               ` Norbert Preining
2011-11-08  8:07                                 ` Emmanuel Grumbach
2011-11-08  8:24                                   ` Emmanuel Grumbach
2011-11-09  5:11                                     ` Norbert Preining
2011-11-09  7:15                                       ` Emmanuel Grumbach
2011-11-21  3:06                                         ` Norbert Preining
2011-11-21 13:59                                           ` Emmanuel Grumbach
2011-11-21 23:24                                             ` Norbert Preining
2011-11-22  0:24                                               ` Norbert Preining [this message]
2011-11-22  5:13                                             ` Norbert Preining
2011-11-22  6:46                                               ` Emmanuel Grumbach
2011-11-22  6:48                                                 ` Emmanuel Grumbach
2011-11-22  7:27                                                   ` Norbert Preining
2011-11-22  7:45                                                     ` Emmanuel Grumbach
2011-11-22  7:54                                                       ` Norbert Preining
2011-11-22  8:11                                                         ` Emmanuel Grumbach
2011-11-22 12:43                                                           ` Norbert Preining
2011-11-22 14:15                                                             ` Emmanuel Grumbach
2011-11-23  1:55                                                               ` Norbert Preining
2011-11-24  6:47                                                                 ` Emmanuel Grumbach
2011-11-24 23:02                                                                   ` Norbert Preining
2011-11-25  4:50                                                                     ` Emmanuel Grumbach
2011-11-25 12:21                                                                   ` Norbert Preining
2011-11-25 12:31                                                                     ` Emmanuel Grumbach
2011-11-25 12:37                                                                       ` Norbert Preining
2011-11-27  6:38                                                                         ` Emmanuel Grumbach
2011-11-27  9:43                                                                           ` Emmanuel Grumbach
2011-11-27  9:46                                                                             ` Johannes Berg
2011-11-27 10:44                                                                               ` Emmanuel Grumbach
2011-11-28  3:56                                                                                 ` Norbert Preining
     [not found]                                                                                   ` <CANUX_P2kYiFCP8uAhLZC_kVEjoyxabRBx3Pn+ndtFus=6hJN7Q@mail.gmail.com>
2011-11-28  4:23                                                                                     ` Norbert Preining
2011-11-28  6:33                                                                                       ` Emmanuel Grumbach
2011-11-28 23:25                                                                                       ` Norbert Preining
2011-11-29  6:59                                                                                         ` Emmanuel Grumbach
2011-11-29  7:48                                                                                           ` Jeff Chua
2011-11-29  7:50                                                                                             ` Emmanuel Grumbach
2011-11-29  8:31                                                                                           ` Johannes Berg
2011-11-29  9:19                                                                                             ` Emmanuel Grumbach
2011-11-29  9:32                                                                                               ` Norbert Preining
2011-12-01  3:17                                                                                                 ` Norbert Preining
2011-12-11  9:24                                                                                             ` Emmanuel Grumbach
2011-12-11 19:56                                                                                               ` Emmanuel Grumbach
2011-12-15 14:07                                                                                                 ` Johannes Berg
2011-11-16 13:40                                       ` Richard Yao
2011-11-21  3:03                                         ` Norbert Preining
2011-10-26  4:19 ` Richard Yao
2011-10-27  0:05   ` Fwd: " Richard Yao
2011-10-27  3:48     ` Guy, Wey-Yi W

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111122002409.GA6936@gamma.logic.tuwien.ac.at \
    --to=preining@logic.at \
    --cc=egrumbach@gmail.com \
    --cc=ilw@linux.intel.com \
    --cc=ipw3945-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=penberg@cs.helsinki.fi \
    --cc=rientjes@google.com \
    --cc=wey-yi.w.guy@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).