All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: "Tomáš Janoušek" <tomi@nomi.cz>
Cc: linux-kernel@vger.kernel.org, Wey-Yi Guy <wey-yi.w.guy@intel.com>,
	linux-wireless@vger.kernel.org
Subject: Re: iwlagn: memory corruption with WPA enterprise
Date: Mon, 31 Oct 2011 17:03:43 +0100	[thread overview]
Message-ID: <20111031160342.GB2225@redhat.com> (raw)
In-Reply-To: <20111029171554.GA16596@nomi.cz>

On Sat, Oct 29, 2011 at 07:15:54PM +0200, Tomáš Janoušek wrote:
> Is there anything I can do to track this down? Perhaps try some experimental
> uCode or something?

You may try debugging patches I posted a while ago:
http://marc.info/?l=linux-mm&m=131914560820378&w=2
http://marc.info/?l=linux-mm&m=131914560820293&w=2
http://marc.info/?l=linux-mm&m=131914560820317&w=2

With a bit of luck, kernel should panic and dump call-trace when
bad code start to write at memory addresses where is not suppose
to.

You have to compile kernel with CONFIG_DEBUG_PAGEALLOC and add
corrupt_dbg=1 to catch memory corruption. However that may not
work if you have small amount of memory.

Also would be good to enable other debug options:

CONFIG_DEBUG_OBJECTS=y
CONFIG_DEBUG_OBJECTS_FREE=y
CONFIG_DEBUG_OBJECTS_TIMERS=y
CONFIG_DEBUG_OBJECTS_WORK=y
CONFIG_DEBUG_OBJECTS_RCU_HEAD=y
CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1

CONFIG_DEBUG_SG=y

CONFIG_DEBUG_LIST=y

Stanislaw

  reply	other threads:[~2011-10-31 15:03 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-29 17:15 iwlagn: memory corruption with WPA enterprise Tomáš Janoušek
2011-10-31 16:03 ` Stanislaw Gruszka [this message]
2011-11-09 15:54   ` Tomáš Janoušek
2011-11-09 15:59     ` wwguy
2011-11-09 16:51     ` Stanislaw Gruszka
2011-11-10  9:18       ` Tomáš Janoušek
2011-11-10 11:47         ` Stanislaw Gruszka
2011-11-10 12:53           ` Tomáš Janoušek
2011-11-10 16:07             ` Stanislaw Gruszka
2011-11-10 15:24               ` Guy, Wey-Yi
2011-11-10 16:42                 ` Tomáš Janoušek
2011-11-10 17:02                   ` Larry Finger
2011-11-10 16:30               ` Tomáš Janoušek
2011-11-11  5:47                 ` Stanislaw Gruszka
2011-11-11 15:01                   ` Tomáš Janoušek
2011-11-14 14:07                     ` Stanislaw Gruszka
2011-11-19 18:11                       ` Tomáš Janoušek
2011-11-20  2:13                         ` wwguy
2011-11-20  3:20                           ` Tomáš Janoušek
2011-11-20  4:28                             ` wwguy
2011-11-20 20:40                               ` Tomáš Janoušek
2012-02-10 18:09                                 ` Tomáš Janoušek
2012-02-13  9:25                                   ` Stanislaw Gruszka
2012-02-13 13:09                                     ` Stanislaw Gruszka
2012-02-13 13:29                                       ` Tomáš Janoušek
2012-02-14  9:20                                   ` Stanislaw Gruszka
2012-03-05 14:01                                     ` Tomáš Janoušek
2012-03-05 14:57                                       ` Stanislaw Gruszka
2012-03-05 15:00                                         ` Tomáš Janoušek
2012-03-05 15:11                                           ` Stanislaw Gruszka
2012-03-05 15:18                                             ` Tomáš Janoušek
2011-11-21 13:05                         ` Stanislaw Gruszka
2011-11-21 13:09                           ` Tomáš Janoušek
2011-11-21 13:40                             ` Stanislaw Gruszka
2011-11-21 14:32                               ` Tomáš Janoušek
2011-11-10 19:31         ` Adrian Chadd
2011-11-11  5:44           ` Stanislaw Gruszka

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=20111031160342.GB2225@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tomi@nomi.cz \
    --cc=wey-yi.w.guy@intel.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.