×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

【经验交流】MLU220-M.2 在RK3399上出现DMA错误 Sirius2021-09-08 11:36:10 回复 1 查看 经验交流 社区交流
【经验交流】MLU220-M.2 在RK3399上出现DMA错误
分享到:

RK3399主控设备,搭载M.2板卡使用H2D,D2H拷贝出现内核错误。


Bad mode in Error handler detected, code 0xbf000002 – SError

Unhandled fault: synchronous external abort (0x96000210) at 0xffffff8011334000

Unhandled fault: synchronous external abort (0x96000210) at 0xffffff8012b1a0a0

两份log错误信息都比较多,既有同步CPU错误也有异步CPU错误。

 

[ 2797.252750] Unhandled fault: synchronous external abort (0x96000210) at 0xffffff8012b1a0a0

[ 2797.261029] Internal error: : 96000210 1 SMP

[ 2797.265563] Modules  ed in: cambricon_drv(O) bcmdhd f81601

[ 2797.271395] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 4.4.194 #21

[ 2797.278697] Hardware name: Advantech ITB201 V10035 A1 (DT)

[ 2797.284182] task: ffffff8009166810 task.stack: ffffff8009150000

[ 2797.290748] PC is at cn_pci_reg_read32+0x48/0x54 [cambricon_drv]

[ 2797.297351] LR is at msi_interrupt+0x134/0x350 [cambricon_drv]

从其中一次同步错误来看,是我们的驱动Read PCIe Bar出现了Bus error,猜测PCIe BUS已经不可访问。


最后使用INTx替换MSI中断模式,问题不再出现。

版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