All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Failed to stop TX DMA
Date: Fri, 27 Jan 2012 11:20:07 -0800	[thread overview]
Message-ID: <4F22F8E7.5010704@candelatech.com> (raw)
In-Reply-To: <4F22ED46.1000207@molgaard.org>

On 01/27/2012 10:30 AM, Sune M?lgaard wrote:
> Ben Greear wrote:
>> On 01/27/2012 03:47 AM, Sune M?lgaard wrote:

>> If you hit the problem on my kernel, please send me a full bug report
>> (kernel splat, 'lspci', brief
>> description of how you caused the problem, how reproducible it is, etc).
>>
>> I can't promise I can fix it, but I will definitely take a good look at it
>> and will try to reproduce the problem on my systems. If we can ever find
>> a way to reliably reproduce these problems, then the ath9k developers will
>> have a much easier time fixing the problem.
>>
>> Thanks,
>> Ben
>>
>
> Attached. I even hit it with WMM and 11n disabled.
>
> I hit it with high speeds occurring - it took 5 cycles of hostapd for the syslog file to be scp'ed over (the complete file was 24Mb, though).

Ok, this is the first obvious error I see, and that FATAL interrupt looks bad, and my guess
is that the IRQ problem is the root cause.

This is caused by the AR_INTR_SYNC_HOST1_FATAL interrupt, but I don't have any idea what can cause that
interrupt, and I don't have access to any of the datasheets for ath9k chips.  Maybe one
of the ath9k devs has some ideas on this?

I am not sure I have a NIC with your chipset.
Can you let me know the exact brand & part number of your NIC.


Jan 27 19:06:38 jadis kernel: ath: received PCI FATAL interrupt
Jan 27 19:06:38 jadis kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00006040
Jan 27 19:06:38 jadis kernel: ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Jan 27 19:06:38 jadis kernel: ------------[ cut here ]------------
Jan 27 19:06:38 jadis kernel: WARNING: at drivers/net/wireless/ath/ath9k/recv.c:528 ath_stoprecv+0xbc/0xe0 [ath9k]()
Jan 27 19:06:38 jadis kernel: Hardware name: 8366-8233
Jan 27 19:06:38 jadis kernel: Modules linked in: cryptd aes_i586 aes_generic ip6table_filter tun xt_CHECKSUM xt_TCPMSS act_police cls_flow cls_fw cls_u32 
sch_tbf sch_prio sch_htb sch_hfsc sch_ingress sch_sfq xt_time xt_connlimit xt_realm xt_addrtype iptable_raw xt_comment xt_recent xt_policy ipt_ULOG ipt_REDIRECT 
ipt_NETMAP ipt_MASQUERADE ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah xt_set ip_set nf_nat_tftp nf_nat_snmp_basic nf_conntrack_snmp nf_nat_sip nf_nat_pptp 
nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip 
nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_irc 
nf_conntrack_h323 nf_conntrack_ftp xt_TPROXY nf_tproxy_core ip6_tables nf_defrag_ipv6 xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE xt_NFLOG nfnetlink_log 
xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_helper xt_hashlimit xt_DSCP xt_dscp xt_dccp xt
Jan 27 19:06:38 jadis kernel: _connmark xt_CLASSIFY xt_AUDIT ipt_LOG iptable_nat nf_nat iptable_mangle nfnetlink sit tunnel4 reiserfs bridge ipv6 stp llc arc4 
snd_cs4236 snd_wss_lib snd_via82xx snd_ac97_codec snd_opl3_lib ppdev snd_hwdep ac97_bus ath9k snd_pcm mac80211 snd_timer ath9k_common ath9k_hw snd_page_alloc 
snd_mpu401 i2c_viapro snd_mpu401_uart snd_rawmidi ath via_ircc snd_seq_device irda snd cfg80211 soundcore crc_ccitt ns558 gameport parport_pc hwmon_vid hwmon lp 
parport 8139too ata_generic pata_acpi 8139cp sundance pata_via sata_sil mii floppy raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy 
async_tx raid1 raid0 multipath linear
Jan 27 19:06:38 jadis kernel: Pid: 4298, comm: java Not tainted 3.0.18-sune-1 #3
Jan 27 19:06:38 jadis kernel: Call Trace:
Jan 27 19:06:38 jadis kernel: [<c0431086>] warn_slowpath_common+0x63/0x78
Jan 27 19:06:38 jadis kernel: [<f851eaab>] ? ath_stoprecv+0xbc/0xe0 [ath9k]
Jan 27 19:06:38 jadis kernel: [<c04310aa>] warn_slowpath_null+0xf/0x13
Jan 27 19:06:38 jadis kernel: [<f851eaab>] ath_stoprecv+0xbc/0xe0 [ath9k]
Jan 27 19:06:38 jadis kernel: [<f851d782>] ath_reset+0x64/0x17c [ath9k]
Jan 27 19:06:38 jadis kernel: [<c07771e1>] ? _raw_spin_unlock_irqrestore+0x12/0x15
Jan 27 19:06:38 jadis kernel: [<f851d9ef>] ath9k_tasklet+0x27/0x133 [ath9k]
Jan 27 19:06:38 jadis kernel: [<c0435308>] tasklet_action+0x65/0xa7
Jan 27 19:06:38 jadis kernel: [<c04355e0>] __do_softirq+0x6c/0xe6
Jan 27 19:06:38 jadis kernel: [<c0435574>] ? local_bh_enable+0xa/0xa
Jan 27 19:06:38 jadis kernel: <IRQ>  [<c04357b8>] ? irq_exit+0x35/0x84
Jan 27 19:06:38 jadis kernel: [<c0403a78>] ? do_IRQ+0x6c/0x80
Jan 27 19:06:38 jadis kernel: [<c077be69>] ? common_interrupt+0x29/0x30
Jan 27 19:06:38 jadis kernel: ---[ end trace 46bdcea34024800a ]---
Jan 27 19:06:38 jadis kernel: ath: Failed to stop TX DMA!
Jan 27 19:06:38 jadis kernel: ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 DMADBG_7=0x00006040
Jan 27 19:06:38 jadis kernel: ath: Could not stop RX, we could be confusing the DMA engine when we start RX up
Jan 27 19:06:38 jadis kernel: ath: Failed to stop TX DMA!
....

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2012-01-27 19:20 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29  1:19 [ath9k-devel] Failed to stop TX DMA Paul Farrow
2011-12-29  4:07 ` Adrian Chadd
2011-12-29 14:10   ` Paul Farrow
2011-12-29 20:34     ` Adrian Chadd
2011-12-29 20:58       ` Paul Farrow
2011-12-29 22:31       ` Paul Farrow
2011-12-30  6:23         ` Mohammed Shafi
2012-01-03  1:44           ` Paul Farrow
     [not found]           ` <2ef536609cbee9c771dc3ebdf7e79bb1@www.thefabfarrows.com>
