public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: paul.vangool@rinconnetworks.com, Jasmine Strong <jasmine@regolith.co.uk>
Cc: linux-mtd@lists.infradead.org
Subject: Re: No space left on almost empty JFFS2 filesystem
Date: Wed, 25 Jun 2003 21:52:25 +0200	[thread overview]
Message-ID: <200306252152.25576.tglx@linutronix.de> (raw)
In-Reply-To: <20030625182431.GA15901@rinconnetworks.com>

On Wednesday 25 June 2003 20:24, Paul van Gool wrote:
> 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!
Don't try to betray the pyhsiccal facts. Even if you tell mkfs.jffs2 that your 
eraseblock size is < 128K,  the physical eraseblock size will remain at 128K, 
as this is given by the chip. 

You can only erase eraseblocks and not a quarter of them, as you can't buy a 
1/4 of a beerbottle. You can fill the bottle with 1/4 of the maximum content, 
but the bottle still remains the same size. :)

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  parent reply	other threads:[~2003-06-25 18:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-25 15:48 No space left on almost empty JFFS2 filesystem Paul van Gool
2003-06-25 15:52 ` Jasmine Strong
2003-06-25 15:58   ` Paul van Gool
2003-06-25 18:20     ` Paul van Gool
2003-06-25 18:24       ` Paul van Gool
2003-06-25 18:29         ` Jasmine Strong
2003-06-25 18:49           ` Jörn Engel
2003-06-25 19:44             ` Paul van Gool
2003-06-25 20:03               ` Paul van Gool
2003-06-25 19:52         ` Thomas Gleixner [this message]
2003-06-25 19:43           ` Paul van Gool
2003-06-25 16:04   ` Jörn Engel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306252152.25576.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=jasmine@regolith.co.uk \
    --cc=linux-mtd@lists.infradead.org \
    --cc=paul.vangool@rinconnetworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox