Re: ath9k: BUG kmalloc-8192: Poison overwritten

From: Justin P. Mattock
Date: Fri May 14 2010 - 18:32:39 EST






On May 14, 2010, at 1:52 PM, "Luis R. Rodriguez" <lrodriguez@xxxxxxxxxxx> wrote:

On Fri, May 14, 2010 at 01:21:34PM -0700, Justin P. Mattock wrote:
Eveything is on except ath5k
For debugging.

Bleh, try this.

diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/ wireless/ath/ath9k/recv.c
index 1ca42e5..3404198 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -129,7 +129,7 @@ int ath_rx_init(struct ath_softc *sc, int nbufs)
common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN,
min(common->cachelsz, (u16)64));

- ath_print(common, ATH_DBG_CONFIG, "cachelsz %u rxbufsize %u\n",
+ printk("ATH9K: cachelsz %u rxbufsize %u\n",
common->cachelsz, common->rx_bufsize);

/* Initialize rx descriptors */

Not sure why this is not printing, the common debug_mask should
already be set here prior to this. Anyway this would force the
print I want.

Luis

O.k appologize for the delay
(had to play limo driver),
Anyways here is the grep info:
ATH9K: cachelsz 256 rxbufsize 3904
(messg is the same before and after
Rrmod/modprobing with debug options)

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/