Messages in this thread Patch in this message | | | Date | Thu, 20 Dec 2001 16:15:10 -0800 | From | Andrew Morton <> | Subject | Re: 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/
| |