kmem_cache_alloc_one_tail BUG

I am porting my Linux 2.4 code from an evaluation board with an MPC8275 processor and 8 Mbytes of flash, consisting of four Sharp LH28F016SCT-L95 flash chips, to a custom board with an MPC8270 processor and 8 Mbytes of flash, consisting of two Intel 28F320C3 flash chips. The custom board is crashing when mounting the JFFS2 filesystem. Specifically, with debugging on, in kmem_cache_alloc_one_tail, I reach the following BUG:

#if DEBUG if (cachep->flags & SLAB_POISON) if (kmem_check_poison_obj(cachep, objp)) BUG();

Anyone seen this before and solved this problem?

Thank you.

Reply to
Bill
Loading thread data ...

If you look in "mm/slab.c" you'll find there are three ways to die of a poisoned slab cache:

POISON_INUSE - Using an uninitialized slab POISON_FREE - Use after free POISON_END - Store-past-end-byte

The OOPS traceback in "/var/log/messages" should help determine how you got here.

Cheers

Reply to
Tommy Reynolds

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.