Skip to contentSkip to conversation

EFS breakage in 2.5

DISCUSSION Dave Jones 2 participants 4 messages Jun 14, 2003

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

Current bk oopses during initialisation of EFS.

EFS: 1.0a - http://aeschi.ch.eu.org/efs/
-----------[ cut here ]-------------
kernel BUG at mm/slab.c:981!
invalid operand: 0000 [#1]

CPU: 0

EIP: 0060:[<c0144401>] Not tainted
EFLAGS: 00010202
EIP is at kmem_cache_create+0x12c/0x685
...

Call Trace:
 init_inodecache
 init_once
 init_efs
 do_initcalls
 init_workqueues
 init
 init
 kernel_thread_helper

<0> kernel panic: Attemped to kill init!

#1 lore raw
Quoted 2 lines · Dave Jones

Current bk oopses during initialisation of EFS.

fs/efs/super.c renamed from fs/efs/super.c~efs-typo-fix +1 -1
diff -puN fs/efs/super.c~efs-typo-fix fs/efs/super.c
@@ -58,7 +58,7 @@ static int init_inodecache(void)
 {
 	efs_inode_cachep = kmem_cache_create("efs_inode_cache",
 					     sizeof(struct efs_inode_info),
-					     0, SLAB_HWCACHE_ALIGN||SLAB_RECLAIM_ACCOUNT,
+					     0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT,
 					     init_once, NULL);
 	if (efs_inode_cachep == NULL)
 		return -ENOMEM;

_

author
#2 lore raw

fs/efs/super.c static int init_inodecache(void) · line 61

Quoted 6 lines · Andrew Morton
Quoted 2 lines · Dave Jones

Current bk oopses during initialisation of EFS.

fs/efs/super.c renamed from fs/efs/super.c~efs-typo-fix +1 -1
-					     0, SLAB_HWCACHE_ALIGN||SLAB_RECLAIM_ACCOUNT,
+					     0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT,

Deja-vu. dee-dee-dee-dee...
That's got to be a cut-n-paste error from the same error that was fixed a week or so back somewhere else. Hopefully it's the last.

Dave

#3 lore raw
Quoted 2 lines · Dave Jones

Deja-vu. dee-dee-dee-dee...

I had to pinch myself ;)

Quoted 2 lines

That's got to be a cut-n-paste error from the same error that was fixed a week or so back somewhere else. Hopefully it's the last.

It is. I checked.