All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Guy, Wey-Yi" <wey-yi.w.guy@intel.com>
To: Andrew Lutomirski <luto@mit.edu>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"linville@tuxdriver.com" <linville@tuxdriver.com>
Subject: Re: [WTF, maintainers] Re: *PING* iwlagn 2.6.35: "BA scd_flow 0 does not match txq_id 10" regression
Date: Wed, 25 Aug 2010 11:53:26 -0700	[thread overview]
Message-ID: <1282762406.23359.1.camel@wwguy-huron> (raw)
In-Reply-To: <AANLkTinDjp500wXXHbiOmom70Wbvs1OL6LXOfTq06A=U@mail.gmail.com>

On Wed, 2010-08-25 at 11:42 -0700, Andrew Lutomirski wrote:
> On Tue, Aug 10, 2010 at 7:05 PM, Guy, Wey-Yi <wey-yi.w.guy@intel.com> wrote:
> > Hi Andrew,
> >
> > On Tue, 2010-08-10 at 14:39 -0700, Andrew Lutomirski wrote:
> >> On Mon, Jul 26, 2010 at 4:02 PM, Andrew Lutomirski <luto@mit.edu> wrote:
> >> > There's a regression in 2.6.35 where the connection breaks and iwlagn
> >> > writes a bunch of:
> >> >
> >> > iwlagn 0000:03:00.0: BA scd_flow 0 does not match txq_id 10
> >> >
> >> > This is confirmed [1] and a patch supposedly exists.  Since this
> >> > breaks at least two people's wireless and 2.6.35 is about to be
> >> > released, can we see the patches?
> >> >
> >> > Thanks,
> >> > Andy
> >> >
> >> > [1] http://article.gmane.org/gmane.linux.kernel.wireless.general/53552
> >> >
> >>
> >> This regression was reported on July 21 and confirmed, supposedly with
> >> a patch available, on July 24 (or maybe July 23).  On July 26 I pinged
> >> the list because I'm affected as well.
> >>
> >> It's now August 10 and both 2.6.35 and 2.5.35.1 have been released and
> >> the bug is still there.  WTF happened?  (I admit I haven't actually
> >> tested 2.6.35.1 because it's still compiling, but I see nothing to
> >> suggest that it's been fixed.)
> >>
> >
> > Sorry for the delay, the problem you report is a real problem in our
> > uCode; unfortunately, we still not root cause the real problem yet. The
> > patch I provide previous just a hack and still waiting for our internal
> > validation team to make sure it did not break the overall behaviors.
> >
> > I will submit the patch as soon as I got the report back from our test
> > team; at the meantime, we are very active work on root cause the real
> > problem. Once we have the possible solution, it will be great if you can
> > help us to verify it.
> 
> In case this helps, I just captured the bug starting with
> iwlagn.debug=1 and with the following patch:
> 
> diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> index 7d614c4..8583c42 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> @@ -1300,8 +1300,9 @@ void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
>         tid = ba_resp->tid;
>         agg = &priv->stations[sta_id].tid[tid].agg;
>         if (unlikely(agg->txq_id != scd_flow)) {
> -               IWL_ERR(priv, "BA scd_flow %d does not match txq_id %d\n",
> -                       scd_flow, agg->txq_id);
> +               IWL_ERR(priv, "BA scd_flow %d does not match txq_id %d
> (sta_id = %d, tid = %d)\n",
> +                       scd_flow, agg->txq_id, sta_id, tid);
> +               //              iwl_force_reset(priv, IWL_FW_RESET);
>                 return;
>         }
> 
> 
> I've attached the dmesg.  Search for 'BA'.
> 
It is an known issue as I mention. we are working on it and sorry for
the delay.

please take a look at commit 735df29a0641d9d8d65117c48ee460284ffcfc05

"Since it is possible happen very often and we do not want to fill the
syslog, so don't enable the logging by default"

Thanks
Wey


  reply	other threads:[~2010-08-25 18:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 20:02 *PING* iwlagn 2.6.35: "BA scd_flow 0 does not match txq_id 10" regression Andrew Lutomirski
2010-08-10 21:39 ` [WTF, maintainers] " Andrew Lutomirski
2010-08-10 23:05   ` Guy, Wey-Yi
2010-08-11  1:54     ` Andrew Lutomirski
2010-08-25 18:42     ` Andrew Lutomirski
2010-08-25 18:53       ` Guy, Wey-Yi [this message]
2010-09-01 15:07         ` Andrew Lutomirski
2010-09-01 15:57           ` Guy, Wey-Yi
2010-10-05 16:52             ` [WTF, maintainers] Re: *PING* iwlagn 2.6.35: &quot;BA scd_flow 0 does not match txq_id 10&quot; regression Nate Weibley
2010-10-06 19:35               ` Guy, Wey-Yi W
2010-10-31  9:47                 ` Rafał Miłecki

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=1282762406.23359.1.camel@wwguy-huron \
    --to=wey-yi.w.guy@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=luto@mit.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.