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] Script to crash ath9k with DMA errors.
Date: Mon, 29 Nov 2010 16:52:35 -0800	[thread overview]
Message-ID: <4CF44AD3.4020607@candelatech.com> (raw)
In-Reply-To: <20101130004424.GC1901@tux>

On 11/29/2010 04:44 PM, Luis R. Rodriguez wrote:
> On Mon, Nov 29, 2010 at 04:28:51PM -0800, Ben Greear wrote:
>> Here is a script that reliably crashes my ath9k box.
>> A second box with completely different hardware (except
>> for ath9k) experiences similar problems.

>> BUG: unable to handle kernel NULL pointer dereference at 00000040
>> IP: [<f933470a>] ath_tx_start+0x461/0x5ef [ath9k]
>> *pde = 00000000
>> Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
>> last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:08:01.0/irq
>> Modules linked in: aes_i586 aes_generic fuse nfs lockd fscache nfs_acl auth_rpcgss sunrpc ipv6 uinput arc4 ecb ath9k mac80211 ath9k_common ath9k_hw mi]
>>
>> Pid: 38, comm: kworker/u:1 Tainted: G        W   2.6.37-rc3-wl+ #53 PDSBM/PDSBM
>> EIP: 0060:[<f933470a>] EFLAGS: 00010246 CPU: 1
>> EIP is at ath_tx_start+0x461/0x5ef [ath9k]
>
> Please use
>
> gdb drivers/net/wireless/ath/ath9k/
> l *(ath_tx_start+0x461)

Usually the machine locks pretty hard with irq errors reported from wired NICs
and/or the hard-drive.  I'm not sure that the ath_tx_start
issue is real, or maybe just some un-lucky side-affect of earlier
bugs in this trace.

Reading symbols from /home/greearb/kernel/2.6/wireless-testing-dbg.p4s/drivers/net/wireless/ath/ath9k/ath9k.ko...done.
(gdb) l *(ath_tx_start+0x461)
0x972e is in ath_tx_start (/home/greearb/git/linux.wireless-testing/drivers/net/wireless/ath/ath9k/xmit.c:1691).
1686		if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && txctl->an) {
1687			tidno = ieee80211_get_qos_ctl(hdr)[0] &
1688				IEEE80211_QOS_CTL_TID_MASK;
1689			tid = ATH_AN_2_TID(txctl->an, tidno);
1690	
1691			WARN_ON(tid->ac->txq != txctl->txq);
1692			/*
1693			 * Try aggregation if it's a unicast data frame
1694			 * and the destination is HT capable.
1695			 */


Thanks,
Ben

>
>    Luis


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

WARNING: multiple messages have this Message-ID (diff)
From: Ben Greear <greearb@candelatech.com>
To: "Luis R. Rodriguez" <lrodriguez@Atheros.com>
Cc: "ath9k-devel@lists.ath9k.org" <ath9k-devel@venema.h4ckr.net>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [ath9k-devel] Script to crash ath9k with DMA errors.
Date: Mon, 29 Nov 2010 16:52:35 -0800	[thread overview]
Message-ID: <4CF44AD3.4020607@candelatech.com> (raw)
In-Reply-To: <20101130004424.GC1901@tux>

On 11/29/2010 04:44 PM, Luis R. Rodriguez wrote:
> On Mon, Nov 29, 2010 at 04:28:51PM -0800, Ben Greear wrote:
>> Here is a script that reliably crashes my ath9k box.
>> A second box with completely different hardware (except
>> for ath9k) experiences similar problems.

>> BUG: unable to handle kernel NULL pointer dereference at 00000040
>> IP: [<f933470a>] ath_tx_start+0x461/0x5ef [ath9k]
>> *pde = 00000000
>> Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
>> last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:08:01.0/irq
>> Modules linked in: aes_i586 aes_generic fuse nfs lockd fscache nfs_acl auth_rpcgss sunrpc ipv6 uinput arc4 ecb ath9k mac80211 ath9k_common ath9k_hw mi]
>>
>> Pid: 38, comm: kworker/u:1 Tainted: G        W   2.6.37-rc3-wl+ #53 PDSBM/PDSBM
>> EIP: 0060:[<f933470a>] EFLAGS: 00010246 CPU: 1
>> EIP is at ath_tx_start+0x461/0x5ef [ath9k]
>
> Please use
>
> gdb drivers/net/wireless/ath/ath9k/
> l *(ath_tx_start+0x461)

