From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.230] helo=mgw-mx03.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1LHdgC-0004Qx-Et for linux-mtd@lists.infradead.org; Tue, 30 Dec 2008 12:26:36 +0000 Subject: Re: ubifs: partition won't mount: duplicate sqnum in replay ??? From: Artem Bityutskiy To: Cal Page In-Reply-To: <495A0FE4.4010603@runbox.com> References: <495A0FE4.4010603@runbox.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 30 Dec 2008 14:27:26 +0200 Message-Id: <1230640046.30332.8.camel@sauron> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: ubifs Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2008-12-30 at 07:11 -0500, Cal Page wrote: > I'm running ubi at 2.6.27.4, ubifs is a mix of that base plus some=20 > 2.6.21 as the vfs interface changed. There are only three mtd calls you=20 > make, so that rev just isn't important. The base kernel, and most of vfs=20 > is at 2.6.19. Not sure I understand this. > I did not initialize the nand for the unit in question. It could have=20 > been the problem. I'll re-format it and start again. But, for testing,=20 > we have a 'crasher' device that randomly crashes the file system to=20 > force us into difficult recoveries. In short, for ubifs to be shipped,=20 > it must survive and re-mount AFTER EVERY CRASH, period. Fair enough. We did similar tests at our side. > The only other problem is that ubifs takes way too much memory. You use olde kernel, and UBIFS shrinker is disabled there, which means that it never flushes the TNC cache. This is noted here: http://www.linux-mtd.infradead.org/doc/ubifs.html#L_source > We run=20 > for a few days on our 1 gb nand, and then the oom_killer gets called and=20 > down we go. What exactly was done in later releases to fix this? I need=20 > to back-port a solution before we ship. The TNC shrinker is registered. See 'ubifs_shrinker()'. --=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)