All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@sig21.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: DMA failed to stop in 10 ms
Date: Thu, 12 Nov 2009 16:26:00 +0100	[thread overview]
Message-ID: <20091112152600.GA7562@sig21.net> (raw)

Hi,

I have a Samsung N130 netbook which has

  phy0: Atheros AR9285 MAC/BB Rev:2 AR5133 RF Rev:e0: mem=0xf80e0000, irq=16

and I run Debain unstable with a linux-2.6.32-rc6-166-g799dd75 kernel.


When running kismet I get a lot of

[ 2030.531809] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2030.731944] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2030.968118] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.169580] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.397604] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.653803] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.883503] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2032.092719] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2032.332719] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2032.539756] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020

This is 100% reproducable.  However it seems kismet is still working
(but probably missing some frames due to the issue).


Connecting to and AP via WPA2 works (but I didn't test much yet), but
when I terminate wpa_supplicant I also get one of the "DMA failed to stop"
messages (same AR_CR and AR_DIAG_SW).


Is it safe to assume that the message is caused by an invalid
RX DMA descriptor?  Or hat else could cause DMA to fail to complete?


Thanks
Johannes

WARNING: multiple messages have this Message-ID (diff)
From: Johannes Stezenbach <js@sig21.net>
To: linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org
Subject: ath9k: DMA failed to stop in 10 ms
Date: Thu, 12 Nov 2009 16:26:00 +0100	[thread overview]
Message-ID: <20091112152600.GA7562@sig21.net> (raw)

Hi,

I have a Samsung N130 netbook which has

  phy0: Atheros AR9285 MAC/BB Rev:2 AR5133 RF Rev:e0: mem=0xf80e0000, irq=16

and I run Debain unstable with a linux-2.6.32-rc6-166-g799dd75 kernel.


When running kismet I get a lot of

[ 2030.531809] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2030.731944] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2030.968118] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.169580] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.397604] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.653803] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2031.883503] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2032.092719] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2032.332719] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020
[ 2032.539756] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x00000020

This is 100% reproducable.  However it seems kismet is still working
(but probably missing some frames due to the issue).


Connecting to and AP via WPA2 works (but I didn't test much yet), but
when I terminate wpa_supplicant I also get one of the "DMA failed to stop"
messages (same AR_CR and AR_DIAG_SW).


Is it safe to assume that the message is caused by an invalid
RX DMA descriptor?  Or hat else could cause DMA to fail to complete?


Thanks
Johannes

             reply	other threads:[~2009-11-12 15:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 15:26 Johannes Stezenbach [this message]
2009-11-12 15:26 ` ath9k: DMA failed to stop in 10 ms Johannes Stezenbach
2009-11-12 18:10 ` [ath9k-devel] " Johannes Stezenbach
2009-11-12 18:10   ` Johannes Stezenbach
2009-11-12 18:13   ` [ath9k-devel] " Luis R. Rodriguez
2009-11-12 18:13     ` Luis R. Rodriguez
2009-11-12 18:14     ` [ath9k-devel] " Luis R. Rodriguez
2009-11-12 18:14       ` Luis R. Rodriguez
2009-11-12 19:54       ` [ath9k-devel] " Johannes Stezenbach
2009-11-12 19:54         ` Johannes Stezenbach
2009-11-13 16:22         ` [ath9k-devel] " Neil Wilson
2009-11-13 17:35           ` Luis R. Rodriguez
2009-11-14 15:41             ` Neil Wilson
2009-11-14 17:42               ` Luis R. Rodriguez
2009-11-14 17:55                 ` Luis R. Rodriguez
2009-11-16 16:39             ` Johannes Stezenbach

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=20091112152600.GA7562@sig21.net \
    --to=js@sig21.net \
    --cc=ath9k-devel@lists.ath9k.org \
    /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.