linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* UBIFS not mounting on linux-omap 2.6.36
@ 2010-12-19 22:18 Charles Manning
  2010-12-21 17:36 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Manning @ 2010-12-19 22:18 UTC (permalink / raw)
  To: linux-mtd, linux-omap

Hi All

I am trying to nail down an omap3 ubifs  performance regression, but cannot 
get Steve Sakoman's 2.6.35 or 2.6.36 kernels
http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git
 to mount ubifs although the same procedure works with older kernels and works 
with the linux-omap 2.6.37 master.

Any hints?

Thanks

Charles


The NAND had been initilised with:

ubiformat /dev/mtd4 -s 512

ubimkvol /dev/ubi0 -m -N foo

Herewith log

root@omap3-multi:~# ubiattach /dev/ubi_ctrl -m4 -d4
UBI: attaching mtd4 to ubi4
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       2
UBI: attached mtd4 to ubi4
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            249 MiB
UBI: number of good PEBs:        1996
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1996
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 8195/11
UBI: image sequence number:  1842873171
UBI: background thread "ubi_bgt4d" started, PID 407
UBI device number 4, total 1996 LEBs (257531904 bytes, 245.6 MiB), available 0 
LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
root@omap3-multi:~# dmesg
...
UBI: attaching mtd4 to ubi4
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: max. sequence number:       2
UBI: attached mtd4 to ubi4
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            249 MiB
UBI: number of good PEBs:        1996
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1996
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 8195/11
UBI: image sequence number:  1842873171
UBI: background thread "ubi_bgt4d" started, PID 407

root@omap3-multi:~# ubinfo -a              
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:62
Present UBI devices:            ubi4

ubi4
Volumes count:                           1
Logical eraseblock size:                 129024 bytes, 126.0 KiB
Total amount of logical eraseblocks:     1996 (257531904 bytes, 245.6 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  19
Current maximum erase counter value:     8195
Minimum input/output unit size:          2048 bytes
Character device major/minor:            250:0
Present volumes:                         0

Volume ID:   0 (on ubi4)
Type:        dynamic
Alignment:   1
Size:        1973 LEBs (254564352 bytes, 242.8 MiB)
State:       OK
Name:        foo
Character device major/minor: 250:1
root@omap3-multi:~# mount -t ubifs ubi4:foo ss/
mount: ubi4:foo already mounted or ss/ busy
root@omap3-multi:~# dmesg
...
UBIFS DBG (pid 429): ubifs_get_sb: name ubi4:foo, flags 0x0
UBIFS DBG (pid 429): ubifs_get_sb: opened ubi4_0
...

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UBIFS not mounting on linux-omap 2.6.36
  2010-12-19 22:18 UBIFS not mounting on linux-omap 2.6.36 Charles Manning
@ 2010-12-21 17:36 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-12-21 17:36 UTC (permalink / raw)
  To: Charles Manning; +Cc: linux-omap, linux-mtd

On Mon, 2010-12-20 at 11:18 +1300, Charles Manning wrote:
> Hi All
> 
> I am trying to nail down an omap3 ubifs  performance regression, but cannot 
> get Steve Sakoman's 2.6.35 or 2.6.36 kernels
> http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git
>  to mount ubifs although the same procedure works with older kernels and works 
> with the linux-omap 2.6.37 master.

Well, the only hint I can give is some kind of bisecting, but probably
you do not need such hint :-)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-21 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-19 22:18 UBIFS not mounting on linux-omap 2.6.36 Charles Manning
2010-12-21 17:36 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).