I: Jffs2 space problem ... Newly-erased block

Calò Massimo m.calo at ctsgroup.it
Tue Jul 26 05:21:19 EDT 2005


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 at ctsgroup.it] 
Inviato: lunedì 25 luglio 2005 14.42
A: ucLinux-Mtd at Lists. Infradead. Org (Linux-Mtd at 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.





More information about the linux-mtd mailing list