Linux wireless drivers development
 help / color / mirror / Atom feed
From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
To: Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>,
	Mohammed Shafi <shafi.wireless@gmail.com>,
	<ath9k-devel@lists.ath9k.org>,
	"Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>,
	<linux-wireless@vger.kernel.org>
Subject: Re: ath9k stops working (DMA trouble?) shortly after going online
Date: Tue, 29 May 2012 17:42:33 +0530	[thread overview]
Message-ID: <20420.48433.260465.183715@gargle.gargle.HOWL> (raw)
In-Reply-To: <201205291212.46377.tvrtko.ursulin@onelan.co.uk>

Tvrtko Ursulin wrote:
> I've collected several interesting events but the compressed log is quite 
> large. Not sure if it will make it to the mailing list, but you should at 
> least get it privately.

Thanks.

> There are events ranging from short to long connection dropouts (in the light 
> of that it is possible that the path Mohammed suggested did indeed help, at 
> least partially to unwedge some situation which would hang it completely 
> without the patch). There is always mention of the 'DMA' keyword when it 
> happens, so if you grep for that in my log you will see events happening at, 
> in printk time:
> 
> 118.779362 - 118.795238 (WARN_ON WARNING: at 
> drivers/net/wireless/ath/ath9k/recv.c:531 ath_stoprecv+0x118/0x130 [ath9k]())
> 
> 524.162432 - 524.753750
> 1544.610658 - 1550.218324
> 1685.668241 - 1686.991166
> 1773.268867 - 1804.465933
> 
> Hope this helps?

Yes !

Here are a couple of patches to help narrow down the issue.

http://sujith.github.com/patches/wl/0001-ath9k-Add-some-debug-messages.patch
http://sujith.github.com/patches/wl/0002-ath9k-Resync-beacons-after-a-reset.patch

The first one adds some messages, the second sets up beacons properly in case
a HW reset happens. Can you try these and post the log ?

If you are willing to move to a more recent kernel, then current wireless-testing
would be a good choice since it has various driver fixes. There are a few
pending ath9k patches which have not been merged yet, you can find it here:

http://sujith.github.com/patches/wl/wl-ath9k-May-29-2012.patch

Sujith

  parent reply	other threads:[~2012-05-29 12:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28 12:16 ath9k stops working (DMA trouble?) shortly after going online Tvrtko Ursulin
2012-05-28 13:01 ` Mohammed Shafi
2012-05-28 14:28   ` Tvrtko Ursulin
2012-05-29 10:17     ` Sujith Manoharan
     [not found]       ` <201205291212.46377.tvrtko.ursulin@onelan.co.uk>
2012-05-29 12:12         ` Sujith Manoharan [this message]
2012-05-29 12:21           ` Tvrtko Ursulin
2012-05-29 12:46           ` Tvrtko Ursulin
2012-06-07  9:34           ` Tvrtko Ursulin
2012-06-07 10:15             ` Mohammed Shafi

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=20420.48433.260465.183715@gargle.gargle.HOWL \
    --to=c_manoha@qca.qualcomm.com \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rodrigue@qca.qualcomm.com \
    --cc=shafi.wireless@gmail.com \
    --cc=tvrtko.ursulin@onelan.co.uk \
    /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