Kernel deadlocks during jffs2 mount...

Thomas.Locher at Thomas.Locher at
Mon Dec 2 10:34:50 EST 2002

We mount the root filesystem from a partition in a NAND-flashdisk 
After changing few files on the disk and a reboot, the kernel hangs after 
printing out these messages...

IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bnd 2048)
IP-Config: Incomplete network configuration information.
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Mounting root filesystem...
mtd->read(0x400 bytes from 0x1b4000) returned ECC error
mtd->read(0x3c28 bytes from 0x1b43d8) returned ECC error
mtd->read(0x3a90 bytes from 0x7b8570) returned ECC error
mtd->read(0x3c04 bytes from 0x7f03fc) returned ECC error
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 64k freed
mtd->read(0x34 bytes from 0x7f07c4) returned ECC error
mtd->read(0x34 bytes from 0x7f0670) returned ECC error
mtd->read(0x34 bytes from 0x7f051c) returned ECC error
mtd->read(0x737 bytes from 0x7b8a48) returned ECC error
jffs2_get_inode_nodes(): Data CRC failed on node at 0x007b8a04: Read 
0x8a379920, calculated 0x199cc518

It seems that the GC is blocking the kernel.
When we use another NFS as root filesystem and then mount the partition, 
we still get the same errors, but the system does'nt block...

Any ideas?


Thomas Locher

System Infos:
mtd/jffs2: cvs version 10. Oct. 02
kernel version:  2.4.17 

Software Developer, Line Systems


E-Mail: thomas.locher at

More information about the linux-mtd mailing list