public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* summary patch
@ 2005-04-29 14:30 Sergei Sharonov
  2005-05-02 10:29 ` Ferenc Havasi
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Sharonov @ 2005-04-29 14:30 UTC (permalink / raw)
  To: linux-mtd

Hi,

after applying summary patch I start getting messages like:

JFFS2: not enough space for summary, padsize = -530
JFFS2: not enough space for summary, padsize = -199
JFFS2: not enough space for summary, padsize = -992
JFFS2: not enough space for summary, padsize = -127

Is that a note, a warning or an error?
kernel 2.6.10 with March 28th 2005 mtd snapshot.

Sergei Sharonov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: summary patch
  2005-04-29 14:30 summary patch Sergei Sharonov
@ 2005-05-02 10:29 ` Ferenc Havasi
  2005-05-02 16:10   ` Sergei Sharonov
  0 siblings, 1 reply; 4+ messages in thread
From: Ferenc Havasi @ 2005-05-02 10:29 UTC (permalink / raw)
  To: Sergei Sharonov; +Cc: linux-mtd

Hi Sergei,

> JFFS2: not enough space for summary, padsize = -530
> JFFS2: not enough space for summary, padsize = -199
> JFFS2: not enough space for summary, padsize = -992
> JFFS2: not enough space for summary, padsize = -127
> 
> Is that a note, a warning or an error?

It is a warning.

I think you you did not used sumtool2, did you? (it is a user-space tool 
for generating summary for an image)

Regards,
Ferenc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: summary patch
  2005-05-02 10:29 ` Ferenc Havasi
@ 2005-05-02 16:10   ` Sergei Sharonov
  2005-05-05  8:55     ` Ferenc Havasi
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Sharonov @ 2005-05-02 16:10 UTC (permalink / raw)
  To: linux-mtd

Hi,

> I think you you did not used sumtool2, did you? (it is a user-space tool 
> for generating summary for an image)

I do not use an image, just mount jffs2 on a freshly erased chip. Do I still
need to do something special after I erase NAND?

Sergei

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: summary patch
  2005-05-02 16:10   ` Sergei Sharonov
@ 2005-05-05  8:55     ` Ferenc Havasi
  0 siblings, 0 replies; 4+ messages in thread
From: Ferenc Havasi @ 2005-05-05  8:55 UTC (permalink / raw)
  To: Sergei Sharonov; +Cc: linux-mtd

Hi Sergei,

Unfortunatelly we don't have a real NAND device, just Artem's NAND 
simulator.

The emulated flash is: size:64M, erase block: 128KiB, page size: 2K page.

We tried the following:

modprobe nandsim
flash_eraseall -j /dev/mtd0c
mount /mnt/flash
cp linux-2.6.11.7.tar.bz2 /mnt/flash               (35 MB)
umount /mnt/flash
mount /mnt/flash

There was no error/warning messages, and using

jffs2dump -cv /dev/mtd0c |less

there was summary nodes on the flash at right places.

How did you used it? Which flash device do you use?

Bye,
Ferenc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-05  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-29 14:30 summary patch Sergei Sharonov
2005-05-02 10:29 ` Ferenc Havasi
2005-05-02 16:10   ` Sergei Sharonov
2005-05-05  8:55     ` Ferenc Havasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox