Re: UBI fastmap updates

From: Artem Bityutskiy
Date: Thu Aug 02 2012 - 10:54:13 EST


On Mon, 2012-07-09 at 14:18 +0200, Richard Weinberger wrote:
> This is the next round of UBI fastmap updates.
> It fixes all issues pointed out by Shmulik. :-)

Hi Richard,

when I try to attach mtdram (NOR flash), UBI fails:

[ 7106.353791] UBI assert failed in ubi_io_is_bad at 623 (pid 5411)
[ 7106.354253] Pid: 5411, comm: modprobe Not tainted 3.5.0+ #2
[ 7106.354255] Call Trace:
[ 7106.354264] [<ffffffffa003c4c1>] ubi_io_is_bad+0xd1/0x100 [ubi]
[ 7106.354271] [<ffffffffa0042bd9>] scan_peb+0x49/0x740 [ubi]
[ 7106.354287] [<ffffffff8117e6e4>] ? __kmalloc+0x194/0x1e0
[ 7106.354293] [<ffffffffa0047b7c>] ? ubi_debugging_init_dev+0x2c/0x60 [ubi]
[ 7106.354300] [<ffffffffa0044276>] ? ubi_attach+0x66/0x380 [ubi]
[ 7106.354304] [<ffffffffa00442f5>] ubi_attach+0xe5/0x380 [ubi]
[ 7106.354310] [<ffffffffa0035f91>] ubi_attach_mtd_dev+0xa81/0x10e0 [ubi]
[ 7106.354316] [<ffffffffa005c3e8>] ubi_init+0x22d/0xe45 [ubi]
[ 7106.354321] [<ffffffffa005c1bb>] ? ubi_mtd_param_parse+0x1bb/0x1bb [ubi]
[ 7106.354328] [<ffffffff8100203f>] do_one_initcall+0x3f/0x170
[ 7106.354335] [<ffffffff810c69c6>] sys_init_module+0xa16/0x1d40
[ 7106.354345] [<ffffffff8132c5a0>] ? ddebug_add_module+0x100/0x100
[ 7106.354351] [<ffffffff815ffca9>] system_call_fastpath+0x16/0x1b
[ 7106.354353] UBI assert failed in ubi_io_read_ec_hdr at 749 (pid 5411)

--
Best Regards,
Artem Bityutskiy

Attachment: signature.asc
Description: This is a digitally signed message part