Re: OOPS at boot in 2.4.17-rc[12] (kernel BUG at slab.c:815) maybe devfs

From: Andrew Morton (akpm@zip.com.au)
Date: Thu Dec 20 2001 - 19:15:10 EST


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/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:24 EST