Hi ,

I have written a loadable module driver for dataflash device.The dataflash is of 2MB size and only 1 full size partition is registered with the MTD subsystem.The linux kernel version is 2.6.17

The dataflash gets detected on boot and is registered with the kernel,i also see the entry in /mtd/proc.

After successful flash_eraseall /dev/mtd3 and mount -t jffs2 mtd3 /mnt, i try to copy some files into the dataflash ,but get Node CRC errors for every file copied.

When i reboot the system next time ,the mount causes kernel panic.

Any ideas to resolve this situation would be higly appreciated.

I would be glad to share more details just in case.

Thanks in advance.