Is there a bug in the UBIFS?

Artem Bityutskiy dedekind1 at gmail.com
Fri Jun 8 05:36:54 EDT 2012


On Fri, 2012-06-08 at 16:51 +0800, Huang Shijie wrote:
> [ 3526.960000] UBIFS error (pid 389): ubifs_scan: garbage

UBIFS complains that it read garbage instead of proper UBIFS nodes.

> I am not sure whether it's a UBIFS's bug, or the gpmi-nand's bug.

Does not look like a UBIFS issue. You can always validate UBIFS using
nandsim.

modprobe nandsim
modprobe ubi mtd=0
ubimkvol /dev/ubi0 -N test -m
mount -t ubifs /dev/ubi0_0 /mnt/ubifs
integck /mnt/ubifs


-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120608/f806ab49/attachment.sig>


More information about the linux-mtd mailing list