From: Jens Axboe <jens.axboe@oracle.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: Srihari Vijayaraghavan <sriharivijayaraghavan@yahoo.com.au>,
Ingo Molnar <mingo@elte.hu>, Christoph Lameter <clameter@sgi.com>,
Oliver Xymoron <oxymoron@waste.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub
Date: Tue, 22 May 2007 17:36:22 +0200 [thread overview]
Message-ID: <20070522153622.GZ4705@kernel.dk> (raw)
In-Reply-To: <Pine.LNX.4.64.0705221358360.4904@blonde.wat.veritas.com>
On Tue, May 22 2007, Hugh Dickins wrote:
> On Tue, 22 May 2007, Srihari Vijayaraghavan wrote:
> > --- Ingo Molnar <mingo@elte.hu> wrote:
> > > * Srihari Vijayaraghavan <sriharivijayaraghavan@yahoo.com.au> wrote:
> > > > Yup, with CONFIG_SMP=n, I'm unable to reproduce the problem. It's
> > > > quite stable actually (having completed a dozen kernel compile
> > > > sessions so far).
> >
> > [...]
> >
> > > could you enable CONFIG_PROVE_LOCKING - does it spit out any warning
> > > into the syslog?
> >
> > Compiled slub with SMP & CONFIG_PROVE_LOCKING. No luck. It still hangs solid
> > after the second spinlock lockup call trace.
> >
> > Here's the relevant sections of the kernel logs:
> >
> > ...
> > Freeing unused kernel memory: 228k freed
> > BUG: spinlock bad magic on CPU#1, init/1
> > lock: ffff81011f5f1100, .magic: ffff8101, .owner: <none>/-1, .owner_cpu: -1
> >
> > Call Trace:
> > [<ffffffff802f326a>] _raw_spin_lock+0x22/0xf6
> > [<ffffffff8026b2d5>] vma_adjust+0x21c/0x446
> > [<ffffffff8026b2d5>] vma_adjust+0x21c/0x446
> > [<ffffffff8026b9d4>] vma_merge+0x10c/0x195
> > [<ffffffff8026c757>] do_mmap_pgoff+0x3f5/0x794
> > [<ffffffff803fff0c>] _spin_unlock_irq+0x24/0x27
> > [<ffffffff8020f414>] sys_mmap+0xe5/0x110
> > [<ffffffff80209dde>] system_call+0x7e/0x83
> > ...
> > PM: Adding info for No Bus:vcsa1
> > BUG: spinlock lockup on CPU#1, hostname/369, ffff81011f5f1fc0
> >
> > Call Trace:
> > [<ffffffff802f3317>] _raw_spin_lock+0xcf/0xf6
> > [<ffffffff8026ec9c>] anon_vma_unlink+0x1c/0x68
> > [<ffffffff8026ec9c>] anon_vma_unlink+0x1c/0x68
> > [<ffffffff80269aa0>] free_pgtables+0x69/0xc4
> > [<ffffffff8026ad0e>] exit_mmap+0x91/0xeb
> > [<ffffffff80228cea>] mmput+0x2c/0x9f
> > [<ffffffff8022df72>] do_exit+0x22e/0x82e
> > [<ffffffff8022e5f4>] sys_exit_group+0x0/0xe
> > [<ffffffff80209dde>] system_call+0x7e/0x83
> >
> >
> > Surprisingly, with CONFIG_SMP=n, CONFIG_PROVE_LOCKING produces this with slub
> > (then hangs solid):
> >
> > Freeing unused kernel memory: 188k freed
> > BUG: spinlock lockup on CPU#0, init/1, ffff81011e9d3160
> >
> > Call Trace:
> > [<ffffffff802eca20>] _raw_spin_lock+0xca/0xe8
> > [<ffffffff80265d6d>] vma_adjust+0x218/0x442
> > [<ffffffff80265d6d>] vma_adjust+0x218/0x442
> > [<ffffffff8026646b>] vma_merge+0x10c/0x195
> > [<ffffffff802671d5>] do_mmap_pgoff+0x3f5/0x790
> > [<ffffffff803f6e84>] _spin_unlock_irq+0x24/0x27
> > [<ffffffff8020ead0>] sys_mmap+0xe5/0x110
> > [<ffffffff80209cce>] system_call+0x7e/0x83
> >
> > To recap:
> > 1. No problems with slub on CONFIG_SMP=n & CONFIG_PROVE_LOCKING=n
> > 2. Problem with slub on CONFIG_SMP=n & CONFIG_PROVE_LOCKING=y (perhaps a. some
> > locking issue when slub is activated or b. something is wrong with 'prove
> > locking' mechanism when slub is activated or c. something else I don't see)
> > 3. Problem with slub on CONFIG_SMP=y (even without CONFIG_PROVE_LOCKING=y)
>
> You've made no mention of trying the patch I sent yesterday, or better,
> the patch Christoph replied with to replace it. Please clarify whether
> you're getting the above after applying one of those patches - thanks.
Christophs patch works for me!
--
Jens Axboe
next prev parent reply other threads:[~2007-05-22 15:39 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-20 13:35 [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub Srihari Vijayaraghavan
2007-05-21 16:30 ` Christoph Lameter
2007-05-21 17:41 ` Hugh Dickins
2007-05-21 18:25 ` Christoph Lameter
2007-05-21 18:44 ` Hugh Dickins
2007-05-21 18:48 ` Christoph Lameter
2007-05-21 19:00 ` Jens Axboe
2007-05-21 19:06 ` Hugh Dickins
2007-05-21 19:09 ` Jens Axboe
2007-05-21 19:13 ` Christoph Lameter
2007-05-21 19:26 ` Jens Axboe
2007-05-21 19:29 ` Hugh Dickins
2007-05-21 19:34 ` Christoph Lameter
2007-05-21 22:27 ` Christoph Lameter
2007-05-21 23:46 ` Christoph Lameter
2007-05-22 7:07 ` Jens Axboe
2007-05-22 8:26 ` Srihari Vijayaraghavan
2007-05-22 9:24 ` Ingo Molnar
2007-05-22 11:01 ` Srihari Vijayaraghavan
2007-05-22 11:20 ` Ingo Molnar
2007-05-22 11:26 ` Srihari Vijayaraghavan
2007-05-22 13:01 ` Hugh Dickins
2007-05-22 15:36 ` Jens Axboe [this message]
2007-05-22 18:30 ` Christoph Lameter
2007-05-22 20:10 ` Jens Axboe
2007-05-22 22:15 ` Srihari Vijayaraghavan
2007-05-22 22:25 ` Christoph Lameter
2007-05-23 7:11 ` Jens Axboe
2007-05-23 17:04 ` Christoph Lameter
2007-05-24 7:25 ` Jens Axboe
2007-05-24 16:55 ` Christoph Lameter
2007-05-25 6:12 ` Jens Axboe
2007-05-25 13:40 ` Christoph Lameter
2007-05-25 14:00 ` Jens Axboe
2007-05-26 1:52 ` Christoph Lameter
2007-05-26 2:49 ` Srihari Vijayaraghavan
2007-05-23 10:18 ` Srihari Vijayaraghavan
2007-05-23 17:10 ` Christoph Lameter
2007-05-23 17:19 ` Christoph Lameter
2007-05-23 22:23 ` Srihari Vijayaraghavan
2007-05-23 22:32 ` Christoph Lameter
2007-05-24 13:12 ` Srihari Vijayaraghavan
2007-05-24 16:58 ` Christoph Lameter
2007-05-24 21:30 ` Srihari Vijayaraghavan
2007-05-24 22:19 ` Christoph Lameter
2007-05-24 22:39 ` Srihari Vijayaraghavan
2007-05-21 19:04 ` Hugh Dickins
-- strict thread matches above, loose matches on Subject: below --
2007-05-20 3:09 Srihari Vijayaraghavan
2007-05-20 7:12 ` Christoph Lameter
2007-05-20 7:40 ` Srihari Vijayaraghavan
2007-05-20 13:24 ` Satyam Sharma
2007-05-20 13:37 ` Srihari Vijayaraghavan
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=20070522153622.GZ4705@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=clameter@sgi.com \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=oxymoron@waste.org \
--cc=sriharivijayaraghavan@yahoo.com.au \
/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