From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qa0-f41.google.com ([209.85.216.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SHVPK-0001yb-B1 for linux-mtd@lists.infradead.org; Tue, 10 Apr 2012 07:22:31 +0000 Received: by qafl39 with SMTP id l39so2297387qaf.0 for ; Tue, 10 Apr 2012 00:22:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <0A40042D85E7C84DB443060EC44B3FD3351F9CAD87@dekaexchange07.deka.local> References: <0A40042D85E7C84DB443060EC44B3FD3351F9CAD87@dekaexchange07.deka.local> Date: Tue, 10 Apr 2012 09:22:27 +0200 Message-ID: Subject: Re: Unstable bits and JFFS2 From: Matej Kupljen To: Atlant Schmidt Content-Type: text/plain; charset=ISO-8859-1 Cc: Brian Norris , linux-mtd List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To all, >> Artem, you said that this unstable bits only happen >> during power cuts, is this right? Would those appear >> also on simulated power cuts, the ones that integck >> can produce? I've been trying to find the issue with my device over last week and for now, I didn't find anything. Here is what I've done: Please NOTE, that I have used THE SAME device for testing, which showed the problems in the past. 1) I've prepared SD card and booted the device from it. Then I run the integchk without simulating power cuts. The test run form more then 96 hours (four days and nights) and nothing happened. I mean, no errors were reported. 2) I made a simple "power cut simulator", which cuts the power to the device. The device was booted from SD card, then the UBIFS partition on NAND Flash was mounted. The test file was removed, and then a new file was created with simple dd from /dev/zero to the test file on UBIFS. The test run for 72 hours and again, nothing happened. 3) Now I am running the test, with power cut simulator, bit this time the device is booted from UBIFS. It has been running for more then 12h at the moment, and for now it is still working as expected. The only real thing from previous tests is that now, I have formatted the UBIFS from the device, when it was booted from SD card and Linux was up and running. Previous tests were done (when I've noticed the problems) only when U-Boot was running and the ubinized image was flashed to Flash trough U-Boot. Could this be the problem? Maybe different timings or something in U-Boot compared to Linux? Thank you and Best Regards, Matej Kupljen