From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org,
Pekka Enberg <penberg@cs.helsinki.fi>,
Christoph Lameter <clameter@sgi.com>,
linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [bug] SCSI/SLUB - latest -git: WARNING: at mm/slub.c:2443 kmem_cache_destroy, scsi_put_host_cmd_pool()
Date: Sat, 19 Apr 2008 08:22:37 -0500 [thread overview]
Message-ID: <1208611357.3280.5.camel@localhost.localdomain> (raw)
In-Reply-To: <20080419085758.GA18612@elte.hu>
On Sat, 2008-04-19 at 10:57 +0200, Ingo Molnar wrote:
> x86.git allyesconfig bootup test produced the following warning in
> slub.c (and a stream of similar warnings later on):
>
> [ 47.295141] ------------[ cut here ]------------
> [ 47.298969] WARNING: at mm/slub.c:2443 kmem_cache_destroy+0xf8/0x102()
> [ 47.302967] Modules linked in:
> [ 47.307205] Pid: 1, comm: swapper Not tainted 2.6.25-sched-devel.git-x86-latest.git #24
> [ 47.310970] [<c014be1a>] warn_on_slowpath+0x46/0x56
> [ 47.317464] [<c019685f>] ? get_pageblock_flags_group+0x56/0x74
> [ 47.322969] [<c04f2e03>] ? list_add+0xa/0xf
> [ 47.328814] [<c123083a>] ? _spin_unlock+0x22/0x25
> [ 47.333327] [<c0191ce8>] ? time_hardirqs_off+0xe/0x1f
> [ 47.338972] [<c0167ff7>] ? trace_hardirqs_off_caller+0x15/0xab
> [ 47.342970] [<c0168098>] ? trace_hardirqs_off+0xb/0xd
> [ 47.350971] [<c01976f7>] ? free_hot_cold_page+0x11d/0x139
> [ 47.354970] [<c0191f58>] ? time_hardirqs_on+0xe/0x1f
> [ 47.361595] [<c0169779>] ? trace_hardirqs_on_caller+0x16/0x13c
> [ 47.366973] [<c01698aa>] ? trace_hardirqs_on+0xb/0xd
> [ 47.370972] [<c01b1a62>] kmem_cache_destroy+0xf8/0x102
> [ 47.377727] [<c09dab7f>] scsi_put_host_cmd_pool+0x42/0x58
> [ 47.382973] [<c09db1b4>] scsi_destroy_command_freelist+0x54/0x5c
> [ 47.386972] [<c09db2ef>] scsi_host_dev_release+0x79/0xa9
> [ 47.394973] [<c067ee95>] device_release+0x3e/0x54
> [ 47.398974] [<c04e0e62>] kobject_release+0x45/0x55
> [ 47.405383] [<c04e0e1d>] ? kobject_release+0x0/0x55
> [ 47.409513] [<c04e1968>] kref_put+0x3e/0x49
> [ 47.414975] [<c04e0d8d>] kobject_put+0x19/0x1b
> [ 47.418975] [<c067f44e>] put_device+0x16/0x18
> [ 47.422975] [<c09db274>] scsi_host_put+0x12/0x14
> [ 47.426975] [<c09db3dc>] scsi_unregister+0x1d/0x20
> [ 47.433383] [<c1ceddcc>] aha1542_detect+0x7db/0x7f5
> [ 47.438977] [<c01698aa>] ? trace_hardirqs_on+0xb/0xd
> [ 47.442976] [<c1ceddf1>] ? init_this_scsi_driver+0xb/0xd0
> [ 47.450666] [<c1cede44>] init_this_scsi_driver+0x5e/0xd0
> [ 47.454978] [<c1c944db>] kernel_init+0x152/0x2b0
> [ 47.458978] [<c1c94389>] ? kernel_init+0x0/0x2b0
> [ 47.465249] [<c1c94389>] ? kernel_init+0x0/0x2b0
> [ 47.469258] [<c01199c3>] kernel_thread_helper+0x7/0x10
> [ 47.474978] =======================
> [ 47.478980] ---[ end trace 778e504de7e3b1e3 ]---
> [ 47.483297] ------------[ cut here ]------------
>
> config and bootlog at:
>
> http://redhat.com/~mingo/misc/config-Sat_Apr_19_10_28_28_CEST_2008.bad
> http://redhat.com/~mingo/misc/log-Sat_Apr_19_10_28_28_CEST_2008.bad
>
> [a few .config options were turned off: just accept all the defaults
> after 'make oldconfig']
The WARN_ON is caused by kmem_cache_destroy() with apparently
outstanding objects, isn't it?
The most significant piece of the log seems to be before with all those
isa SCSI drivers ... I assume you don't actually have any of the
hardware, you're just randomly inserting the modules?
James
next prev parent reply other threads:[~2008-04-19 13:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-19 8:57 [bug] SCSI/SLUB - latest -git: WARNING: at mm/slub.c:2443 kmem_cache_destroy, scsi_put_host_cmd_pool() Ingo Molnar
2008-04-19 9:11 ` Pekka J Enberg
2008-04-19 10:43 ` Ingo Molnar
2008-04-21 5:58 ` Christoph Lameter
2008-04-21 13:50 ` Ingo Molnar
2008-04-19 13:22 ` James Bottomley [this message]
2008-04-21 13:49 ` Ingo Molnar
2008-04-21 15:57 ` James Bottomley
2008-04-22 13:10 ` Ingo Molnar
2008-04-22 13:39 ` James Bottomley
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=1208611357.3280.5.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
/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