From: "Marco Berizzi" <pupilla@hotmail.com>
To: "Christoph Lameter" <clameter@sgi.com>
Cc: "Satyam Sharma" <satyam.sharma@gmail.com>,
<linux-kernel@vger.kernel.org>, "David Chinner" <dgc@sgi.com>,
<xfs@oss.sgi.com>, "Andrew Morton" <akpm@linux-foundation.org>,
"Marco Berizzi" <pupilla@hotmail.com>
Subject: Re: 2.6.21.3 Oops (was Re: XFS internal error xfs_da_do_buf(2) at line 2087 of file fs/xfs/xfs_da_btree.c. Caller 0xc01b00bd)
Date: Fri, 22 Jun 2007 11:22:09 +0200 [thread overview]
Message-ID: <BAY103-DAV5C915E9475BFB6180B585B2170@phx.gbl> (raw)
In-Reply-To: <Pine.LNX.4.64.0706211121520.7711@schroedinger.engr.sgi.com>
Christoph Lameter wrote:
> On Thu, 21 Jun 2007, Marco Berizzi wrote:
>
> > > > Some RCU callback (that calls kmem_cache_free()) oopsed and
> > > > panic'ed his box. [ Marco had experienced fs issues lately, so
we
> > > could
> > > > suspect file_free_rcu() here, but I can't really tell from the
stack
> > > trace;
> > > > BTW whats with the rampant disease in the kernel to declare as
> > inline
> > > > even those functions exclusively meant to be dereferenced and
passed
> > > > as pointers to call_rcu()?! ]
>
>
> The BUG_ON that triggers this signals us that someone tried to perform
> a kfree or kmem_cache_free on an object that is not in a slab page.
>
>
> > Hello everybody.
> > Few minutes ago 2.6.22-rc5 has been
> > crashed with this error (see also the
> > bitmap at http://80.204.235.230/foto2.jpg).
> > Just for record: if I build linux
> > with 'Debug slab memory allocations'
> > the box doesn't crash.
>
> Hmmm.. That is strange and could point to some sort of race condition.
>
> 1. The object is freed. It is the last page on the slab. Thus slab
> decommissions the page and resets PageSlab.
>
> 2. Another process tries to free the object again. Now the page is no
> longer marked as being a SLAB page. Thus the BUG_ON is triggered.
>
> Can you try the same with SLUB? Boot with "slub_debug".
With the same kernel or should I compile with
some other options?
> If you cannot
> trigger the error anymore do limited debugging by booting with
> "slub_debug=F". Maybe that will be enough to trigger the race.
next prev parent reply other threads:[~2007-06-22 9:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 13:40 Marco Berizzi
2007-06-21 18:27 ` Christoph Lameter
2007-06-22 9:22 ` Marco Berizzi [this message]
2007-07-23 19:19 ` Christoph Lameter
[not found] <a781481a0706110649g34abf55pd34c2592a36d161d@mail.gmail.com>
2007-06-11 14:33 ` Marco Berizzi
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=BAY103-DAV5C915E9475BFB6180B585B2170@phx.gbl \
--to=pupilla@hotmail.com \
--cc=akpm@linux-foundation.org \
--cc=clameter@sgi.com \
--cc=dgc@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=satyam.sharma@gmail.com \
--cc=xfs@oss.sgi.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
all inboxes | Powered by JetHome®