lkml.org 
[lkml]   [2001]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: OOPS at boot in 2.4.17-rc[12] (kernel BUG at slab.c:815) maybe devfs
Richard Gooch wrote:
>
> Gregor Suhr writes:
> > ...
> > kernel BUG at slab.c:815!

Somebody tried to create the same cache twice. This can
happen when loading a buggy module the second time, various
things.

Please, apply this patch and run it again.

--- linux-2.4.17-rc2/mm/slab.c Tue Dec 18 19:37:31 2001
+++ linux-akpm/mm/slab.c Thu Dec 20 16:14:19 2001
@@ -811,8 +811,10 @@ next:
kmem_cache_t *pc = list_entry(p, kmem_cache_t, next);

/* The name field is constant - no lock needed. */
- if (!strcmp(pc->name, name))
+ if (!strcmp(pc->name, name)) {
+ printk(__FUNCTION__ ": %s\n", name);
BUG();
+ }
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.097 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site