beginner met kernel BUG at slab.c 871

From: xuhaoz
Date: Tue Sep 07 2004 - 00:54:04 EST


linux-kernelhi:

I met a kernel BUG at slab.c , exactly at here:

down(&cache_chain_sem);
{
struct list_head *p;
list_for_each(p,&cache_chain){
kmem_cache_t *pc=list_entry(p,kmem_cache_t,next);
if(!strcmp(pc->name,name))
BUG();
}
}
I also print the pc->name and name to the terminal, the pc->name is files_cache, certainly the name is files_cache.

the version is linux-2.4.19

Would you please give some advice about the cause of the Kernel BUG?
Maybe I haven't give you enough information, but I really don't know what message I should give, please tell me,
and I will post them .
Any suggestion will be appreciated.
Thank you .

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/