public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* I: Jffs2 space problem
@ 2005-07-26 11:30 Calò Massimo
  2005-07-26 11:45 ` Artem B. Bityuckiy
  0 siblings, 1 reply; 3+ messages in thread
From: Calò Massimo @ 2005-07-26 11:30 UTC (permalink / raw)
  To: dedekind; +Cc: ucLinux-Mtd@Lists. Infradead. Org



-----Messaggio originale-----
Da: Calò Massimo [mailto:m.calo@ctsgroup.it] 
Inviato: martedì 26 luglio 2005 12.23
A: 'Artem B. Bityuckiy'
Oggetto: R: Jffs2 space problem


Hi Artem,

>>Pardon, do you unmount JFFS2 before the erase :-) ?
 
Yes I did.

I think my strange prblem with the space of the partition is connected to
the msg that I receive after the mount command :

	/>mount -t jffs2 /dev/mtdblock5 /mnt

I receive the following msg:

	Newly-erased block contained wod xxxx at offset xxxx
	Newly-erased block contained wod xxxx at offset xxxx

Can you help me on finding the rason of this msg?

Many thanks!


-----Messaggio originale-----
Da: Artem B. Bityuckiy [mailto:dedekind@yandex.ru] 
Inviato: martedì 26 luglio 2005 12.06
A: Calò Massimo
Cc: ucLinux-Mtd@Lists. Infradead. Org
Oggetto: Re: Jffs2 space problem


Calò Massimo wrote:
> Hi all,
> 
> 	I have a problem with my jffs2 partition.
> I'm using mtd5 (size = 64 x 8 = 512kb).
> I eraseall the partition but if I do the df command I see that it is
> 100% used ...?!?!?

Pardon, do you unmount JFFS2 before the erase :-) ?

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

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

* Re: I: Jffs2 space problem
  2005-07-26 11:30 I: Jffs2 space problem Calò Massimo
@ 2005-07-26 11:45 ` Artem B. Bityuckiy
  2005-07-26 11:57   ` Artem B. Bityuckiy
  0 siblings, 1 reply; 3+ messages in thread
From: Artem B. Bityuckiy @ 2005-07-26 11:45 UTC (permalink / raw)
  To: Calò Massimo; +Cc: ucLinux-Mtd@Lists. Infradead. Org

Calò Massimo wrote:
> 	Newly-erased block contained wod xxxx at offset xxxx
> 	Newly-erased block contained wod xxxx at offset xxxx

The messages mean that JFFS2 issued an flash_erase command,
then read the newly erased eraseblock and found out it does
not have all 0xFFs.

Check that you are able to erase your flash corre3ctly. Try to dump the 
flash and see if it has all FFs just after you've erased it but before 
you've mounted JFFS2.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

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

* Re: I: Jffs2 space problem
  2005-07-26 11:45 ` Artem B. Bityuckiy
@ 2005-07-26 11:57   ` Artem B. Bityuckiy
  0 siblings, 0 replies; 3+ messages in thread
From: Artem B. Bityuckiy @ 2005-07-26 11:57 UTC (permalink / raw)
  To: Artem B. Bityuckiy; +Cc: ucLinux-Mtd@Lists. Infradead. Org, Calò Massimo

Calò Massimo wrote:
 > /> eraseall /dev/mtd5
flash_eraseall -j /dev/mtd5 is definitely better by the way. Read the 
MTD FAQ why.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

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

end of thread, other threads:[~2005-07-26 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 11:30 I: Jffs2 space problem Calò Massimo
2005-07-26 11:45 ` Artem B. Bityuckiy
2005-07-26 11:57   ` Artem B. Bityuckiy

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