[OpenWrt-Devel] ar71xx: Update to 3.14

Andre Valentin avalentin at marcant.net
Sat Aug 9 14:54:42 EDT 2014


Hi Daniel!

Please take a look at this (old kernel 3.10)
[    3.420000] UBI: attaching mtd8 to ubi0
[    3.570000] UBI: EOF marker found, PEBs from 105 will be erased
[    3.580000] UBI: scanning is finished
[    3.610000] UBI: attached mtd8 (name "ubiroot", size 249 MiB) to ubi0
[    3.610000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.620000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.630000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.630000] UBI: good PEBs: 1992, bad PEBs: 0, corrupted PEBs: 0
[    3.640000] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.650000] UBI: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 975457251
[    3.660000] UBI: available PEBs: 791, total reserved PEBs: 1201, PEBs reserved for bad PEB handling: 40
[    3.670000] UBI: background thread "ubi_bgt0d" started, PID 274
[    3.680000] mtd: device 9 (rootfs) set to be root filesystem

And here the new one:
[    3.530000] UBI: auto-attach mtd8
[    3.530000] UBI: attaching mtd8 to ubi0
[    3.850000] UBI error: scan_peb: bad image sequence number 811584292 in PEB 224, expected 1326740447
[    3.860000] Erase counter header dump:
[    3.860000] 	magic          0x55424923
[    3.860000] 	version        1
[    3.870000] 	ec             1
[    3.870000] 	vid_hdr_offset 2048
[    3.870000] 	data_offset    4096
[    3.880000] 	image_seq      811584292
[    3.880000] 	hdr_crc        0xa455ffb3
[    3.880000] erase counter header hexdump:
[    3.890000] UBI error: ubi_attach_mtd_dev: failed to attach mtd8, error -22
[    3.900000] UBI error: ubi_auto_attach: cannot attach mtd8

Are you sure about this? This Flash image is about 25 MiB, like the old one. So PEB 224 is in the area where ubi should erase all.
Seems to me that the erasing of the additional space is not done.
Also the message about the EOF marker is not displayed. Has there something changed between 3.10 and 3.14?

Kind regards,

André
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list