linux/drivers/mtd/ubi
Artem Bityutskiy 4a406856ea UBI: print a warning if too many PEBs are corrupted
There was a bug report recently where UBI prints:

UBI error: ubi_attach_mtd_dev: failed to attach by scanning, error -22

error messages and refuses to attach a PEB. It turned out to be a
buggy flash driver which returned garbage to almost every UBI read.
This patch makes UBI print a better message in such cases. Namely,
if UBI finds 8 or more corrupted PEBs, it prints a warning and
lists the corrupted PEBs.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-08-14 20:01:36 +03:00
..
build.c UBI: fix NOR flash recovery 2009-07-07 11:37:45 +03:00
cdev.c UBI: remove built-in gluebi 2009-06-02 13:53:35 +03:00
debug.c UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
debug.h UBI: remove bogus debugging checks 2009-07-05 18:47:05 +03:00
eba.c UBI: fix double free on error path 2009-07-24 20:08:52 +03:00
gluebi.c UBI: gluebi: initialize ubi_num field 2009-07-15 11:30:55 +03:00
io.c UBI: amend NOR flash pre-erase quirk 2009-08-14 20:01:36 +03:00
kapi.c UBI: add notification API 2009-06-02 13:53:35 +03:00
Kconfig UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
Kconfig.debug UBI: allow direct user-space I/O 2009-01-27 16:54:41 +02:00
Makefile UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
misc.c
scan.c UBI: print a warning if too many PEBs are corrupted 2009-08-14 20:01:36 +03:00
scan.h UBI: print a warning if too many PEBs are corrupted 2009-08-14 20:01:36 +03:00
ubi-media.h UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
ubi.h UBI: fix NOR flash recovery 2009-07-07 11:37:45 +03:00
upd.c UBI: minor serialization fix 2009-05-18 12:28:26 +03:00
vmt.c UBI: remove built-in gluebi 2009-06-02 13:53:35 +03:00
vtbl.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wl.c UBI: remove bogus debugging checks 2009-07-05 18:47:05 +03:00