[BUG] 2.6.8-rc3 slab corruption (jffs2?)

Jarkko Lavinen jarkko.lavinen at nokia.com
Mon Aug 9 09:11:59 EDT 2004


On Mon, Aug 09, 2004 at 12:07:59PM +0100, ext David Woodhouse wrote:
> Don't bother, thanks. I found the problem, in the part_erase() code.
> Waiting for the culprit to wake up and fix it... :)

I also see the Slab corruption and it is very reproducible with
something like:

  flash_eraseall -j /dev/mtd0
  mount -t jffs2 /dev/mtdblock0 /mnt
  cp -a /usr /mnt

I am using Nand flash and 2.6.8-rc3-omap1. Once the fs is filled
enough I see typically following:

  Slab corruption: start=c3a31980, len=64
  Redzone: 0x5a2cf071/0x5a2cf071.
  Last user: [<c0185fd0>](nand_erase_nand+0x1fc/0x210)
  000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 09 6b
  Prev obj: start=c3a31934, len=64
  Redzone: 0x5a2cf071/0x5a2cf071.
  Last user: [<00000000>](0x0)
  000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
  010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
  Next obj: start=c3a319cc, len=64
  Redzone: 0x170fc2a5/0x170fc2a5.
  Last user: [<c00fcddc>](jffs2_alloc_full_dirent+0x18/0x1c)
  000: 8c 68 80 c3 30 11 a3 c3 0d 00 00 00 a1 0c 00 00
  010: 46 4d 28 9e 08 44 62 44 72 69 76 65 72 2e 70 6d

Jarkko Lavinen




More information about the linux-mtd mailing list