zyhlovewd 发表于 2013-12-09 22:44

加载驱动后,UBI文件系统出错~UBI error: ubi_io_read: error -1

本帖最后由 zyhlovewd 于 2013-12-09 22:49 编辑

装载驱动后,出现ubi_error, 求解:
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
UBI error: ubi_io_read: error -1 while reading 2828 bytes from PEB 37:63024, rea
d 464 bytes
UBIFS error (pid 348): try_read_node: cannot read node type 1 from LEB 35:58928,
error -1
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
UBI error: ubi_io_read: error -1 while reading 2828 bytes from PEB 37:63024, rea
d 464 bytes
UBIFS error (pid 348): ubifs_read_node: cannot read node 1 from LEB 35:58928, er
ror -1
UBIFS error (pid 348): do_readpage: cannot read page 55 of inode 1212, error -1
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
UBI error: ubi_io_read: error -1 while reading 2828 bytes from PEB 37:63024, rea
d 464 bytes
UBIFS error (pid 348): try_read_node: cannot read node type 1 from LEB 35:58928,
error -1
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
atmel_nand atmel_nand: Too many error.
UBI error: ubi_io_read: error -1 while reading 2828 bytes from PEB 37:63024, rea
d 464 bytes
UBIFS error (pid 348): ubifs_read_node: cannot read node 1 from LEB 35:58928, er
ror -1
UBIFS error (pid 348): do_readpage: cannot read page 55 of inode 1212, error -1
This is driver release
Bus error
atmel_nand atmel_nand: Too many error.
UBIFS error (pid 340): ubifs_read_node: bad node type (125 but expected 9)
UBIFS error (pid 340): ubifs_read_node: bad node at LEB 49:56024, LEB mapping st
atus 1
UBIFS error (pid 340): ubifs_iget: failed to read inode 174, error -22
UBIFS error (pid 340): ubifs_lookup: dead directory entry '.ash_history', error
-22
UBIFS warning (pid 340): ubifs_ro_mode: switched to read-only mode, error -22
UBIFS error (pid 340): ubifs_read_node: bad node type (181 but expected 9)
UBIFS error (pid 340): ubifs_read_node: bad node at LEB 44:6336, LEB mapping sta
tus 1
UBIFS error (pid 340): do_readpage: cannot read page 5 of inode 133, error -22
UBIFS error (pid 340): ubifs_read_node: bad node type (181 but expected 9)
UBIFS error (pid 340): ubifs_read_node: bad node at LEB 44:6336, LEB mapping sta
tus 1
UBIFS error (pid 340): do_readpage: cannot read page 5 of inode 133, error -22
Configure net done
Set seaech library in /etc/profile
Set user path in /etc/profile
Configure environment done
UBIFS error (pid 352): ubifs_read_node: bad node type (16 but expected 9)
UBIFS error (pid 352): ubifs_read_node: bad node at LEB 44:6528, LEB mapping sta
tus 1
UBIFS error (pid 352): do_readpage: cannot read page 20 of inode 133, error -22
UBIFS error (pid 352): ubifs_read_node: bad node type (16 but expected 9)
UBIFS error (pid 352): ubifs_read_node: bad node at LEB 44:6528, LEB mapping sta
tus 1
UBIFS error (pid 352): do_readpage: cannot read page 20 of inode 133, error -22
Bus error
Load .ko module done
rm: can't remove '/dev/fpga': Read-only file system
mknod: /dev/fpga: File exists
Create device file done
This is driver open
fpga_write: Enter
fpga_write: fpga Image install is being processing@@@@@@   count(0x661edc)
iLen = 6692572
Fpga install done!
fpga_write: fpga Image install over @@@@@@
bspClock1Config: test len(26)clock1 reference clock source is EXT-10MHz
start to config clock1 ......clock unlock!
RRU_DEBUG##

arm-linux-gcc 发表于 2013-12-10 10:47

擦除ubi对应的mtd分区,注意擦除的size是mtd分区的size,而不要只擦ubi image size那么一小块




zyhlovewd 发表于 2013-12-10 15:57

arm-linux-gcc 发表于 2013-12-10 10:47 static/image/common/back.gif
擦除ubi对应的mtd分区,注意擦除的size是mtd分区的size,而不要只擦ubi image size那么一小块

你的办法好像不行,系统起来后,我通过flash_eraseall 将整个mtd1分区擦掉,系统不能起来。
flash_eraseall应该是将整个区擦除,这样ubi.img起来后不能用啦。。。



chenzf070720 发表于 2015-07-06 20:44

这个方法可以解决问题!多谢!回复 2# arm-linux-gcc


   
页: [1]
查看完整版本: 加载驱动后,UBI文件系统出错~UBI error: ubi_io_read: error -1