public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Calò Massimo" <m.calo@ctsgroup.it>
To: "ucLinux-Mtd@Lists. Infradead. Org" <Linux-Mtd@Lists.Infradead.Org>
Subject: I: Jffs2 space problem ... Newly-erased block
Date: Tue, 26 Jul 2005 11:21:19 +0200	[thread overview]
Message-ID: <001801c591c3$65b295e0$050213ac@MCaloMobile> (raw)

Hi,

	I think that the problem with my partition is generated by an error
on erasing the flash(AM29LV160DB).

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 someone help me on finding the cause of this messages?

Thanks!

	Massimo.



-----Messaggio originale-----
Da: Calò Massimo [mailto:m.calo@ctsgroup.it] 
Inviato: lunedì 25 luglio 2005 14.42
A: ucLinux-Mtd@Lists. Infradead. Org (Linux-Mtd@Lists.Infradead.Org)
Oggetto: Jffs2 space problem


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 ...?!?!?

/>
/> cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00010000 00008000 "boot loader (64K)"
mtd1: 00010000 00010000 "boot data (64K)"
mtd2: 000c0000 00010000 "kernel (768K)"
mtd3: 00020000 00010000 "user data 00 (128K)"
mtd4: 00080000 00010000 "root fs (512K)"
mtd5: 00080000 00010000 "user Jffs2 (512K)"
/> eraseall /dev/mtd5
MTD_open
MTD_ioctl
Erasing 64 Kibyte @ 0 --  0 % complete.MTD_ioctl
Erasing 64 Kibyte @ 10000 -- 12 % complete.MTD_ioctl
Erasing 64 Kibyte @ 20000 -- 25 % complete.MTD_ioctl
Erasing 64 Kibyte @ 30000 -- 37 % complete.MTD_ioctl
Erasing 64 Kibyte @ 40000 -- 50 % complete.MTD_ioctl
Erasing 64 Kibyte @ 50000 -- 62 % complete.MTD_ioctl
Erasing 64 Kibyte @ 60000 -- 75 % complete.MTD_ioctl
Erasing 64 Kibyte @ 70000 -- 87 % complete.MTD_ioctl
Erased 512 Kibyte @ 0 -- 100% complete.
MTD_close
/> df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/rom4                  512       512         0 100% /
/dev/ram0                  987         7       980   1% /var
/dev/mtdblock5             512       512         0 100% /mnt
/>



Any Help?

	Thanks!

Massimo.

                 reply	other threads:[~2005-07-26  9:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='001801c591c3$65b295e0$050213ac@MCaloMobile' \
    --to=m.calo@ctsgroup.it \
    --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