public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: "Justin P. Mattock" <justinmattock@gmail.com>
Cc: Luis Rodriguez <Luis.Rodriguez@atheros.com>,
	Bruno Randolf <br1@einfach.org>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: ath9k: BUG kmalloc-8192: Poison overwritten
Date: Thu, 13 May 2010 18:43:11 -0700	[thread overview]
Message-ID: <20100514014311.GC2170@tux> (raw)
In-Reply-To: <4BECA6AC.9060609@gmail.com>

On Thu, May 13, 2010 at 06:26:04PM -0700, Justin P. Mattock wrote:
> On 05/13/10 18:23, Luis R. Rodriguez wrote:
> > On Thu, May 13, 2010 at 06:13:18PM -0700, Justin P. Mattock wrote:
> >> On 05/13/10 18:08, Bruno Randolf wrote:
> >>> On Friday 14 May 2010 09:50:51 Justin P. Mattock wrote:
> >>>> On 05/13/10 17:28, Luis R. Rodriguez wrote:
> >>>>> On Thu, May 13, 2010 at 5:21 PM, Justin P. Mattock
> >>>>>
> >>>>> <justinmattock@gmail.com>    wrote:
> >>>>>> On 05/13/10 16:01, Luis R. Rodriguez wrote:
> >>>>>>> On Thu, May 13, 2010 at 3:17 PM, Justin P. Mattock
> >>>>>>>
> >>>>>>> <justinmattock@gmail.com>      wrote:
> >>>>>>>> not sure what this is, but while at a convention
> >>>>>>>> I was trying to access the internet and(below is
> >>>>>>>> full dmesg) this showed up.
> >>>>>>>>
> >>>>>>>> After receiving this, I sat and tried to re-create
> >>>>>>>> my steps to reproduce but had no luck(was even going
> >>>>>>>> todo a bisect n the spot if I could re-create).
> >>>>>>>
> >>>>>>> OK this stuff is hard to reproduce it seems.. you have an Atheros
> >>>>>>> AR5418 MAC/BB Rev:2 AR5133 RF Rev:81, what kconfig option do you use
> >>>>>>> to get the poison stuff? I am just surprised we haven't seen it
> >>>>>>> ourselves yet. Let me make sure all of us get this kconfig option
> >>>>>>> enabled.
> >>>>>>>
> >>>>>>>      Luis
> >>>>>>
> >>>>>> CONFIG_ATH_COMMON=m
> >>>>>> # CONFIG_ATH_DEBUG is not set
> >>>>>> CONFIG_ATH5K=m
> >>>>>> # CONFIG_ATH5K_DEBUG is not set
> >>>>>> CONFIG_ATH9K_HW=m
> >>>>>> CONFIG_ATH9K_COMMON=m
> >>>>>> CONFIG_ATH9K=m
> >>>>>> # CONFIG_ATH9K_DEBUGFS is not set
> >>>>>>
> >>>>>> if you need my .config let me know.
> >>>>>> (I can try again reproducing, but man
> >>>>>> just doesn't easily fire off).
> >>>>>
> >>>>> Oh I mean the config options to enable the poison rant.
> >>>>>
> >>>>>      Luis
> >>>>
> >>>> shoot.. not sure how to grep for the right info
> >>>> in the .config for you, heres what grepping for COFIG_DEBUG
> >>>> looks like:
> >>>> CONFIG_DEBUG_FS=y
> >>>> CONFIG_DEBUG_KERNEL=y
> >>>> CONFIG_DEBUG_RT_MUTEXES=y
> >>>> CONFIG_DEBUG_PI_LIST=y
> >>>> CONFIG_DEBUG_SPINLOCK=y
> >>>> CONFIG_DEBUG_MUTEXES=y
> >>>> CONFIG_DEBUG_BUGVERBOSE=y
> >>>> CONFIG_DEBUG_MEMORY_INIT=y
> >>>> CONFIG_DEBUG_STACKOVERFLOW=y
> >>>
> >>> oh, this reminds me of a similar report we had for ath5k:
> >>>
> >>> https://bugzilla.kernel.org/show_bug.cgi?id=15861
> >>>
> >>> the subject on this mailing list was "ath5k misbehaving affecting other kernel
> >>> parts unrelated?"
> >>>
> >>> bruno
> >>>
> >>
> >> Could be.. From what I remember
> >> all I was doing was switching from
> >> one wireless network to another
> >> (then opening firefox to sign my life away).
> >
> > Were you using network-manager? Or the supplicant manually?
> >
> >    Luis
> >
> 
> I've got wicd(1.5.9) manager
> running over here.

Can you try this:

diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 8c79548..a372f2c 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -599,6 +599,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
 	 */
 	ath_read_cachesize(common, &csz);
 	common->cachelsz = csz << 2; /* convert to bytes */
+	printk("ATH9K: cachelsz: %d\n", common->cachelsz);
 
 	/* Initializes the hardware for all supported chipsets */
 	ret = ath9k_hw_init(ah);


Would like to see what you get there on dmesg upon load.

  Luis

  reply	other threads:[~2010-05-14  1:43 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13 22:17 ath9k: BUG kmalloc-8192: Poison overwritten Justin P. Mattock
2010-05-13 23:01 ` Luis R. Rodriguez
2010-05-14  0:21   ` Justin P. Mattock
2010-05-14  0:28     ` Luis R. Rodriguez
2010-05-14  0:50       ` Justin P. Mattock
2010-05-14  1:08         ` Bruno Randolf
2010-05-14  1:13           ` Justin P. Mattock
2010-05-14  1:23             ` Luis R. Rodriguez
2010-05-14  1:26               ` Justin P. Mattock
2010-05-14  1:43                 ` Luis R. Rodriguez [this message]
2010-05-14  1:45                   ` Luis R. Rodriguez
2010-05-14  2:14                     ` Justin P. Mattock
2010-05-14  4:01                       ` Luis R. Rodriguez
2010-05-14  4:44                         ` Justin P. Mattock
2010-05-14  6:16                           ` Luis R. Rodriguez
2010-05-14  6:20                             ` Bruno Randolf
2010-05-14  6:31                               ` Justin P. Mattock
2010-05-14  6:36                                 ` Luis R. Rodriguez
2010-05-14  6:42                                   ` Justin P. Mattock
2010-05-14  6:38                                 ` Bruno Randolf
2010-05-14 15:41                                   ` Justin P. Mattock
2010-05-14 16:53                                     ` Luis R. Rodriguez
2010-05-14 17:24                                       ` Justin P. Mattock
2010-05-14 17:29                                         ` Luis R. Rodriguez
2010-05-14 19:04                                           ` Justin P. Mattock
2010-05-14 20:13                                             ` Luis R. Rodriguez
2010-05-14 20:21                                               ` Justin P. Mattock
2010-05-14 20:52                                                 ` Luis R. Rodriguez
2010-05-14 20:58                                                   ` Justin P. Mattock
2010-05-14 22:32                                                   ` Justin P. Mattock
2010-05-15  0:52                                                     ` Luis R. Rodriguez
2010-05-15  1:26                                                       ` Justin P. Mattock
2010-05-14  6:20                             ` Justin P. Mattock
2010-05-14  4:55   ` Pekka Enberg
2010-05-14  5:07     ` Luis R. Rodriguez
2010-05-14  5:19       ` Justin P. Mattock
2010-05-14 16:12         ` Christoph Lameter
2010-05-14 16:54           ` Justin P. Mattock
2010-05-14 14:26       ` Christoph Lameter

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=20100514014311.GC2170@tux \
    --to=lrodriguez@atheros.com \
    --cc=Luis.Rodriguez@atheros.com \
    --cc=br1@einfach.org \
    --cc=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /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