如何解决在 armstoneA9r2
在 armstoneA9r2 板上刷新从我的下载部分下载的提供的 fsimx6 图像后,每当启动命令 ls
时,我都会收到以下错误
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010e34c>] (unwind_backtrace) from [<8010a5d8>] (show_stack+0x10/0x14)
[<8010a5d8>] (show_stack) from [<803a4288>] (dump_stack+0x70/0x8c)
[<803a4288>] (dump_stack) from [<8031aa3c>] (ubifs_read_node+0x1b8/0x250)
[<8031aa3c>] (ubifs_read_node) from [<80332a70>] (ubifs_tnc_read_node+0xa0/0xa8)
[<80332a70>] (ubifs_tnc_read_node) from [<8031b678>] (tnc_read_node_nm+0x1b8/0x1ec)
[<8031b678>] (tnc_read_node_nm) from [<8031e85c>] (ubifs_tnc_next_ent+0x170/0x1a8)
[<8031e85c>] (ubifs_tnc_next_ent) from [<80313388>] (ubifs_readdir+0x334/0x3e8)
[<80313388>] (ubifs_readdir) from [<801fa330>] (iterate_dir+0x64/0x120)
[<801fa330>] (iterate_dir) from [<801faa30>] (SyS_getdents64+0x7c/0x114)
[<801faa30>] (SyS_getdents64) from [<80106d60>] (ret_fast_syscall+0x0/0x48)
UBIFS error (ubi0:0 pid 371): ubifs_readdir: cannot find next direntry,error -22
这是一个 dmesg
命令:
Booting Linux on physical CPU 0x0
Linux version 4.9.88-F+S (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 SMP PREEMPT Fri Mar 20 14:25:30 UTC 2020
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7),cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache,VIPT aliasing instruction cache
OF: fdt:Machine model: F&S i.MX6 Solo/DualLite armStoneA9r2
Reserved memory: created CMA memory pool at 0x3c000000,size 320 MiB
OF: reserved mem: initialized node linux,cma,compatible id shared-dma-pool
Memory policy: Data cache writealloc
On node 0 totalpages: 262144
free_area_init_node: node 0,pgdat 80d6d200,node_mem_map ab757000
Normal zone: 2048 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 262144 pages,LIFO batch:31
percpu: Embedded 14 pages/cpu @ab71c000 s26316 r8192 d22836 u57344
pcpu-alloc: s26316 r8192 d22836 u57344 alloc=14*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order,mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc3,115200 login_tty=ttymxc3,115200 mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot)ro,256k(UBootEnv)ro,8m(Kernel)ro,1792k(FDT)ro,-(TargetFS) rootfstype=ubifs ubi.mtd=TargetFS root=ubi0:rootfs rw
PID hash table entries: 4096 (order: 2,16384 bytes)
...
romfs: ROMFS MTD (C) 2007 Red Hat,Inc.
fuse init (API version 7.26)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
i2c /dev entries driver
mxc_sdc_fb fb@0: registered mxc display driver ldb
Console: switching to colour frame buffer device 100x30
imx-sdma 20ec000.sdma: loaded firmware 3.3
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 28,base_baud = 5000000) is a IMX
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 78,base_baud = 5000000) is a IMX
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 79,base_baud = 5000000) is a IMX
21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 80,base_baud = 5000000) is a IMX
console [ttymxc3] enabled
21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 81,base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
nand: device found,Manufacturer ID: 0x2c,Chip ID: 0xda
nand: Micron MT29F2G08ABAEAH4
nand: 256 MiB,SLC,erase size: 128 KiB,page size: 2048,OOB size: 64
gpmi-nand-fus 112000.gpmi-nand: enable asynchronous EDO mode 5
Scanning device for bad blocks
random: fast init done
8 cmdlinepart partitions found on MTD device gpmi-nand
Creating 8 MTD partitions on "gpmi-nand":
0x000000000000-0x000000040000 : "NBoot"
0x000000040000-0x000000100000 : "UserDef"
0x000000100000-0x000000140000 : "Refresh"
0x000000140000-0x000000200000 : "UBoot"
0x000000200000-0x000000240000 : "UBootEnv"
0x000000240000-0x000000a40000 : "Kernel"
0x000000a40000-0x000000c00000 : "FDT"
0x000000c00000-0x000010000000 : "TargetFS"
gpmi-nand-fus 112000.gpmi-nand: driver registered.
m25p80 spi0.0: unrecognized JEDEC id bytes: 00,00,00
spi_imx 2008000.ecspi: probed
spi_imx 200c000.ecspi: probed
spi_imx 2010000.ecspi: probed
libphy: Fixed MDIO Bus: probed
CAN device driver interface
flexcan 2090000.can: device registered (reg_base=c0a24000,irq=37)
flexcan 2094000.can: device registered (reg_base=c0a2c000,irq=38)
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
2184800.usbmisc supply vbus-wakeup not found,using dummy regulator
2184000.usb supply vbus not found,using dummy regulator
2184200.usb supply vbus not found,using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered,assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started,EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
ft5x06_ts_v2 1-0038: Driver version 3.0
usb 1-1: new high-speed USB device number 2 using ci_hdrc
ft5x06_ts_v2 1-0038: write 0x80 to reg 0x19 failed: -6
ft5x06_ts_v2 1-0038: read reg 0xa6 failed: -6
ft5x06_ts_v2 1-0038: read reg 0x88 failed: -6
ft5x06_ts_v2 1-0038: read reg 0x80 failed: -6
ft5x06_ts_v2 1-0038: read reg 0xa3 failed: -6
ft5x06_ts_v2 1-0038: read reg 0xa8 failed: -6
ft5x06_ts_v2 1-0038: Chip ID 0xa3,CTPM ID 0xa8,FW ID 0xa6
ft5x06_ts_v2 1-0038: Report Rate 0x88 (1360Hz),Threshold 0x80 (512)
ft5x06_ts_v2 1-0038: Setting resolution to 799 x 479
input: ft5x06_ts_v2 as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0038/input/input0
...
systemd[1]: Reached target Swap.
systemd[1]: Listening on Network Service Netlink Socket.
systemd-journald[222]: Received request to flush runtime journal from PID 1
UBIFS error (ubi0:0 pid 234): ubifs_read_node: bad node type (0 but expected 2)
UBIFS error (ubi0:0 pid 234): ubifs_read_node: bad node at LEB 11:160,LEB mapping status 1
Not a node,first 24 bytes:
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
CPU: 0 PID: 234 Comm: systemd-tmpfile Not tainted 4.9.88-F+S #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010e34c>] (unwind_backtrace) from [<8010a5d8>] (show_stack+0x10/0x14)
[<8010a5d8>] (show_stack) from [<803a4288>] (dump_stack+0x70/0x8c)
[<803a4288>] (dump_stack) from [<8031aa3c>] (ubifs_read_node+0x1b8/0x250)
[<8031aa3c>] (ubifs_read_node) from [<80332a70>] (ubifs_tnc_read_node+0xa0/0xa8)
[<80332a70>] (ubifs_tnc_read_node) from [<8031b678>] (tnc_read_node_nm+0x1b8/0x1ec)
[<8031b678>] (tnc_read_node_nm) from [<8031e85c>] (ubifs_tnc_next_ent+0x170/0x1a8)
[<8031e85c>] (ubifs_tnc_next_ent) from [<80313388>] (ubifs_readdir+0x334/0x3e8)
[<80313388>] (ubifs_readdir) from [<801fa330>] (iterate_dir+0x64/0x120)
[<801fa330>] (iterate_dir) from [<801faa30>] (SyS_getdents64+0x7c/0x114)
[<801faa30>] (SyS_getdents64) from [<80106d60>] (ret_fast_syscall+0x0/0x48)
UBIFS error (ubi0:0 pid 234): ubifs_readdir: cannot find next direntry,error -22
Bluetooth: vendor=0x2df,device=0x911a,class=255,fn=2
Bluetooth: FW download over,size 463240 bytes
sdio platform data not available
Bluetooth: vendor=0x2df,device=0x911b,fn=3
Bluetooth: skip BT-AMP,not supported by firmware
mwifiex: rx work enabled,cpus 2
mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
mwifiex_sdio mmc0:0001:1: WLAN FW is active
mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error,result=0x2
mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (14.66.35.p52)
mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (14.66.35.p52)
UBIFS error (ubi0:0 pid 371): ubifs_read_node: bad node type (0 but expected 2)
UBIFS error (ubi0:0 pid 371): ubifs_read_node: bad node at LEB 11:160,first 24 bytes:
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........................
CPU: 0 PID: 371 Comm: ls Not tainted 4.9.88-F+S #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010e34c>] (unwind_backtrace) from [<8010a5d8>] (show_stack+0x10/0x14)
[<8010a5d8>] (show_stack) from [<803a4288>] (dump_stack+0x70/0x8c)
[<803a4288>] (dump_stack) from [<8031aa3c>] (ubifs_read_node+0x1b8/0x250)
[<8031aa3c>] (ubifs_read_node) from [<80332a70>] (ubifs_tnc_read_node+0xa0/0xa8)
[<80332a70>] (ubifs_tnc_read_node) from [<8031b678>] (tnc_read_node_nm+0x1b8/0x1ec)
[<8031b678>] (tnc_read_node_nm) from [<8031e85c>] (ubifs_tnc_next_ent+0x170/0x1a8)
[<8031e85c>] (ubifs_tnc_next_ent) from [<80313388>] (ubifs_readdir+0x334/0x3e8)
[<80313388>] (ubifs_readdir) from [<801fa330>] (iterate_dir+0x64/0x120)
[<801fa330>] (iterate_dir) from [<801faa30>] (SyS_getdents64+0x7c/0x114)
[<801faa30>] (SyS_getdents64) from [<80106d60>] (ret_fast_syscall+0x0/0x48)
UBIFS error (ubi0:0 pid 371): ubifs_readdir: cannot find next direntry,error -22
完整输出here
为什么会引发错误,我该如何解决?
提前致谢。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。