public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Adrian Hunter <ext-adrian.hunter@nokia.com>
To: ext Nancy <nancydreaming@gmail.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: UBI: badblock management confusion!
Date: Mon, 28 Apr 2008 10:59:09 +0300	[thread overview]
Message-ID: <481583CD.1060804@nokia.com> (raw)
In-Reply-To: <bae050c10804250512g1393b6afu54809e90db2807a6@mail.gmail.com>

ext Nancy wrote:
>  > > # modprobe ubi mtd=5
>  > > UBI: physical eraseblock size:   262144 bytes (256 KiB)
>  > > UBI: logical eraseblock size:    258048 bytes
>  > > UBI: smallest flash I/O unit:    2048
>  > > UBI: VID header offset:          2048 (aligned 2048)
>  > > UBI: data offset:                4096
>  > > UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB
>  > > handling, reserved 19, need 20
>  > > UBI: attached mtd5 to ubi0
>  > > UBI: MTD device name:            "NAND VFAT partition"
>  > > UBI: MTD device size:            512 MiB
>  > > UBI: number of good PEBs:        2044
>  > > UBI: number of bad PEBs:         4
>  > > UBI: max. allowed volumes:       128
>  > > UBI: wear-leveling threshold:    256
>  > > UBI: number of internal volumes: 1
>  > > UBI: number of user volumes:     1
>  > > UBI: available PEBs:             0
>  > > UBI: total number of reserved PEBs: 2044
>  > > UBI: number of PEBs reserved for bad PEB handling: 19
>  > > UBI: max/mean erase counter: 39/24
>  > > UBI: background thread "ubi_bgt0d" started, PID 263
> 
> pls:
>  > > UBI: available PEBs:             0
>  > > UBI: total number of reserved PEBs: 2044
> Quite wrong displaying messages.
> 
> 

There are no available PEBs so no more volumes can be created.

The number of reserved PEBs includes all existing volumes.

  reply	other threads:[~2008-04-28  8:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25  6:54 UBI: badblock management confusion! Nancy
2008-04-25 10:47 ` Adrian Hunter
2008-04-25 12:08   ` Nancy
2008-04-25 12:12     ` Nancy
2008-04-28  7:59       ` Adrian Hunter [this message]
2008-04-28 11:45         ` Nancy
2008-04-28  7:57     ` Adrian Hunter
2008-04-28 11:50       ` Nancy
2008-04-28 11:58         ` Adrian Hunter
2008-04-28 12:24           ` Nancy
2008-04-28 14:08             ` Adrian Hunter
2008-04-29  2:06               ` Nancy
2008-04-30  9:14                 ` Adrian Hunter
2008-05-04  1:42                   ` Nancy

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=481583CD.1060804@nokia.com \
    --to=ext-adrian.hunter@nokia.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nancydreaming@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox