NAND flash
David Woodhouse
dwmw2 at infradead.org
Thu Oct 9 11:14:29 EDT 2003
On Thu, 2003-10-09 at 19:04 +0400, Eugeny Mints wrote:
> Hello,
>
> Could anybody help me to solve such a problem with JFFS2 and NAND flash:
> - the NAND flash Toshiba TC58256AFTI
> - kernel 2.4.22 with latest MTD and JFFS2
> - handy-written miniport for the paticular flash chip
When you say 'latest' do you really mean that? NAND flash support in
JFFS2 has changed a _lot_ in the last weeks, and even in the last few
days.
> The device works OK almost in any case, but when I try to execute while
> true; do dd if=/dev/zero of=/dev/mnt/foo count=1000; done after 10-15
> minutes the system hangs; I cannot login from console or via telnet, but
> it is still ping'able. I tried to use YAFFS, perform dd to device itself
> instead of file on the filesystem on top of flash - no hangs were
> observed.
Use SysRq-P and/or SysRq-T to see where the kernel is stuck. IF that
doesn't work, enable CONFIG_JFFS2_FS_DEBUG=1 and
echo > /proc/sys/kernel/printk then watch the console, and see what the
last thing it says is.
--
dwmw2
More information about the linux-mtd
mailing list