v851s 开启wifi xr829后 spi nand读写异常(Linux version 4.9.191)
-
如题,打印如下:
[ 685.526589] sunxi_spi_transfer_one()1470 - [spi0] xfer timeout
[ 685.533120] spi-nand spi0.0: SPI transfer failed: -1
[ 685.538718] spi_master spi0: failed to transfer one message from queue
[ 685.546004] sunxi-spinand: read single page failed: -1
[ 685.551833] ubi0 error: ubi_io_read: error -1 while reading 12288 bytes from PEB 148:4096, read 0 bytes
[ 685.562339] CPU: 0 PID: 916 Comm: kworker/0:2 Not tainted 4.9.191 #6
[ 685.569434] Hardware name: sun8iw21
[ 685.573330] Workqueue: ubiblock0_4 ubiblock_do_work
[ 685.578825] [<c010d5a0>] (unwind_backtrace) from [<c010a694>] (show_stack+0x10/0x14)
[ 685.587487] [<c010a694>] (show_stack) from [<c040a9b0>] (ubi_io_read+0x1d8/0x2ac)
[ 685.595837] [<c040a9b0>] (ubi_io_read) from [<c0408c64>] (ubi_eba_read_leb+0x29c/0x3c4)
[ 685.604785] [<c0408c64>] (ubi_eba_read_leb) from [<c0408e3c>] (ubi_eba_read_leb_sg+0xb0/0x118)
[ 685.614531] [<c0408e3c>] (ubi_eba_read_leb_sg) from [<c0407908>] (ubi_leb_read_sg+0x68/0xb0)
[ 685.623995] [<c0407908>] (ubi_leb_read_sg) from [<c0411ad4>] (ubiblock_do_work+0xc8/0x100)
[ 685.633262] [<c0411ad4>] (ubiblock_do_work) from [<c012cb2c>] (process_one_work+0x1dc/0x318)
[ 685.642704] [<c012cb2c>] (process_one_work) from [<c012d81c>] (worker_thread+0x318/0x464)
[ 685.651851] [<c012d81c>] (worker_thread) from [<c0131d64>] (kthread+0xcc/0xe4)
[ 685.659929] [<c0131d64>] (kthread) from [<c0106e08>] (ret_from_fork+0x14/0x2c)
[ 685.668024] blk_update_request: I/O error, dev ubiblock0_4, sector 51408
[ 685.676037] SQUASHFS error: squashfs_read_data failed to read block 0x191a28c
[ 685.684665] SQUASHFS error: Unable to read fragment cache entry [191a28c]
[ 685.692278] SQUASHFS error: Unable to read page, block 191a28c, size 15c8c
[ 688.486816] UBIFS error (ubi0:5 pid 5): make_reservation: cannot reserve 2769 bytes in jhead 2, error -30
[ 688.497576] UBIFS error (ubi0:5 pid 5): do_writepage: cannot write page 10 of inode 155, error -30
[ 690.566575] sunxi_spi_transfer_one()1470 - [spi0] xfer timeout
[ 690.573105] spi-nand spi0.0: SPI transfer failed: -1
[ 690.578702] spi_master spi0: failed to transfer one message from queue
[ 690.585982] sunxi-spinand: read single page failed: -1
[ 690.591748] ubi0 warning: ubi_io_read: error -1 while reading 31744 bytes from PEB 476:230400, read only 0 bytes, retry
[ 693.526819] UBIFS error (ubi0:5 pid 5): make_reservation: cannot reserve 2770 bytes in jhead 2, error -30
[ 693.537705] UBIFS error (ubi0:5 pid 5): do_writepage: cannot write page 11 of inode 155, error -30
[ 695.606592] sunxi_spi_transfer_one()1470 - [spi0] xfer timeout
[ 695.613116] spi-nand spi0.0: SPI transfer failed: -1
[ 695.618828] spi_master spi0: failed to transfer one message from queue
[ 695.626120] sunxi-spinand: read single page failed: -1
[ 695.631907] ubi0 warning: ubi_io_read: error -1 while reading 31744 bytes from PEB 476:230400, read only 0 bytes, retry
[ 698.566810] UBIFS error (ubi0:5 pid 5): make_reservation: cannot reserve 2762 bytes in jhead 2, error -30
[ 698.577569] UBIFS error (ubi0:5 pid 5): do_writepage: cannot write page 12 of inode 155, error -30
[ 700.646589] sunxi_spi_transfer_one()1470 - [spi0] xfer timeout
[ 700.653121] spi-nand spi0.0: SPI transfer failed: -1
[ 700.658726] spi_master spi0: failed to transfer one message from queue
[ 700.666008] sunxi-spinand: read single page failed: -1
[ 700.671775] ubi0 error: ubi_io_read: error -1 while reading 31744 bytes from PEB 476:230400, read 0 bytes
[ 700.682472] CPU: 0 PID: 718 Comm: kworker/0:3 Not tainted 4.9.191 #6
[ 700.689662] Hardware name: sun8iw21
[ 700.693560] Workqueue: ubiblock0_4 ubiblock_do_work
[ 700.699062] [<c010d5a0>] (unwind_backtrace) from [<c010a694>] (show_stack+0x10/0x14)
[ 700.707733] [<c010a694>] (show_stack) from [<c040a9b0>] (ubi_io_read+0x1d8/0x2ac)
[ 700.716086] [<c040a9b0>] (ubi_io_read) from [<c0408c64>] (ubi_eba_read_leb+0x29c/0x3c4)
[ 700.725036] [<c0408c64>] (ubi_eba_read_leb) from [<c0408e3c>] (ubi_eba_read_leb_sg+0xb0/0x118)
[ 700.734665] [<c0408e3c>] (ubi_eba_read_leb_sg) from [<c0407908>] (ubi_leb_read_sg+0x68/0xb0)
[ 700.744103] [<c0407908>] (ubi_leb_read_sg) from [<c0411ad4>] (ubiblock_do_work+0xc8/0x100)
[ 700.753338] [<c0411ad4>] (ubiblock_do_work) from [<c012cb2c>] (process_one_work+0x1dc/0x318)
[ 700.762778] [<c012cb2c>] (process_one_work) from [<c012d81c>] (worker_thread+0x318/0x464)
[ 700.771918] [<c012d81c>] (worker_thread) from [<c0131d64>] (kthread+0xcc/0xe4)
[ 700.779991] [<c0131d64>] (kthread) from [<c0106e08>] (ret_from_fork+0x14/0x2c)
[ 700.788080] blk_update_request: I/O error, dev ubiblock0_4, sector 28666 -
栈回溯显示spi传输超时了,看下是不是开启的配置导致IO被复用了,另外把你开启XR829的配置和改动也发上来看下
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号