From: Bob Copeland <me@bobcopeland.com>
To: Nick Kossifidis <mickflemm@gmail.com>
Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>,
tim.gardner@canonical.com, mick@madwifi.org,
linux-wireless@vger.kernel.org,
"John W. Linville" <linville@tuxdriver.com>
Subject: Re: wireless-testing commit eb9d4e8399181357cb6f6625ba7f849987432c6c causes stalls
Date: Sun, 2 Nov 2008 13:41:46 -0500 [thread overview]
Message-ID: <20081102184146.GA6065@hash.localnet> (raw)
In-Reply-To: <40f31dec0811020110t6ec94c57gd91adc44f759bf45@mail.gmail.com>
On Sun, Nov 02, 2008 at 11:10:04AM +0200, Nick Kossifidis wrote:
> Can you test the attached patch ?
>
> It works for me (tested on a AR5413)...
>
> makis linux # iperf -s
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 85.3 KByte (default)
> ------------------------------------------------------------
> [ 4] local 192.168.1.104 port 5001 connected with 192.168.1.10 port 43192
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-10.6 sec 21.8 MBytes 17.2 Mbits/sec
This patch works for me (I was seeing the same stalls).
I somehow managed to trigger this after reloading the module:
Nov 2 13:12:05 sludge kernel: ------------[ cut here ]------------
Nov 2 13:12:05 sludge kernel: WARNING: at net/mac80211/main.c:236
ieee80211_hw_config+0x82/0x8c [mac80211]()
Nov 2 13:12:05 sludge kernel: Modules linked in: ath5k af_packet
sha256_generic aes_i586 aes_generic cbc loop i915 drm binfmt_misc
acpi_cpufreq fan container nls_utf8 hfsplus dm_crypt dm_mod kvm_intel
kvm fuse sbp2 snd_hda_intel snd_pcm_oss snd_pcm snd_mixer_oss appletouch
hid_apple snd_seq_dummy snd_seq_oss arc4 ecb snd_seq_midi usbhid
snd_rawmidi snd_seq_midi_event mac80211 snd_seq ohci1394 snd_timer
snd_seq_device sr_mod ieee1394 sky2 cfg80211 sg cdrom rtc ehci_hcd
uhci_hcd thermal bitrev crc32 snd snd_page_alloc battery ac processor
button evdev unix [last unloaded: ath5k]
Nov 2 13:12:05 sludge kernel: Pid: 9748, comm: ath5k_pci Tainted: G
W 2.6.28-rc2-wl #19
[...]
But I think that was just a coincidence with the hardware getting
stuck in a bad state -- after reboot it was fine. If not, this at least
papers over the warning :)
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index a298e8a..0308165 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -2796,7 +2796,8 @@ ath5k_config(struct ieee80211_hw *hw, u32 changed)
sc->bintval = conf->beacon_int;
sc->power_level = conf->power_level;
- return ath5k_chan_set(sc, conf->channel);
+ ath5k_chan_set(sc, conf->channel);
+ return 0;
}
static int
--
1.5.4.2.182.gb3092
--
Bob Copeland %% www.bobcopeland.com
next prev parent reply other threads:[~2008-11-02 18:42 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 19:19 wireless-testing commit eb9d4e8399181357cb6f6625ba7f849987432c6c causes stalls Tim Gardner
2008-11-01 21:19 ` Luis R. Rodriguez
2008-11-02 8:32 ` Nick Kossifidis
2008-11-02 9:10 ` Nick Kossifidis
2008-11-02 18:41 ` Bob Copeland [this message]
2008-11-02 20:49 ` Luis R. Rodriguez
2008-11-03 7:18 ` Johannes Berg
2008-11-03 7:29 ` Luis R. Rodriguez
2008-11-03 7:34 ` Johannes Berg
2008-11-03 7:51 ` Luis R. Rodriguez
2008-11-03 7:54 ` Johannes Berg
2008-11-03 8:01 ` Luis R. Rodriguez
2008-11-03 8:04 ` Johannes Berg
2008-11-03 8:26 ` Luis R. Rodriguez
2008-11-03 8:30 ` Johannes Berg
2008-11-03 8:40 ` Luis R. Rodriguez
2008-11-04 0:15 ` reinette chatre
2008-11-03 14:42 ` Bob Copeland
2008-11-04 7:12 ` Kalle Valo
2008-11-04 8:38 ` Tomas Winkler
2008-11-02 20:40 ` 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=20081102184146.GA6065@hash.localnet \
--to=me@bobcopeland.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.com \
--cc=mick@madwifi.org \
--cc=mickflemm@gmail.com \
--cc=tim.gardner@canonical.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 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.