From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cbshost-12-155-143-237.sbcox.net ([12.155.143.237] helo=sb-lnx3.rinconnetworks.com) by pentafluge.infradead.org with esmtp (Exim 4.14 #3 (Red Hat Linux)) id 19VEwG-0004A5-Cl for ; Wed, 25 Jun 2003 19:24:12 +0100 Date: Wed, 25 Jun 2003 11:24:31 -0700 From: Paul van Gool To: Jasmine Strong Message-ID: <20030625182431.GA15901@rinconnetworks.com> References: <20030625154815.GA15437@rinconnetworks.com> <0985322B-A725-11D7-A51A-000393AD6294@regolith.co.uk> <20030625155846.GA15628@rinconnetworks.com> <20030625182020.GA15879@rinconnetworks.com> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20030625182020.GA15879@rinconnetworks.com> Content-Type: text/plain; charset=us-ascii cc: linux-mtd@lists.infradead.org Subject: Re: No space left on almost empty JFFS2 filesystem Reply-To: paul.vangool@rinconnetworks.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Creating am image with '-e 0x10000' and running with it, results in: # mount -t jffs2 /dev/mtdblock4 /mnt/jffs mtdblock_open ok jffs2_scan_empty(): Empty block at 0x000017ac ends at 0x00010000 (with 0x200319y CLEANMARKER node found at 0x00010000, not first node in block (0x00000000) jffs2_scan_empty(): Empty block at 0x0002000c ends at 0x00030000 (with 0x200319y CLEANMARKER node found at 0x00030000, not first node in block (0x00020000) jffs2_scan_empty(): Empty block at 0x0004000c ends at 0x00050000 (with 0x200319y CLEANMARKER node found at 0x00050000, not first node in block (0x00040000) jffs2_scan_empty(): Empty block at 0x0006000c ends at 0x00070000 (with 0x200319y CLEANMARKER node found at 0x00070000, not first node in block (0x00060000) jffs2: No clean _or_ dirty blocks to GC from! Where are they all? jffs2: Couldn't find erase block to garbage collect! jffs2: No clean _or_ dirty blocks to GC from! Where are they all? jffs2: Couldn't find erase block to garbage collect! jffs2: No clean _or_ dirty blocks to GC from! Where are they all? jffs2: Couldn't find erase block to garbage collect! ... Paul On Wed, Jun 25, 2003 at 11:20:20AM -0700, Paul van Gool wrote: > So I tried: > > mkfs.jffs2 --pad=0x80000 --little-endian --squash -e 0x20000 -d /home/vangool/jffs -o jffs.img > > thinking that that would give me 3 erase blocks but I still get the > same error. Am I doing something wrong? > > Thanks. > > Paul > > > On Wed, Jun 25, 2003 at 08:58:46AM -0700, Paul van Gool wrote: > > On Wed, Jun 25, 2003 at 04:52:34PM +0100, Jasmine Strong wrote: > > > JFFS2 filesystems require a certain number of erase blocks reserved for > > > garbage collection before you can write anything to them. > > I see. 1 Block will indeed never be enough then. Shows my ignorance ;-). > > > > Thanks. > > > > Paul > > -- > > Paul van Gool Rincon Networks > > paul.vangool@rinconnetworks.com (805)-705-1442 > > > > ______________________________________________________ > > Linux MTD discussion mailing list > > http://lists.infradead.org/mailman/listinfo/linux-mtd/ > > -- > Paul van Gool Rincon Networks > paul.vangool@rinconnetworks.com (805)-705-1442 -- Paul van Gool Rincon Networks paul.vangool@rinconnetworks.com (805)-705-1442