From: Ben Greear <greearb@candelatech.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: Luis Rodriguez <Luis.Rodriguez@atheros.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: memory clobber in rx path, maybe related to ath9k.
Date: Sun, 17 Oct 2010 12:44:24 -0700 [thread overview]
Message-ID: <4CBB5218.60302@candelatech.com> (raw)
In-Reply-To: <AANLkTi=tJZ0L1JoE=VPzJVEx1nnB0Td2E9V45RkFAPC8@mail.gmail.com>
I had a chance to try your latest patch on a different machine and AP. This time,
I was using 130 or so stations, but no encryption (no supplicant).
I saw these exceptions below. The warn-on hits the !stopped check in ath_stoprecv.
The system didn't crash, but all of the STAs soon dis-associated because of "inactivity".
I haven't checked if that is some issue with my AP or what..
bool ath_stoprecv(struct ath_softc *sc)
{
struct ath_hw *ah = sc->sc_ah;
bool stopped;
spin_lock_bh(&sc->rx.rxbuflock);
ath9k_hw_stoppcurecv(ah);
ath9k_hw_setrxfilter(ah, 0);
stopped = ath9k_hw_stopdmarecv(ah);
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
ath_edma_stop_recv(sc);
else
sc->rx.rxlink = NULL;
spin_unlock_bh(&sc->rx.rxbuflock);
WARN_ON(!stopped);
return stopped;
}
ADDRCONF(NETDEV_UP): sta130: link is not ready
sta90: no IPv6 routers present
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
------------[ cut here ]------------
WARNING: at /home/greearb/git/linux.wireless-testing/drivers/net/wireless/ath/ath9k/recv.c:532 ath_stoprecv+0x80/0x87 [ath9k]()
Hardware name: 945GM
Modules linked in: 8021q garp stp llc michael_mic macvlan pktgen iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi nfs lockd fscache nfs_acl auth_rpcgss
sunrpc p4_clockmod ipv6 uinput arc4 ecb ath9k snd_intel8x0 mac80211 snd_ac97_codec ac97_bus snd_seq snd_seq_device ath9k_common snd_pcm ath9k_hw ath snd_timer
microcode pcspkr cfg80211 i2c_i801 snd soundcore snd_page_alloc serio_raw e1000e iTCO_wdt iTCO_vendor_support yenta_socket floppy i915 drm_kms_helper drm
i2c_algo_bit i2c_core video output [last unloaded: ipt_addrtype]
Pid: 5, comm: kworker/u:0 Tainted: G W 2.6.36-rc8-wl+ #12
Call Trace:
[<c0434647>] warn_slowpath_common+0x65/0x7a
[<f9450e38>] ? ath_stoprecv+0x80/0x87 [ath9k]
[<c043466b>] warn_slowpath_null+0xf/0x13
[<f9450e38>] ath_stoprecv+0x80/0x87 [ath9k]
[<f944f580>] ath_set_channel+0x99/0x1ff [ath9k]
[<f94502b2>] ath9k_config+0x305/0x3d8 [ath9k]
[<f9246a2e>] ieee80211_hw_config+0x11b/0x125 [mac80211]
[<f924aa51>] ieee80211_scan_work+0x29e/0x3ed [mac80211]
[<c0443d72>] ? process_one_work+0x145/0x295
[<c0443dbc>] process_one_work+0x18f/0x295
[<c0443d72>] ? process_one_work+0x145/0x295
[<f924a7b3>] ? ieee80211_scan_work+0x0/0x3ed [mac80211]
[<c04453e5>] worker_thread+0xf9/0x1b8
[<c04452ec>] ? worker_thread+0x0/0x1b8
[<c0447d2f>] kthread+0x62/0x67
[<c0447ccd>] ? kthread+0x0/0x67
[<c0403506>] kernel_thread_helper+0x6/0x1a
---[ end trace bc53fa727ee2ae42 ]---
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
------------[ cut here ]------------
WARNING: at /home/greearb/git/linux.wireless-testing/drivers/net/wireless/ath/ath9k/recv.c:532 ath_stoprecv+0x80/0x87 [ath9k]()
Hardware name: 945GM
Modules linked in: 8021q garp stp llc michael_mic macvlan pktgen iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi nfs lockd fscache nfs_acl auth_rpcgss
sunrpc p4_clockmod ipv6 uinput arc4 ecb ath9k snd_intel8x0 mac80211 snd_ac97_codec ac97_bus snd_seq snd_seq_device ath9k_common snd_pcm ath9k_hw ath snd_timer
microcode pcspkr cfg80211 i2c_i801 snd soundcore snd_page_alloc serio_raw e1000e iTCO_wdt iTCO_vendor_support yenta_socket floppy i915 drm_kms_helper drm
i2c_algo_bit i2c_core video output [last unloaded: ipt_addrtype]
Pid: 41, comm: kworker/u:2 Tainted: G W 2.6.36-rc8-wl+ #12
Call Trace:
[<c0434647>] warn_slowpath_common+0x65/0x7a
[<f9450e38>] ? ath_stoprecv+0x80/0x87 [ath9k]
[<c043466b>] warn_slowpath_null+0xf/0x13
[<f9450e38>] ath_stoprecv+0x80/0x87 [ath9k]
[<f944f580>] ath_set_channel+0x99/0x1ff [ath9k]
[<f94502b2>] ath9k_config+0x305/0x3d8 [ath9k]
[<f9246a2e>] ieee80211_hw_config+0x11b/0x125 [mac80211]
[<f924aa51>] ieee80211_scan_work+0x29e/0x3ed [mac80211]
[<c0443d72>] ? process_one_work+0x145/0x295
[<c0443dbc>] process_one_work+0x18f/0x295
[<c0443d72>] ? process_one_work+0x145/0x295
[<f924a7b3>] ? ieee80211_scan_work+0x0/0x3ed [mac80211]
[<c04453e5>] worker_thread+0xf9/0x1b8
[<c04452ec>] ? worker_thread+0x0/0x1b8
[<c0447d2f>] kthread+0x62/0x67
[<c0447ccd>] ? kthread+0x0/0x67
[<c0403506>] kernel_thread_helper+0x6/0x1a
---[ end trace bc53fa727ee2ae43 ]---
ath: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
sta126: direct probe to 00:18:e7:cb:ad:6e (try 1)
sta130: direct probe to 00:18:e7:cb:ad:6e (try 1)
sta91: no IPv6 routers present
sta126: direct probe to 00:18:e7:cb:ad:6e (try 2)
sta130: direct probe to 00:18:e7:cb:ad:6e (try 2)
sta126: direct probe to 00:18:e7:cb:ad:6e (try 3)
sta130: direct probe to 00:18:e7:cb:ad:6e (try 3)
sta126: direct probe to 00:18:e7:cb:ad:6e timed out
sta130: direct probe to 00:18:e7:cb:ad:6e timed out
sta92: no IPv6 routers present
...
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2010-10-17 19:44 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-05 17:00 memory clobber in rx path, maybe related to ath9k Ben Greear
2010-10-05 17:16 ` Luis R. Rodriguez
2010-10-05 17:24 ` Ben Greear
2010-10-05 17:36 ` Luis R. Rodriguez
2010-10-05 17:38 ` Ben Greear
2010-10-05 17:43 ` Luis R. Rodriguez
2010-10-05 17:47 ` Ben Greear
2010-10-05 17:55 ` Luis R. Rodriguez
2010-10-05 18:14 ` Ben Greear
2010-10-05 21:12 ` Ben Greear
2010-10-07 17:33 ` Ben Greear
2010-10-07 18:14 ` Johannes Berg
2010-10-07 18:29 ` Luis R. Rodriguez
2010-10-07 18:39 ` Ben Greear
2010-10-07 18:42 ` Luis R. Rodriguez
2010-10-07 18:45 ` Ben Greear
2010-10-07 19:14 ` Ben Greear
2010-10-07 19:17 ` Johannes Berg
2010-10-07 19:22 ` Ben Greear
2010-10-07 19:27 ` Johannes Berg
2010-10-07 21:31 ` Luis R. Rodriguez
2010-10-07 21:36 ` Luis R. Rodriguez
2010-10-07 21:59 ` Luis R. Rodriguez
2010-10-11 20:51 ` Ben Greear
2010-10-12 1:03 ` Luis R. Rodriguez
2010-10-12 3:27 ` Ben Greear
2010-10-12 6:10 ` Luis R. Rodriguez
2010-10-12 18:35 ` Ben Greear
2010-10-12 18:40 ` Luis R. Rodriguez
2010-10-12 18:43 ` Ben Greear
2010-10-12 19:51 ` Ben Greear
2010-10-13 17:12 ` Ben Greear
2010-10-13 17:29 ` Luis R. Rodriguez
2010-10-13 17:48 ` Ben Greear
2010-10-14 21:25 ` Luis R. Rodriguez
2010-10-14 21:31 ` Ben Greear
2010-10-14 21:32 ` Luis R. Rodriguez
2010-10-14 21:39 ` Ben Greear
2010-10-14 21:45 ` Johannes Berg
2010-10-14 21:47 ` Ben Greear
2010-10-13 5:31 ` Vasanthakumar Thiagarajan
2010-10-13 16:39 ` Ben Greear
2010-10-13 19:56 ` Björn Smedman
2010-10-13 20:03 ` Luis R. Rodriguez
2010-10-14 19:15 ` Ben Greear
2010-10-14 19:17 ` Luis R. Rodriguez
2010-10-14 21:52 ` Björn Smedman
2010-10-14 22:05 ` Ben Greear
2010-10-14 22:16 ` Luis R. Rodriguez
2010-10-14 22:29 ` Luis R. Rodriguez
2010-10-14 22:35 ` Luis R. Rodriguez
2010-10-14 22:44 ` Ben Greear
2010-10-14 22:54 ` Luis R. Rodriguez
2010-10-14 22:51 ` Luis R. Rodriguez
2010-10-14 23:19 ` Luis R. Rodriguez
2010-10-14 23:30 ` Ben Greear
2010-10-14 23:39 ` Luis R. Rodriguez
2010-10-14 23:48 ` Luis R. Rodriguez
2010-10-15 16:51 ` Ben Greear
2010-10-15 18:47 ` Luis R. Rodriguez
2010-10-15 19:36 ` Ben Greear
2010-10-15 21:07 ` Luis R. Rodriguez
2010-10-15 23:21 ` Luis R. Rodriguez
2010-10-15 23:33 ` Ben Greear
2010-10-15 23:38 ` Luis R. Rodriguez
2010-10-15 23:41 ` Luis R. Rodriguez
2010-10-16 0:07 ` Ben Greear
2010-10-15 23:42 ` Ben Greear
2010-10-15 23:57 ` Luis R. Rodriguez
2010-10-17 19:44 ` Ben Greear [this message]
2010-10-18 22:46 ` Luis R. Rodriguez
2010-10-15 23:39 ` Ben Greear
2010-10-14 23:51 ` Ben Greear
2010-10-14 22:47 ` Ben Greear
2010-10-14 23:46 ` Björn Smedman
2010-10-18 13:48 ` Björn Smedman
2010-10-18 17:24 ` Luis R. Rodriguez
2010-10-18 22:34 ` Björn Smedman
2010-10-18 22:41 ` Luis R. Rodriguez
2010-10-14 5:37 ` Vasanthakumar Thiagarajan
2010-10-07 21:52 ` Ben Greear
2010-10-08 0:42 ` Bruno Randolf
2010-10-08 2:30 ` Ben Greear
2010-10-05 17:22 ` Johannes Berg
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=4CBB5218.60302@candelatech.com \
--to=greearb@candelatech.com \
--cc=Luis.Rodriguez@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
/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;
as well as URLs for NNTP newsgroup(s).