[OpenWrt-Devel] ar71xx: Update to 3.14 [Flash Erasing / Bandwidth ]

Andre Valentin avalentin at marcant.net
Sun Aug 10 16:21:35 EDT 2014


Hi Daniel,

thanks for the hint. I will check it the next days. I'm now a bit busy.
Also I noticed that TCP throughput went from 15MBit/s PPPoE to 6 MBit/s.
It seems it is about codel, because all streams get the same rate, if using multiple.
I jut want to share my expierence with 3.14 so the developer has some hints.

Kind regards,

On 10.08.2014 15:00, Daniel Golle wrote:
> Hi Andre,
>
> there were some changes related to fastmap, I suspect that
> commit c22301ad4fa0f4cf71e9c877d072e6f07a0bf682
> UBI: fastmap: fix backward compatibility with image_seq
> or something related might cause the problem you observe.
>
> How excactly did you flash the image to the device?
>
> Cheers
>
> Daniel
>
> On Sat, Aug 09, 2014 at 08:54:42PM +0200, Andre Valentin wrote:
>> 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é
>>


-- 
Mit freundlichen Grüßen,
André Valentin
Projektkoordination / Systemadministration

MarcanT GmbH, Ravensberger Str. 10 G, D - 33602 Bielefeld
Fon: +49 (521) 95945-0 | Fax -18
URL: http://www.marcant.net | http://www.global-m2m.com

Geschäftsführer: Thorsten Hojas
Handelsregister: AG Bielefeld, HRB 35827 USt-ID Nr.: DE 190203238
___________________________________________________________
CONFIDENTIALITY NOTICE
The contents of this email are confidential to the ordinary user of the
email address to which it was addressed and may also be privileged. If
you are not the addressee of this email you may not copy, forward,
disclose or otherwise use it or any part of it in any form whatsoever.
If you have received this email in error please email the sender by
replying to this message.
_______________________________________________
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