2.6.37-next - kernel BUG at fs/dcache.c:1363

From: Valdis . Kletnieks
Date: Wed Jan 05 2011 - 12:15:51 EST


Saw this crash on a linux-next pulled yesterday at 2PM EST, kernel dies very
early (looks like first time it touches configfs for anything - trying to boot
with netconsole enabled caused it to die even faster). I can bisect this if
it doesn't immediately ring a bell...

It dies here:

void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op)
{
BUG_ON(dentry->d_op);

Am guessing configfs passed in a dentry that wasn't filled in enough.

(hand-transcribed from a crappy cellphone pic)

kernel BUG at fs/dcache.c:1363
invalid opcode: 0000 [#1] PREEMT SMP
last sysfs file:
CPU 0
Modules linked in:

Pid: 1, comm: swapper Not tainted 2.6.37-rc8-next-2011 (edge of pic)
...

configfs_attach_item.clone.14+0x11d/0x254
configfs_attach_group.clone.15+0x1c/0x196
? _raw_spinlock_unlock+0x5c/0x69
configfs_register_subsystem_0xce/0x144
? init_netconsole+0x0/0x21f
init_netconsole+0x10d/0x21f
? init_netconsole+0x0/0x21f
do_one_initcall+0x52/0x12f
kernel_init+0x162/0x1e7
kernel_thread_helper+0x4/0x10
? finish_task_switch_0x3f/0xe3
? restore_args+0x0/0x30
? kernel_init+0x0/0x1e7
? kernel_thread_helper+0x0/0x10

I d_net_d_op+0x38/0xb0


Attachment: pgp00000.pgp
Description: PGP signature