2012-01-05  6:46             ` Mohammed Shafi
2012-01-05 12:58               ` Paul Farrow
2012-01-20  3:36               ` Paul Farrow
2012-01-20  3:50                 ` Peter Stuge
2012-01-20 13:17                   ` Paul Farrow
2012-01-20  5:30                 ` Ben Greear
2012-01-20 13:25                   ` Paul Farrow
2012-01-20 17:03                     ` Ben Greear
2012-01-20 20:09                       ` Adrian Chadd
2012-01-20 20:13                         ` Ben Greear
2012-01-23 13:18                       ` Paul Farrow
     [not found]                         ` <CAD2nsn0JP4GJQna_YeCPXgPW-Z6EYW18oWKgt_tW9ti2J+cT9A@mail.gmail.com>
2012-01-23 13:57                           ` Paul Farrow
2012-01-23 14:01                             ` Peter Stuge
2012-01-23 14:07                               ` Paul Farrow
2012-01-23 14:29                                 ` Peter Stuge
2012-01-23 14:39                                   ` Paul Farrow
2012-01-23 19:08                         ` Ben Greear
2012-01-23 19:46                           ` Paul Farrow
2012-01-23 20:57                           ` Paul Farrow
2012-01-24  0:40                             ` Ben Greear
2012-01-24 13:04                               ` Paul Farrow
2012-01-24 17:26                                 ` Ben Greear
2012-01-25 13:20                                   ` Paul Farrow
2012-01-26  1:22                                   ` Paul Farrow
2012-01-26  3:14                                     ` Ben Greear
2012-01-26 12:58                                       ` Paul Farrow
2012-01-27 11:47                           ` Sune Mølgaard
2012-01-27 17:04                             ` Ben Greear
2012-01-27 18:30                               ` Sune Mølgaard
2012-01-27 19:20                                 ` Ben Greear [this message]
2012-01-27 20:05                                   ` Adrian Chadd
2012-01-27 21:37                                     ` Ben Greear
2012-01-28  9:39                                   ` Sune Mølgaard
2012-01-28 16:49                                     ` Paul Farrow
2012-01-30 17:45                                       ` Ben Greear
2012-01-30 18:22                                         ` Paul Farrow
2012-02-03 21:26                                           ` Ben Greear
2012-02-05 12:01                                             ` Paul Farrow
2012-02-06 17:47                                               ` Ben Greear
2012-03-16 13:30                                                 ` Paul Farrow
2012-03-16 15:35                                                   ` Adrian Chadd
2012-03-16 16:08                                                     ` Ben Greear
2012-03-16 17:12                                                       ` Paul Farrow
2012-03-16 18:50                                                         ` Adrian Chadd
2012-02-04 12:43                                           ` [ath9k-devel] (no subject) Mieszko Ślusarczyk
2012-02-06 17:51                                             ` Ben Greear
2012-02-06 17:55                                               ` [ath9k-devel] Failed to stop TX DMA Mieszko Ślusarczyk
     [not found]                                                 ` <4F3016CC.3030003@candelatech.com>
2012-02-06 18:09                                                   ` Mieszko Ślusarczyk
2012-02-06 23:11                                               ` [ath9k-devel] (no subject) Sune Mølgaard
2012-01-20 14:05                 ` [ath9k-devel] Failed to stop TX DMA Mohammed Shafi
2012-01-20 14:17                   ` Paul Farrow

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=4F22F8E7.5010704@candelatech.com \
    --to=greearb@candelatech.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 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.