do R/W tests on JFFS2 and suffer segmentation fault

Thomas Gleixner tglx at linutronix.de
Tue Feb 21 04:25:14 EST 2006


On Tue, 2006-02-21 at 09:17 +0800, Robert Liu wrote:
> I am doing some read/write tests on JFFS2 partition, and find there may be
> a bug in jffs2_remove_from_hash_table().

Which kernel version ? Any patches related to MTD/JFFS2 applied ?

> Tests sometimes failed with segmentation fault.
> I set the JFFS2 debug level to 1, and add several debug infomation in 
> jffs2_remove_from_hash_table().
> It seems jffs2 try to remove an entry with prev is 0x200200 and next is 
> 0x100100.

Thats the list_head poison code (see include/linux/list.h
LIST_POISON1/2). The entry was removed before.

	tglx






More information about the linux-mtd mailing list