嵌入式开发者社区

标题: omapl138Linux系统挂载ubifs经常报错 [打印本页]

作者: piliyouke    时间: 2017-5-19 12:24
标题: omapl138Linux系统挂载ubifs经常报错
在使用TL138开发板,进行Linux程序测试时,经常会出现ubifs文件系统挂载失败:打印如下信息:这个时候板子再重启下有时候又好了。感觉文件系统不稳定。请问下是什么问题( {8 \7 q; u# A! Z
9 i: X5 H# L( y0 g! T8 k% }
[    2.578549] Freeing init memory: 176K
. a* [$ G$ o9 O5 x) q5 n* ~[    3.495789] smsc911x smsc911x: eth0: SMSC911x/921x identified at 0xc882a000, IRQ: 116+ P/ x3 N* r2 q& ~% h0 N, U; u
[    4.520331] davinci_mdio davinci_mdio.0: resetting idled controller
8 X1 a" f" K' a[    4.527646] net eth1: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=davinci_mdio-0:00, id=7c0f1)$ n& ?) V. |8 V3 F% V2 p3 u2 u
[    5.822039] SysLink version : 2.21.01.05
' F- a+ |# S( \% \[    5.822066] SysLink module created on Date:Sep  6 2016 Time:13:33:51
7 ?  Y2 N4 Y' Z! f& Z! l. I: uAttached to slave procId 0.
) N& C, ]; {" X  K3 {0 QLoading procId 0.5 P( e$ p6 ^1 O6 n/ `; f: t: ^
Loaded file dspSyslink.out on slave procId 0.
9 Y0 A' S- [1 Q+ J9 DStarted slave procId 0.: V. c9 {( v8 e# F) s4 C0 y- q$ S+ P
6 r0 Y! q* V( R, P) X5 [" S4 t
Please press Enter to activate this console. [    7.524222] PHY: davinci_mdio-0:00 - Link is Up - 100/Full
, M; f! R! q7 @' v7 {* W' n, z[   11.496328] UBI error: ubi_io_read: error -74 (ECC error) while reading 65 bytes from PEB 13:17872, read 65 bytes5 Z3 o% p. o) }$ g0 Z. j
[   11.506808] UBIFS error (pid 738): ubifs_read_node: bad node type (0 but expected 2)0 ~6 Q$ L0 z5 r' h9 ~) T# R
[   11.514694] UBIFS error (pid 738): ubifs_read_node: bad node at LEB 11:13776, LEB mapping status 1
* j- z+ G& r8 l9 T[   11.526210] UBI error: ubi_io_read: error -74 (ECC error) while reading 2869 bytes from PEB 60:49920, read 2869 bytes
5 O! w* U6 L* `3 O- [- W[   11.537016] UBIFS error (pid 738): ubifs_leb_read: reading 2869 bytes from LEB 58:45824 failed, error -74
; y" a7 w; P) G- @' c1 D[   11.546730] UBIFS error (pid 738): try_read_node: cannot read node type 1 from LEB 58:45824, error -74
7 ~5 K8 E; S: v' {! V. ~[   11.558028] UBI error: ubi_io_read: error -74 (ECC error) while reading 2869 bytes from PEB 60:49920, read 2869 bytes0 x. V' _5 V1 r
[   11.568810] UBIFS error (pid 738): ubifs_read_node: bad node type (0 but expected 1)
" ]: x( F$ a: P[   11.576685] UBIFS error (pid 738): ubifs_read_node: bad node at LEB 58:45824, LEB mapping status 1
, `5 Z3 p% f7 {- ]$ {[   11.585775] UBIFS error (pid 738): do_readpage: cannot read page 210 of inode 334, error -225 o1 X3 h* p! I& O2 d/ H
[   11.596246] UBI error: ubi_io_read: error -74 (ECC error) while reading 2869 bytes from PEB 60:49920, read 2869 bytes
( |8 _5 v9 g; @3 C8 l* {% y4 w[   11.607050] UBIFS error (pid 738): ubifs_leb_read: reading 2869 bytes from LEB 58:45824 failed, error -74
/ I3 h7 p  [4 I. O0 ~7 B* P3 c[   11.616763] UBIFS error (pid 738): try_read_node: cannot read node type 1 from LEB 58:45824, error -748 [4 U4 W4 C& |9 l0 C/ H$ \7 y
[   11.628059] UBI error: ubi_io_read: error -74 (ECC error) while reading 2869 bytes from PEB 60:49920, read 2869 bytes
0 g- B2 a( E6 p/ E/ ^[   11.638838] UBIFS error (pid 738): ubifs_read_node: bad node type (0 but expected 1)
3 y- B! C/ V2 G. O9 c. n0 I- j[   11.646718] UBIFS error (pid 738): ubifs_read_node: bad node at LEB 58:45824, LEB mapping status 1" m) E. Z' [9 L( z) \9 G
[   11.655806] UBIFS error (pid 738): do_readpage: cannot read page 210 of inode 334, error -22
5 j: r# l' b" O4 `" K( n" H% j[   11.666888] UBI error: ubi_io_read: error -74 (ECC error) while reading 2869 bytes from PEB 60:49920, read 2869 bytes- Q" |! `3 J6 y5 }1 V. d# k
[   11.677809] UBIFS error (pid 730): ubifs_leb_read: reading 2869 bytes from LEB 58:45824 failed, error -74
+ O6 y0 D; Q2 j9 U5 ~( W2 O[   11.687550] UBIFS error (pid 730): try_read_node: cannot read node type 1 from LEB 58:45824, error -74
6 G1 ]/ F% R& ]+ ~; @* V* F6 ]0 x( i7 D[   11.698866] UBI error: ubi_io_read: error -74 (ECC error) while reading 2869 bytes from PEB 60:49920, read 2869 bytes
0 Z+ @6 T/ K& p8 ][   11.709651] UBIFS error (pid 730): ubifs_read_node: bad node type (0 but expected 1)
+ C9 Z7 k! b+ v/ R0 c* U6 l[   11.717524] UBIFS error (pid 730): ubifs_read_node: bad node at LEB 58:45824, LEB mapping status 1  I* H. e6 m. e. ^# V
[   11.726616] UBIFS error (pid 730): do_readpage: cannot read page 210 of inode 334, error -22% I! Q* g/ y# H) ?

. d# X7 \/ M( w8 P/ r6 G" v7 @+ w+ }

作者: human    时间: 2017-5-20 01:21
是从nand启动还是SD卡启动的
作者: piliyouke    时间: 2017-5-20 22:30
human 发表于 2017-5-20 01:21
1 K9 r3 V  F3 M' F; x. }* z$ O是从nand启动还是SD卡启动的

; o* z) r7 D$ Q, B6 ^是从nand启动的。运行一段时间就会出现上述的现象。
作者: human    时间: 2017-5-22 09:42
你的程序是否用到EMIFA,跟nand可能会冲突的
作者: piliyouke    时间: 2017-5-22 12:06
human 发表于 2017-5-22 09:42; E& w2 ^" p+ x8 r' H5 h
你的程序是否用到EMIFA,跟nand可能会冲突的
1 i! L7 Y- Y0 w& r* O
程序上是用到了EMIFA,上面挂载了外扩网口还有ADC呀。但是这个总线不可能不挂接外设呀。应该有方法去避免这种冲突吧
作者: piliyouke    时间: 2017-5-24 11:11
human 发表于 2017-5-22 09:42
  t: Q3 u) D* [2 f4 w你的程序是否用到EMIFA,跟nand可能会冲突的

' {4 }8 w% m, q0 j9 w+ b& g, GEMIFA是硬件上的定性的东西,这个冲突我觉得CPU硬件应该会自己去解决处理。感觉不是这个冲突的问题




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4