From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com ([143.182.124.21]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uha9g-0005yg-PT for linux-mtd@lists.infradead.org; Wed, 29 May 2013 06:46:41 +0000 Message-ID: <1369810158.5446.208.camel@sauron.fi.intel.com> Subject: Re: UBIFS failure & stable page writes From: Artem Bityutskiy To: "Prins Anton (ST-CO/ENG1.1)" Date: Wed, 29 May 2013 09:49:18 +0300 In-Reply-To: <85D877DD6EE67B4A9FCA9B9C3A4865670C3E91DC9C@SI-MBX14.de.bosch.com> References: <85D877DD6EE67B4A9FCA9B9C3A4865670C3E8CB9B7@SI-MBX14.de.bosch.com> <4BE1E71893EF1E4F9E9DD99FB4EBF0032C02EA2D44@SI-MBX02.de.bosch.com> <85D877DD6EE67B4A9FCA9B9C3A4865670C3E8CBA85@SI-MBX14.de.bosch.com> <20130527121828.GA32625@quack.suse.cz> <85D877DD6EE67B4A9FCA9B9C3A4865670C3E8CBB8D@SI-MBX14.de.bosch.com> <1369709828.5446.89.camel@sauron.fi.intel.com> <85D877DD6EE67B4A9FCA9B9C3A4865670C3E8CBD81@SI-MBX14.de.bosch.com> <1369727042.5446.112.camel@sauron.fi.intel.com> <85D877DD6EE67B4A9FCA9B9C3A4865670C3E8CBE33@SI-MBX14.de.bosch.com> <1369732266.5446.117.camel@sauron.fi.intel.com> <85D877DD6EE67B4A9FCA9B9C3A4865670C3E91DC9C@SI-MBX14.de.bosch.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" , Jan Kara , Adrian Hunter Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2013-05-28 at 13:13 +0200, Prins Anton (ST-CO/ENG1.1) wrote: > Will add the CFLAG -DDEBUG and debug further! > (I hope at this kernel-recovery stage there are not debug messages of multiple partitions because there are more UBIFS partitions.) > > Doing this I saw some suspicious messages like: > UBIFS DBG rcvry: deleting orphaned inode 0 > ... > UBIFS DBG rcvry: deleting orphaned inode 1 > ... These are very strange messages. Inode 0 should not exist. Inode 1 should be impossible to ever delete. Smells like some kind of memory corruption. Can you share your image? Or at least the orphan areas of the image? We do not have much time, but would probably take a look. Would also be useful to have the fs/ubifs/* and drivers/mtd/ubi/* of yours. -- Best Regards, Artem Bityutskiy