修改时间 03-13-2019 10:50 AM
Hi, zynqmp的zcu102板子经常使用时以太网出现一下LOG,导致linux内核崩溃
740.816746] macb ff0e0000.ethernet eth0: DMA bus error: HRESP not OK
invoke_request: image send close
[ 740.826282] Unable to handle kernel paging request at virtual address ffffffc080002000
image_send_deinit: begin
[ 740.834244] Mem abort info:
[ 740.839261] Exception class = DABT (current EL), IL = 32 bits
[ 740.845178] SET = 0, FnV = 0
[ 740.848228] EA = 0, S1PTW = 0
[ 740.851360] Data abort info:
[ 740.854233] ISV = 0, ISS = 0x00000145
[ 740.858062] CM = 1, WnR = 1
[ 740.861020] swapper pgtable: 4k pages, 39-bit VAs, pgd = ffffff800976a000
[ 740.867806] [ffffffc080002000] *pgd=0000000000000000, *pud=0000000000000000
[ 740.874770] Internal error: Oops: 96000145 [#1] SMP
[ 740.879638] Modules linked in:
[ 740.882689] CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.14.0 #82
[ 740.888854] Hardware name: ZynqMP ZCU102 RevA (DT)
[ 740.893638] task: ffffffc87b892e80 task.stack: ffffff8009780000
[ 740.899563] PC is at __dma_inv_area+0x40/0x58
[ 740.903913] LR is at __swiotlb_unmap_page+0x74/0xa0
[ 740.908784] pc : [<ffffff80080958e8>] lr : [<ffffff80080936fc>] pstate: 40000145
[ 740.916172] sp : ffffff8009783c10
[ 740.919477] x29: ffffff8009783c10 x28: 8000210080002000
[ 740.924781] x27: ffffffc87ac25d00 x26: ffffff800b1a9630
[ 740.930084] x25: 000000000880c042 x24: 0000000000000001
[ 740.935388] x23: 0000000000000040 x22: ffffff8008a27110
[ 740.940691] x21: 0000000000000600 x20: 8000210080002000
[ 740.945995] x19: ffffffc87bbf2810 x18: ffffffc87ff6dee0
[ 740.951298] x17: ffffffc87ae30000 x16: 00000000000019b9
[ 740.956602] x15: ffffffc87ae310f0 x14: ffffff800a481000
[ 740.961905] x13: 0000000000000000 x12: ffffffc87ae35000
[ 740.967209] x11: 0000000000000000 x10: 0000000059618cf7
[ 740.972512] x9 : 00000000000005a8 x8 : 0000000000000680
[ 740.977816] x7 : ffffff800949f4e0 x6 : 0000000000000042
[ 740.983119] x5 : 8000210080002000 x4 : 0000000000000000
[ 740.988423] x3 : 000000000000003f x2 : 0000000000000040
[ 740.993726] x1 : ffffffc080002600 x0 : ffffffc080002000
[ 740.999032] Process ksoftirqd/0 (pid: 7, stack limit = 0xffffff8009780000)
[ 741.005898] Call trace:
trame query thread[ e x7i4t1.008337] Excep
ion stack(0xffffff8009783ad0 to 0xffffff8009783c10)
[ 741.016931] 3ac0: ffffffc080002000 ffffffc080002600
[ 741.024754] 3ae0: 0000000000000040 000000000000003f 0000000000000000 8000210080002000
[ 741.032574] 3b00: 0000000000000042 ffffff800949f4e0 0000000000000680 00000000000005a8
[ 741.040395] 3b20: 0000000059618cf7 0000000000000000 ffffffc87ae35000 0000000000000000
[ 741.048216] 3b40: ffffff800a481000 ffffffc87ae310f0 00000000000019b9 ffffffc87ae30000
[ 741.056037] 3b60: ffffffc87ff6dee0 ffffffc87bbf2810 8000210080002000 0000000000000600
[ 741.063858] 3b80: ffffff8008a27110 0000000000000040 0000000000000001 000000000880c042
[ 741.071678] 3ba0: ffffff800b1a9630 ffffffc87ac25d00 8000210080002000 ffffff8009783c10
[ 741.079499] 3bc0: ffffff80080936fc ffffff8009783c10 ffffff80080958e8 0000000040000145
[ 741.087320] 3be0: 0000000000010000 ffffffc87ff68d70 ffffffffffffffff ffffff80087fc5a4
[ 741.095140] 3c00: ffffff8009783c10 ffffff80080958e8
[ 741.100012] [<ffffff80080958e8>] __dma_inv_area+0x40/0x58
[ 741.105402] [<ffffff8008601298>] gem_rx+0x170/0x258
.mage_send_deinit: end[ 741
110268] [<ffffff80086014e4>] macb_poll+0x54/0xf8
[ 741.117300] [<ffffff80087fc984>] net_rx_action+0xf4/0x2b0
[ 741.122690] [<ffffff800808182c>] __do_softirq+0x124/0x218
[ 741.128080] [<ffffff800809f938>] run_ksoftirqd+0x40/0x58
[ 741.133388] [<ffffff80080bb260>] smpboot_thread_fn+0x178/0x1a0
[ 741.139207] [<ffffff80080b7774>] kthread+0x12c/0x130
[ 741.144165] [<ffffff8008084a60>] ret_from_fork+0x10/0x18
[ 741.149469] Code: 8a230000 54000060 d50b7e20 14000002 (d5087620)
[ 741.155554] ---[ end trace d24ac70817247b47 ]---
[ 741.160161] Kernel panic - not syncing: Fatal exception in interrupt
[ 741.166508] SMP: stopping secondary CPUs
[ 741.170458] Kernel Offset: disabled
[ 741.173936] CPU features: 0x002004
[ 741.177327] Memory Limit: none
[ 741.180377] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
出现log如上,请问这个怎么解决? 谢谢啦。
修改时间 03-14-2019 10:39 AM
ZCU102的版本是什么?以太网的另外一端连接的是什么设备?你用ZCU102的2018.3 release image试过了吗?如果没有,请用release image试试。并且Linux启动的时候,不要连接JTAG。
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/57639129/Zynq+2018.3+Release
我在ZCU102上用过以太网几次了,没有碰到过类似问题。