public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Thomas Gleixner" <tglx@linutronix.de>
To: "Andriy Korud" <a.korud@vector.com.pl>, <linux-mtd@lists.infradead.org>
Subject: Re: CLEANMARKER node found at has totlen 0xc != normal 0x0  ?
Date: Tue, 15 Jun 2004 12:29:45 +0200	[thread overview]
Message-ID: <200406151229.45239.tglx@linutronix.de> (raw)
In-Reply-To: <80908CC5B2C9DB47AAF8C77892FCB44315F7B2@lion.vector.com.pl>

On Tuesday 15 June 2004 12:27, Andriy Korud wrote:
> Hi,
> I'm playing with jffs2 on NAND chips (Samsung 128Mbyte), MTD CVS is week
> old and kernel is 2.6.5.
>
> I'm making image with
> ./mkfs.jffs2 -b --eraseblock=131072 --pagesize=2048 -p -r /test_root -v -o
> test_root.img
>
> and then copy it with cp (nandwrite seems to have problems wiht endianess).
> Everything work fine except on mounting filesystem I have messages:
>
> CLEANMARKER node found at 0x00000000 has totlen 0xc != normal 0x0
> CLEANMARKER node found at 0x00020000 has totlen 0xc != normal 0x0
> CLEANMARKER node found at 0x00040000 has totlen 0xc != normal 0x0

On NAND we store the cleanmarker (markes a clean erased block) in the out of 
band area. So the cleanmarker node should be omitted when creating the fs 
image. Add -n to the options

-- 
Thomas
_____________________________________________________________________
From slash dot org
"When customers are visiting, engineers are not allowed to wear ties. 
That way the customer can tell who is the engineer and who is the 
salesman (and therefore whom to believe.). Ties cut off blood flow 
to the brain, making it easier for the salesmen to do their jobs." 
_____________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2004-06-15 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15 10:27 CLEANMARKER node found at has totlen 0xc != normal 0x0 ? Andriy Korud
2004-06-15 10:29 ` Thomas Gleixner [this message]
2004-06-15 10:48 ` Dmitry Konyshev

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=200406151229.45239.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=a.korud@vector.com.pl \
    --cc=linux-mtd@lists.infradead.org \
    /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