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 08:24:54 +0900 [thread overview]
Message-ID: <20111121232454.GC840@gamma.logic.tuwien.ac.at> (raw)
In-Reply-To: <CANUX_P2AA5stHwjegKdFhFGg7jxwdVU2Xr8OUtXUdEOKz_6E5A@mail.gmail.com>
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:
--- a/drivers/net/wireless/iwlwifi/iwl-power.c
+++ b/drivers/net/wireless/iwlwifi/iwl-power.c
@@ -436,7 +436,7 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force)
/* initialize to default */
void iwl_power_initialize(struct iwl_priv *priv)
{
- priv->power_data.bus_pm = bus_get_pm_support(bus(priv));
+ priv->power_data.bus_pm = false;
priv->power_data.debug_sleep_level_override = -1;
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
index da34110..2df3bac 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c
@@ -1512,8 +1512,12 @@ static int iwl_trans_pcie_check_stuck_queue(struct iwl_trans *trans, int cnt)
if (time_after(jiffies, timeout)) {
IWL_ERR(trans, "Queue %d stuck for %u ms.\n", q->id,
hw_params(trans).wd_timeout);
- IWL_ERR(trans, "Current read_ptr %d write_ptr %d\n",
+ IWL_ERR(trans, "Current SW read_ptr %d write_ptr %d\n",
q->read_ptr, q->write_ptr);
+ IWL_ERR(trans, "Current HW read_ptr %d write_ptr %d\n",
+ iwl_read_prph(bus(trans), SCD_QUEUE_RDPTR(cnt))
+ & (TFD_QUEUE_SIZE_MAX - 1),
+ iwl_read_prph(bus(trans), SCD_QUEUE_WRPTR(cnt)));
return 1;
}
That is all I get. Is that what you mean?
Related to that this morning at home (not university!) I had the hanging
again, had to remove the module. Always after wake up from ram (s2ram).
There I had in the log:
Nov 22 07:55:32 mithrandir kernel: [ 4536.000032] iwlwifi 0000:06:00.0: Queue 11
stuck for 10000 ms.
Nov 22 07:55:32 mithrandir kernel: [ 4536.000044] iwlwifi 0000:06:00.0: Current
SW read_ptr 155 write_ptr 164
Nov 22 07:55:32 mithrandir kernel: [ 4536.000099] iwlwifi 0000:06:00.0: Current HW read_ptr 155 write_ptr 164
Nov 22 07:55:32 mithrandir kernel: [ 4536.000107] iwlwifi 0000:06:00.0: On demand firmware reload
Nov 22 07:55:32 mithrandir kernel: [ 4536.000546] ieee80211 phy1: Hardware restart was requested
Nov 22 07:55:32 mithrandir kernel: [ 4536.000648] iwlwifi 0000:06:00.0: L1 Enabled; Disabling L0S
Nov 22 07:55:32 mithrandir kernel: [ 4536.003755] iwlwifi 0000:06:00.0: Radio type=0x1-0x2-0x0
But somehow it didn't actually start working again.
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
------------------------------------------------------------------------
ULLINGSWICK (n.)
An over-developed epiglottis found in middle-aged coloraturas.
--- Douglas Adams, The Meaning of Liff
next prev parent reply other threads:[~2011-11-21 23:25 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 [this message]
2011-11-22 0:24 ` Norbert Preining
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=20111121232454.GC840@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).