public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Tobias Karnat <tobias.karnat@googlemail.com>,
	linux-acpi@vger.kernel.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	richard.coe@med.ge.com, jslaby@novell.com
Subject: Re: acpi_button: random oops on boot
Date: Mon, 24 Jan 2011 14:03:21 +0100	[thread overview]
Message-ID: <201101241403.21707.trenn@suse.de> (raw)
In-Reply-To: <20101207051521.GA16804@helgaas.com>

On Tuesday, December 07, 2010 06:15:21 AM Bjorn Helgaas wrote:
> On Tue, Dec 07, 2010 at 12:54:59AM +0100, Tobias Karnat wrote:
... 
> > Couldn't this be a compiler issue?
> > Adding some printk's to fix it seems to be insane.
> 
> Agreed, adding printk's is absolutely not any kind of fix.
> I think it's more likely to be some sort of memory corruption or
> race than a compiler problem.  I assume there is some old kernel
> that works fine, even when compiled with the same compiler.
> 
> In addition to the isolation ideas I suggested above, you might
> boot with "maxcpus=1" and turn on all the Kconfig memory debug
> switches.
Aren't there some memory corruption checkers which can
additionally be enabled?

CONFIG_DEBUG_SLAB
Say Y here to have the kernel do limited verification on memory
allocation as well as poisoning memory on free to catch use of freed
memory. This can make kmalloc/kfree-intensive workloads much slower.

CONFIG_DEBUG_VM
Enable this to turn on extended checks in the virtual-memory system
that may impact performance.

CONFIG_DEBUG_LIST
Enable this to turn on extended checks in the linked-list
walking routines.

CONFIG_DEBUG_PAGEALLOC
Unmap pages from the kernel linear mapping after free_pages().
This results in a large slowdown, but helps to find certain types
of memory corruption.

Did I oversee one?

Not sure which is best, it should not hurt to turn on all
(if possible) for a test.

    Thomas

  parent reply	other threads:[~2011-01-24 13:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-04 15:49 acpi_button: random oops on boot Tobias Karnat
2010-12-06 16:28 ` Bjorn Helgaas
2010-12-06 23:01   ` Tobias Karnat
2010-12-06 23:26     ` Bjorn Helgaas
2010-12-06 23:54       ` Tobias Karnat
2010-12-07  0:22         ` Tobias Karnat
2010-12-07  5:15         ` Bjorn Helgaas
2010-12-07 14:44           ` Rich Coe
2010-12-07 15:02           ` Tobias Karnat
2010-12-07 15:35             ` Tobias Karnat
2010-12-07 15:52               ` Tobias Karnat
2011-01-24 13:03           ` Thomas Renninger [this message]
2011-01-24 18:13             ` Tobias Karnat
2011-01-24 18:48               ` Rich Coe

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=201101241403.21707.trenn@suse.de \
    --to=trenn@suse.de \
    --cc=bjorn.helgaas@hp.com \
    --cc=jslaby@novell.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard.coe@med.ge.com \
    --cc=tobias.karnat@googlemail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox