* Problem with copying more than 2kb file into the flash
@ 2006-11-16 14:31 s.balamurugan
2006-11-16 14:38 ` Artem Bityutskiy
0 siblings, 1 reply; 3+ messages in thread
From: s.balamurugan @ 2006-11-16 14:31 UTC (permalink / raw)
To: linux-mtd
Hello all,
I am using Samsung 256mb nand flash.
page size : 2kb
block size:128kb
I have the following prolbem:
I have a situation here where I mount JFFS2 on top of my NAND device and
certain files will fail to copy over. Small text files are fine. The
problem is with large binary files. I copy to my mounted dir and ls -l
shows the file is entirely there.
Upon remounting, the file is lost or showing a size of 0. Upon scanning the
flash at mount I will always get "jffs2_get_inode_nodes(): Data CRC failed
on node at ..."
I don't know where is the problem either in my nand driver or jffs2 code
Has anyone experienced this and have any ideas? Any help would be much
appreciated.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Problem with copying more than 2kb file into the flash 2006-11-16 14:31 Problem with copying more than 2kb file into the flash s.balamurugan @ 2006-11-16 14:38 ` Artem Bityutskiy [not found] ` <455C7BEE.4000607@gdatech.co.in> 0 siblings, 1 reply; 3+ messages in thread From: Artem Bityutskiy @ 2006-11-16 14:38 UTC (permalink / raw) To: s.balamurugan; +Cc: linux-mtd On Thu, 2006-11-16 at 20:01 +0530, s.balamurugan wrote: > Upon remounting, the file is lost or showing a size of 0. Upon scanning the > flash at mount I will always get "jffs2_get_inode_nodes(): Data CRC failed > on node at ..." > > I don't know where is the problem either in my nand driver or jffs2 code > > Has anyone experienced this and have any ideas? Any help would be much > appreciated. I would start from making sure the that your flash driver is all right. -- Best regards, Artem Bityutskiy (Битюцкий Артём) ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <455C7BEE.4000607@gdatech.co.in>]
* Re: Problem with copying more than 2kb file into the flash [not found] ` <455C7BEE.4000607@gdatech.co.in> @ 2006-11-16 15:31 ` Artem Bityutskiy 0 siblings, 0 replies; 3+ messages in thread From: Artem Bityutskiy @ 2006-11-16 15:31 UTC (permalink / raw) To: s.balamurugan; +Cc: linux-mtd Please, be public. On Thu, 2006-11-16 at 20:25 +0530, s.balamurugan wrote: > Thanks for ur kind reply. Please tell exactly where is the > problem, more than 20 days i was suffer with this problem. > or give me detail explanation about jffs2 code flow. how the file was > written to flash. Sorry, this is a question of "tell me all about everything" type. > but in jffs2_commit_write() function is not > showing the correct size. > int jffs2_commit_write (struct file *filp, struct page > *pg, unsigned start, unsigned end), the end parameter was show the > wrong file size. > and i want to know how jffs2_commit_write funciton was called. > givve some idea Sorry, -EDONTUNDERSTAND. -- Best regards, Artem Bityutskiy (Битюцкий Артём) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-16 15:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-16 14:31 Problem with copying more than 2kb file into the flash s.balamurugan
2006-11-16 14:38 ` Artem Bityutskiy
[not found] ` <455C7BEE.4000607@gdatech.co.in>
2006-11-16 15:31 ` Artem Bityutskiy
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.