Return-path: Received: from mail.deathmatch.net ([70.167.247.36]:1490 "EHLO mail.deathmatch.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753827AbZBONrh (ORCPT ); Sun, 15 Feb 2009 08:47:37 -0500 Date: Sun, 15 Feb 2009 08:47:02 -0500 From: Bob Copeland To: Dhaval Giani Cc: Jiri Slaby , Dhaval Giani , linville@tuxdriver.com, davem@davemloft.net, linux-wireless@vger.kernel.org, ath5k-devel@venema.h4ckr.net, Nick Kossifidis , "Luis R. Rodriguez" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] ath5k: fix hw rate index condition Message-ID: <20090215134702.GA10180@hash.localnet> (sfid-20090215_144741_173572_740E4828) References: <1231336282-22283-1-git-send-email-jirislaby@gmail.com> <1231338965-796-1-git-send-email-jirislaby@gmail.com> <20090107152208.GB4207@linux.vnet.ibm.com> <4964CAAA.3040801@gmail.com> <25891f3e0902012357n21e7bc2fmc59fb2a842631651@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <25891f3e0902012357n21e7bc2fmc59fb2a842631651@mail.gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Feb 02, 2009 at 01:27:39PM +0530, Dhaval Giani wrote: > So I finally managed to hit this on 2.6.29-rc3. It is hard to > reproduce, so I hope so much information is enough to give you a good > guess. This time it hit while trying to connect to an open network at > the airport. > WARNING: at net/mac80211/rx.c:2236 __ieee80211_rx+0x96/0x571 [mac80211]() > Hardware name: 2007CS3 > RATE=255, BAND=8 band is supposed to be sc->curband? 8 is way wrong. rate could be 255 if, for some reason, the hardware rate wasn't in the rate table. > Pid: 2634, comm: X Not tainted 2.6.29-rc3 #18 > Call Trace: > [] warn_slowpath+0x76/0xad > [] ? __lock_acquire+0xb36/0xb45 > [] __ieee80211_rx+0x96/0x571 [mac80211] > [] ath5k_tasklet_rx+0x4fb/0x53d [ath5k] > [] ? _spin_unlock_irq+0x27/0x34 > [] tasklet_action+0x85/0xf0 Interestingly I hit this just the other day -- I was debugging something else and had a serial console hooked up, otherwise I wouldn't have noticed at all. It happened at some point during a suspend-to-ram sequence, which makes at least my version sound like a race condition of some sort.