Re: ath9k: BUG kmalloc-8192: Poison overwritten

From: Luis R. Rodriguez
Date: Fri May 14 2010 - 16:53:03 EST


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
--
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/