UBI: badblock management confusion!

Nancy nancydreaming at gmail.com
Fri Apr 25 08:12:42 EDT 2008


 > > # 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.


-- 
Best wishes,
Nancy



More information about the linux-mtd mailing list