Usually the machine locks pretty hard with irq errors reported from wired NICs
and/or the hard-drive.  I'm not sure that the ath_tx_start
issue is real, or maybe just some un-lucky side-affect of earlier
bugs in this trace.

Reading symbols from /home/greearb/kernel/2.6/wireless-testing-dbg.p4s/drivers/net/wireless/ath/ath9k/ath9k.ko...done.
(gdb) l *(ath_tx_start+0x461)
0x972e is in ath_tx_start (/home/greearb/git/linux.wireless-testing/drivers/net/wireless/ath/ath9k/xmit.c:1691).
1686		if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && txctl->an) {
1687			tidno = ieee80211_get_qos_ctl(hdr)[0] &
1688				IEEE80211_QOS_CTL_TID_MASK;
1689			tid = ATH_AN_2_TID(txctl->an, tidno);
1690	
1691			WARN_ON(tid->ac->txq != txctl->txq);
1692			/*
1693			 * Try aggregation if it's a unicast data frame
1694			 * and the destination is HT capable.
1695			 */


Thanks,
Ben

>
>    Luis


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


  reply	other threads:[~2010-11-30  0:52 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30  0:28 [ath9k-devel] Script to crash ath9k with DMA errors Ben Greear
2010-11-30  0:28 ` Ben Greear
2010-11-30  0:44 ` [ath9k-devel] " Luis R. Rodriguez
2010-11-30  0:44   ` Luis R. Rodriguez
2010-11-30  0:52   ` Ben Greear [this message]
2010-11-30  0:52     ` Ben Greear
2010-12-01 23:22   ` Ben Greear
2010-12-01 23:22     ` Ben Greear
2010-12-03  8:14     ` Ben Greear
2010-12-03  8:14       ` Ben Greear
2010-12-05  2:41       ` Felix Fietkau
2010-12-05  2:41         ` Felix Fietkau
2010-12-05  3:30         ` Ben Greear
2010-12-05  3:30           ` Ben Greear
2010-12-05  5:18         ` Ben Greear
2010-12-05  5:18           ` Ben Greear
2010-12-06 19:36           ` Luis R. Rodriguez
2010-12-06 19:36             ` Luis R. Rodriguez
2010-12-06 19:47             ` Ben Greear
2010-12-06 19:47               ` Ben Greear
2010-12-06 19:53               ` Luis R. Rodriguez
2010-12-06 19:53                 ` Luis R. Rodriguez
2010-12-06 19:53                 ` Luis R. Rodriguez
2010-12-06 19:53                   ` Luis R. Rodriguez
2010-12-06 20:28                   ` Ben Greear
2010-12-06 20:28                     ` Ben Greear
2010-12-06 20:38                     ` Felix Fietkau
2010-12-06 20:38                       ` Felix Fietkau
2010-12-06 20:11               ` Björn Smedman
2010-12-06 20:11                 ` Björn Smedman
2010-12-06 20:22                 ` Ben Greear
2010-12-06 20:22                   ` Ben Greear
2010-12-06 20:42                   ` Luis R. Rodriguez
2010-12-06 20:42                     ` Luis R. Rodriguez
2010-12-06 21:00                     ` Ben Greear
2010-12-06 21:00                       ` Ben Greear
2010-12-06 21:16                       ` Luis R. Rodriguez
2010-12-06 21:16                         ` Luis R. Rodriguez

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=4CF44AD3.4020607@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.