public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Kernel deadlocks during jffs2 mount...
@ 2002-12-02 15:34 Thomas.Locher
  2002-12-02 15:47 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas.Locher @ 2002-12-02 15:34 UTC (permalink / raw)
  To: linux-mtd

We mount the root filesystem from a partition in a NAND-flashdisk 
(/dev/mtdblock3)
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?

Regards

Thomas Locher

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

------------------------------------------------------
Software Developer, Line Systems

KEYMILE AG

E-Mail: thomas.locher@keymile.com
------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kernel deadlocks during jffs2 mount...
  2002-12-02 15:34 Kernel deadlocks during jffs2 mount Thomas.Locher
@ 2002-12-02 15:47 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2002-12-02 15:47 UTC (permalink / raw)
  To: Thomas.Locher; +Cc: linux-mtd

Thomas.Locher@keymile.com said:
> 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... 

Remove invalidate_device() from mtdblock_release().

--
dwmw2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-02 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02 15:34 Kernel deadlocks during jffs2 mount Thomas.Locher
2002-12-02 15:47 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox