[LEDE-DEV] Lantiq XRX200, BtHomeHub5a unreliable NAND/UBIFS

Jonathan McHugh jon.s.mchugh at gmail.com
Sat Oct 1 10:19:54 PDT 2016


Hi all,

Having lots of issues with UBIFS corruption on this router when writing 
files to the internal NAND. Its works very well and is very reliable 
until you try writing to the filesystem.
[  394.475650] UBIFS error (ubi0:1 pid 2444): do_readpage: cannot read 
page 0 of inode 321, error -22
[  454.605263] UBIFS error (ubi0:1 pid 2465): ubifs_read_node: bad node 
type (255 but expected 1)
[  454.612565] UBIFS error (ubi0:1 pid 2465): ubifs_read_node: bad node 
at LEB 29:106552, LEB mapping status 0
see report in the following link...
http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=156


I've been reading up on this type of thing and I think that maybe 
devices do not support sub-pages writes properly, so is there anyway to 
disable nand sub-pages in lede? or are there any other options I can try 
to improve filesystem reliability.

I've tried formatting the ubi volume with the sub-page size matching the 
I/O unit size (2048) but the it will not boot due to
ubi0 error: validate_ec_hdr: bad VID header offset 2048, expected 512

Thanks, Jon.



More information about the Lede-dev mailing list