Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Pannirselvam Kanagaratnam <pannir@xsmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] WiFi Failure with AR9280
Date: Mon, 15 Apr 2013 10:07:30 +0800	[thread overview]
Message-ID: <516B60E2.6020309@xsmail.com> (raw)
In-Reply-To: <51526722.9010907@xsmail.com>

I have now tried 4 different chipsets on my board (AR9280, AR9287, 
AR9380 and AR9382). Only AR9280 is failing. Debugfs interrupt stats is 
as follows when using the AR9280:

SYNC_CAUSE stats:
              Sync-All:         48
               RTC-IRQ:          0
               MAC-IRQ:          0
EEPROM-Illegal-Access:          0
           APB-Timeout:          0
     PCI-Mode-Conflict:          0
           HOST1-Fatal:          0
            HOST1-Perr:          0
        TRCV-FIFO-Perr:          0
           RADM-CPL-EP:          0
   RADM-CPL-DLLP-Abort:         11
    RADM-CPL-TLP-Abort:          0
     RADM-CPL-ECRC-Err:          0
      RADM-CPL-Timeout:          2
     Local-Bus-Timeout:         35
             PM-Access:          0
             MAC-Awake:          0
            MAC-Asleep:          0
      MAC-Sleep-Access:          0

I have managed to get access to an Agilent Protocol Exerciser & Analyzer 
(E2960A). Any tips on what I should be zooming into?

Regards,

Pannir

On 27/3/2013 11:27 AM, Pannirselvam Kanagaratnam wrote:
> On 25/3/2013 12:39 AM, Felix Fietkau wrote:
>> On 2013-03-24 5:26 PM, Pannirselvam Kanagaratnam wrote:
>>> Hello,
>>>
>>> My WiFi connection drops while running the AR9280 on a Freescale
>>> MPC8315E platform in AP mode with hostapd. I get the following error
>>> within 15 seconds and the WiFi connection drops. However, I do not
>>> observe any issues when using the AR9382. Can you let me know what 
>>> could
>>> be causing this and if there is a workaround for this. I am using
>>> Compat-Wireless-3.5.4.1.
>> I suggest updating to a more recent version of compat-wireless - 3.5.4.1
>> is quite old.
>> If a similar failure still occurs there, make sure you turn on
>> CONFIG_KALLSYMS so that the trace is not just a long list of meaningless
>> numbers.
>>
>> - Felix
>>
> Here are my logs with Compat 3.9-rc2 and CONFIG_KALLSYMS enabled.
>
> ath: phy0: Failed to stop TX DMA, queues=0x004!
> ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 
> AR_DIAG_SW=0x42000020 DMADBG_7=0x000062c0
> ath: phy0: Could not stop RX, we could be confusing the DMA engine 
> when we start RX up
> ------------[ cut here ]------------
> Badness at 
> /build/compat-wireless-3.9-rc2-2-su/drivers/net/wireless/ath/ath9k/recv.c:487
> NIP: c9b72eec LR: c9b72ee0 CTR: c01bc900
> REGS: c6c63e30 TRAP: 0700   Not tainted  (2.6.35)
> MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 22002022  XER: 20000000
> TASK = c7859360[930] 'phy0' THREAD: c6c62000
> GPR00: 00000001 c6c63ee0 c7859360 0000004c 00005665 ffffffff c01b9e70 
> 00004000
> GPR08: 00000000 c9b90000 00005665 c046ad78 22002082 00000000 07ff9000 
> 00000000
> GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
> 0000000a
> GPR24: 00000000 c6c66b4c c6c68030 00000000 00000000 00000000 c6c68010 
> c6c65740
> NIP [c9b72eec] ath_stoprecv+0x13c/0x154 [ath9k]
> LR [c9b72ee0] ath_stoprecv+0x130/0x154 [ath9k]
> Call Trace:
> [c6c63ee0] [c9b72ee0] ath_stoprecv+0x130/0x154 [ath9k] (unreliable)
> [c6c63f10] [c9b6ec20] ath_prepare_reset+0x54/0x90 [ath9k]
> [c6c63f30] [c9b6ee90] ath_reset_internal+0x6c/0x220 [ath9k]
> [c6c63f60] [c9b6f948] ath_reset+0x28/0x9c [ath9k]
> [c6c63f80] [c0039398] worker_thread+0x108/0x1b0
> [c6c63fc0] [c003d338] kthread+0x78/0x7c
> [c6c63ff0] [c0010f08] kernel_thread+0x4c/0x68
> Instruction dump:
> 2f800000 419eff74 809f0888 3c60c9b8 3ca0c9b8 38637194 38a572c8 38840020
> 4bec2125 3d20c9b9 88099475 68000001 <0f000000> 2f800000 419eff40 38000001
> ath: phy0: Failed to stop TX DMA, queues=0x004!
> ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 
> AR_DIAG_SW=0x42000020 DMADBG_7=0x00006040
> ath: phy0: Could not stop RX, we could be confusing the DMA engine 
> when we start RX up
>
> Regards,
>
> Pannir

  reply	other threads:[~2013-04-15  2:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 16:26 [ath9k-devel] WiFi Failure with AR9280 Pannirselvam Kanagaratnam
2013-03-24 16:39 ` Felix Fietkau
2013-03-27  3:27   ` Pannirselvam Kanagaratnam
2013-04-15  2:07     ` Pannirselvam Kanagaratnam [this message]
2013-04-15  2:31       ` Adrian Chadd
2013-04-18 10:16         ` Pannirselvam Kanagaratnam
2013-04-19  6:36           ` Adrian Chadd
2013-04-22  7:41             ` Pannirselvam Kanagaratnam
2013-04-22  8:38               ` Adrian Chadd
2013-04-22 14:58                 ` Pannirselvam Kanagaratnam

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=516B60E2.6020309@xsmail.com \
    --to=pannir@xsmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox