Skip to contentSkip to conversation

beginner met kernel BUG at slab.c 871

DISCUSSION xuhaoz 2 participants 2 messages Sep 7, 2004 – Sep 8, 2004

lore
Share & tools
lore

xuhaoz

author
#0 lore raw

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 . 
#1 lore raw
Quoted 12 lines · xuhaoz

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();
				}
Quoted 8 lines
			}
	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 .

See /your/linux/kernel/sources/REPORTING_BUGS.

Regards
Guennadi

Quoted 10 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

---
Guennadi Liakhovetski