[Ubiattach] "vtbl_check: too large reserved_pebs"

Artem Bityutskiy dedekind1 at gmail.com
Thu Jun 9 11:51:50 EDT 2011


On Thu, 2011-06-09 at 17:50 +0200, David Wagner wrote:
> >> Oops, sorry, the formula is
> >> ((Subpage_size + Page_size)) / Page_size) * Page_size
> >> That is, subpage+page truncated to page.
> > 
> > Thanks, but I must have misunderstood the formula, as I find the same
> > number:
> > 
> > PEB_size - ((Subpage_size + Page_size)) / Page_size) * Page_size =
> > LEB_size
> > 
> > 131.072 - ((512 + 2048 ) / 2048) * 2048) = 128.512
> 
> I should have mentionned that every sub-result has to be considered an
> integer, here, sorry.
> 512+2048 = 2560
> 2560 / 2048 = 1 // That's where it is important that the result be
>                 // an integer.
> 1 * 2048 = 2048
> 131072 - 2048 = 129024

An improvement patch to the mtd web-site is welcome - it is very simple
to change:

http://git.infradead.org/mtd-www.git

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list