* CLEANMARKER node found at has totlen 0xc != normal 0x0 ?
@ 2004-06-15 10:27 Andriy Korud
2004-06-15 10:29 ` Thomas Gleixner
2004-06-15 10:48 ` Dmitry Konyshev
0 siblings, 2 replies; 3+ messages in thread
From: Andriy Korud @ 2004-06-15 10:27 UTC (permalink / raw)
To: linux-mtd
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
....
and so on for every block.
Shoud I take care of that messages? What do they mean?
regards,
Andriy Korud
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: CLEANMARKER node found at has totlen 0xc != normal 0x0 ?
2004-06-15 10:27 CLEANMARKER node found at has totlen 0xc != normal 0x0 ? Andriy Korud
@ 2004-06-15 10:29 ` Thomas Gleixner
2004-06-15 10:48 ` Dmitry Konyshev
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2004-06-15 10:29 UTC (permalink / raw)
To: Andriy Korud, linux-mtd
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: CLEANMARKER node found at has totlen 0xc != normal 0x0 ?
2004-06-15 10:27 CLEANMARKER node found at has totlen 0xc != normal 0x0 ? Andriy Korud
2004-06-15 10:29 ` Thomas Gleixner
@ 2004-06-15 10:48 ` Dmitry Konyshev
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Konyshev @ 2004-06-15 10:48 UTC (permalink / raw)
To: Andriy Korud; +Cc: linux-mtd
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
>....
>and so on for every block.
>
>
>
Cleanmarkers are not needed in jffs2 images that get written on nand, so
create such images with --no-cleanmarkers option.
wbr, Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-15 10:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-15 10:27 CLEANMARKER node found at has totlen 0xc != normal 0x0 ? Andriy Korud
2004-06-15 10:29 ` Thomas Gleixner
2004-06-15 10:48 ` Dmitry Konyshev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox