summaryrefslogtreecommitdiffstats
path: root/scripts/decodecode
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-07-19 13:33:14 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-08-14 19:01:36 +0200
commit4a406856ea6830d8b8dba6a27d9f9331c5f4c13a (patch)
tree9bca90ac072a68eb762f985d62c512c55ba6dadc /scripts/decodecode
parentUBI: amend NOR flash pre-erase quirk (diff)
downloadlinux-4a406856ea6830d8b8dba6a27d9f9331c5f4c13a.tar.xz
linux-4a406856ea6830d8b8dba6a27d9f9331c5f4c13a.zip
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>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions