* ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc @ 2009-07-16 15:09 Rupesh Kumar 2009-07-17 1:00 ` 答复: " liu.yaojin 2009-07-17 5:20 ` ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Ravi Vasarla 0 siblings, 2 replies; 5+ messages in thread From: Rupesh Kumar @ 2009-07-16 15:09 UTC (permalink / raw) To: linux-mtd Hi We are using Linux kernel 2.6.23 from freescale LTIB (MPC8313E_RDB_K26_20081226-LTIB.iso) on our custom board. JFFS2 is used as RFS and nand write.jffs2 utility in the u-boot is used to burn the image on to the nand flash. When we boot for the first time everything seems to be OK. On subsequent reboots we are seeing following error messages reported by kernel on bootup. In addition we also see Magic bitmask errors being reported. /////////////////////////// mtd->read(0x400 bytes from 0x1b00000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01b001d0: 0xfffe instead mtd->read(0x400 bytes from 0x2500000) returned ECC error mtd->read(0x400 bytes from 0x27c0000) returned ECC error mtd->read(0x400 bytes from 0x2c20000) returned ECC error mtd->read(0x400 bytes from 0x2cc0000) returned ECC error mtd->read(0x400 bytes from 0x2d00000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00074: 0xfffe instead Empty flash at 0x02d00078 ends at 0x02d003e4 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d003e4: 0xffef instead Empty flash at 0x02d003e8 ends at 0x02d00780 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00780: 0xfffb instead mtd->read(0x400 bytes from 0x3320000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03320190: 0xffff instead Empty flash at 0x03320194 ends at 0x0332047c //////////////////////////// We verified erase size passed as an argument for creating jffs2 file system (initial googling on the issue). After contacting freescale we came to know that, it is a known issue and they dont have planned to work on this in near future. :( Please give your valuable suggestions so that we can fix this problem and make our board running properly. Thanks Rupesh ^ permalink raw reply [flat|nested] 5+ messages in thread
* 答复: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc 2009-07-16 15:09 ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Rupesh Kumar @ 2009-07-17 1:00 ` liu.yaojin 2009-07-17 8:18 ` 答复: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for?powerpc Wolfram Sang 2009-07-17 5:20 ` ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Ravi Vasarla 1 sibling, 1 reply; 5+ messages in thread From: liu.yaojin @ 2009-07-17 1:00 UTC (permalink / raw) To: Rupesh Kumar; +Cc: linux-mtd forget it ,because i have the same problem,and nobody answer. Rupesh Kumar <Rupesh.Kumar@Lntemsys.com> 发件人: linux-mtd-bounces@lists.infradead.org 2009-07-16 23:09 收件人 linux-mtd@lists.infradead.org 抄送 主题 ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Hi We are using Linux kernel 2.6.23 from freescale LTIB (MPC8313E_RDB_K26_20081226-LTIB.iso) on our custom board. JFFS2 is used as RFS and nand write.jffs2 utility in the u-boot is used to burn the image on to the nand flash. When we boot for the first time everything seems to be OK. On subsequent reboots we are seeing following error messages reported by kernel on bootup. In addition we also see Magic bitmask errors being reported. /////////////////////////// mtd->read(0x400 bytes from 0x1b00000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01b001d0: 0xfffe instead mtd->read(0x400 bytes from 0x2500000) returned ECC error mtd->read(0x400 bytes from 0x27c0000) returned ECC error mtd->read(0x400 bytes from 0x2c20000) returned ECC error mtd->read(0x400 bytes from 0x2cc0000) returned ECC error mtd->read(0x400 bytes from 0x2d00000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00074: 0xfffe instead Empty flash at 0x02d00078 ends at 0x02d003e4 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d003e4: 0xffef instead Empty flash at 0x02d003e8 ends at 0x02d00780 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00780: 0xfffb instead mtd->read(0x400 bytes from 0x3320000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03320190: 0xffff instead Empty flash at 0x03320194 ends at 0x0332047c //////////////////////////// We verified erase size passed as an argument for creating jffs2 file system (initial googling on the issue). After contacting freescale we came to know that, it is a known issue and they dont have planned to work on this in near future. :( Please give your valuable suggestions so that we can fix this problem and make our board running properly. Thanks Rupesh ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ -------------------------------------------------------- ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender. This message has been scanned for viruses and Spam by ZTE Anti-Spam system. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 答复: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for?powerpc 2009-07-17 1:00 ` 答复: " liu.yaojin @ 2009-07-17 8:18 ` Wolfram Sang 2009-07-17 8:42 ` Artem Bityutskiy 0 siblings, 1 reply; 5+ messages in thread From: Wolfram Sang @ 2009-07-17 8:18 UTC (permalink / raw) To: liu.yaojin; +Cc: linux-mtd, Rupesh Kumar [-- Attachment #1: Type: text/plain, Size: 648 bytes --] On Fri, Jul 17, 2009 at 09:00:07AM +0800, liu.yaojin@zte.com.cn wrote: > forget it ,because i have the same problem,and nobody answer. To get an answer, it usually helps: 1) to use a recent kernel 2) to use a vanilla kernel If this is not possible for you, you should ask the makers of your kernel. Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5064 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 答复: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for?powerpc 2009-07-17 8:18 ` 答复: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for?powerpc Wolfram Sang @ 2009-07-17 8:42 ` Artem Bityutskiy 0 siblings, 0 replies; 5+ messages in thread From: Artem Bityutskiy @ 2009-07-17 8:42 UTC (permalink / raw) To: Wolfram Sang; +Cc: Rupesh Kumar, liu.yaojin, linux-mtd On Fri, 2009-07-17 at 10:18 +0200, Wolfram Sang wrote: > On Fri, Jul 17, 2009 at 09:00:07AM +0800, liu.yaojin@zte.com.cn wrote: > > forget it ,because i have the same problem,and nobody answer. > > To get an answer, it usually helps: > > 1) to use a recent kernel > 2) to use a vanilla kernel > > If this is not possible for you, you should ask the makers of your kernel. There are also mtd tests in the recent kernels which may be used to test the flash driver. For ancient kernels this could be tried: http://git.infradead.org/users/ahunter/nand-tests.git -- Best regards, Artem Bityutskiy (Битюцкий Артём) ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc 2009-07-16 15:09 ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Rupesh Kumar 2009-07-17 1:00 ` 答复: " liu.yaojin @ 2009-07-17 5:20 ` Ravi Vasarla 1 sibling, 0 replies; 5+ messages in thread From: Ravi Vasarla @ 2009-07-17 5:20 UTC (permalink / raw) To: Rupesh Kumar, linux-mtd@lists.infradead.org Hi Rupesh, Just see how the JFFS2 file system writing on NAND, does it writing on OOB area also. It looks to be it is using the OOB area too for placing the data. If you modify your driver in such manner which only uses the data space of the given block or page. Regards, Ravi Kumar ________________________________________ From: linux-mtd-bounces@lists.infradead.org [linux-mtd-bounces@lists.infradead.org] On Behalf Of Rupesh Kumar [Rupesh.Kumar@Lntemsys.com] Sent: Thursday, July 16, 2009 20:39 To: linux-mtd@lists.infradead.org Subject: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Hi We are using Linux kernel 2.6.23 from freescale LTIB (MPC8313E_RDB_K26_20081226-LTIB.iso) on our custom board. JFFS2 is used as RFS and nand write.jffs2 utility in the u-boot is used to burn the image on to the nand flash. When we boot for the first time everything seems to be OK. On subsequent reboots we are seeing following error messages reported by kernel on bootup. In addition we also see Magic bitmask errors being reported. /////////////////////////// mtd->read(0x400 bytes from 0x1b00000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x01b001d0: 0xfffe instead mtd->read(0x400 bytes from 0x2500000) returned ECC error mtd->read(0x400 bytes from 0x27c0000) returned ECC error mtd->read(0x400 bytes from 0x2c20000) returned ECC error mtd->read(0x400 bytes from 0x2cc0000) returned ECC error mtd->read(0x400 bytes from 0x2d00000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00074: 0xfffe instead Empty flash at 0x02d00078 ends at 0x02d003e4 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d003e4: 0xffef instead Empty flash at 0x02d003e8 ends at 0x02d00780 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x02d00780: 0xfffb instead mtd->read(0x400 bytes from 0x3320000) returned ECC error jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03320190: 0xffff instead Empty flash at 0x03320194 ends at 0x0332047c //////////////////////////// We verified erase size passed as an argument for creating jffs2 file system (initial googling on the issue). After contacting freescale we came to know that, it is a known issue and they dont have planned to work on this in near future. :( Please give your valuable suggestions so that we can fix this problem and make our board running properly. Thanks Rupesh ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ SASKEN BUSINESS DISCLAIMER ------------------------- This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-17 8:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-07-16 15:09 ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Rupesh Kumar 2009-07-17 1:00 ` 答复: " liu.yaojin 2009-07-17 8:18 ` 答复: ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for?powerpc Wolfram Sang 2009-07-17 8:42 ` Artem Bityutskiy 2009-07-17 5:20 ` ECC & Magic bitmask errors with JFFS2 file system on 6.23 kernel for powerpc Ravi Vasarla
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox