All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Gilles <gilles.ganault@free.fr>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [Ubiattach] "vtbl_check: too large reserved_pebs"
Date: Thu, 09 Jun 2011 15:20:37 +0300	[thread overview]
Message-ID: <1307622037.7374.81.camel@localhost> (raw)
In-Reply-To: <mv61v65qqumjmnr9dkejjacgg4id8srbe7@4ax.com>

On Thu, 2011-06-09 at 12:24 +0200, Gilles wrote:
> Hello
> 
> 	I went through the docs/FAQs on the site and elsewhere, and
> proceeded to create a Ubifs root filesystem and flash a NAND partition
> with it.
> However, "ubiattach" fails, so I guess I didn't use the right settings
> in mkfs.ubifs and/or ubinize and/or ubiformat for use with that NAND
> partition.
> 
> Here are the steps I took:
> ==============
> #First, get infos about NAND
> appliance:/> mtdinfo /dev/mtd2 -u
> mtd2
> Name:                           filesystem_nand
> Type:                           nand
> Eraseblock size:                131072 bytes, 128.0 KiB
> Amount of eraseblocks:          1984 (260046848 bytes, 248.0 MiB)
> Minimum input/output unit size: 2048 bytes
> Sub-page size:                  512 bytes
> OOB size:                       64 bytes
> Character device major/minor:   90:4
> Bad blocks are allowed:         true
> Device is writable:             true
> Default UBI VID header offset:  512
> Default UBI data offset:        2048
> Default UBI LEB size:           129024 bytes, 126.0 KiB
> Maximum UBI volumes count:      128
> ==============
> #Create root filesystem
> ubuntu:/> mkfs.ubifs --squash-uids -m 2048 -e 131072 -c 1984 -d

Use  -e 129024

P.S. Yes, I realize the options are inconsistent, and will happily
accept a clean-up :-)

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

  reply	other threads:[~2011-06-09 12:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 10:24 [Ubiattach] "vtbl_check: too large reserved_pebs" Gilles
2011-06-09 12:20 ` Artem Bityutskiy [this message]
2011-06-09 12:31   ` Gilles
2011-06-09 12:38 ` Artem Bityutskiy
2011-06-09 15:18   ` Gilles
2011-06-10  4:03     ` Artem Bityutskiy
2011-06-10  9:25       ` Gilles
     [not found] ` <4DF0B36E.2020605@free-electrons.com>
     [not found]   ` <7.0.1.0.2.20110609135430.06967d28@free.fr>
2011-06-09 12:42     ` David Wagner
2011-06-09 15:19       ` Gilles
2011-06-09 15:50         ` David Wagner
2011-06-09 15:51           ` Artem Bityutskiy
2011-06-09 16:15           ` Gilles
2011-06-09 16:17 ` Gilles
2011-06-09 23:05   ` Gilles
2011-06-10  0:45     ` Gilles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1307622037.7374.81.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=gilles.ganault@free.fr \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.