From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.233] helo=mgw-mx06.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1JogyG-0007dQ-8r for linux-mtd@lists.infradead.org; Wed, 23 Apr 2008 15:33:20 +0000 Subject: Re: JFFS2 powerfail ? From: Artem Bityutskiy To: "Vellemans, Noel" In-Reply-To: <1531E53627F1F749B4FE809BF2A4EB674AF845@WETMEX10.loepfe.com> References: <1531E53627F1F749B4FE809BF2A4EB674AF845@WETMEX10.loepfe.com> Content-Type: text/plain; charset=utf-8 Date: Wed, 23 Apr 2008 18:33:32 +0300 Message-Id: <1208964812.11721.81.camel@sauron> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: linux-mtd@lists.infradead.org Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, On Wed, 2008-04-23 at 17:26 +0200, Vellemans, Noel wrote: > All seems to go quite well, but from time to time after pressing the RESE= T button (of powerfail), I get CRC-errors , the numer of warnings increment= s typically each time I powerfail. > =20 > JFFS2 notice: (791) check_node_data: wrong data CRC in data node at 0x010= 62120: read 0xfac2f85a, calculated 0x9ac0c6d1. > JFFS2 notice: (791) check_node_data: wrong data CRC in data node at 0x002= b9bf0: read 0x9f182fab, calculated 0x4ad20e5f. > JFFS2 notice: (791) check_node_data: wrong data CRC in data node at 0x002= b5d60: read 0x79a2a9d8, calculated 0x35234c9a. This is normal. It's just half-written nodes which correspond to the last writes you made before the power cut. They are harmless, although spam the syslog. JFFS2 cannot remove them straight after mount, so they may accumulate. Which means each time you see corruption messages for the previous unclean reboots. However, the corrupted nodes will go away some time, when JFFS2 decides to garbage-collect corresponding eraseblocks. IOW, don't worry, this is a feature. --=20 Best regards, Artem Bityutskiy (=D0=91=D0=B8=D1=82=D1=8E=D1=86=D0=BA=D0=B8=D0=B9 =D0=90= =D1=80=D1=82=D1=91=D0=BC)