R38.4.0 can 出现数据报错

hi:

客户遇到 卡死重启之后,can总线上传输数据报错,

dmesg.txt (267.0 KB)

kern.log (21.6 MB)

Hi mingming,

Do you mean the rcu stall issue that you reported in R38.4.0 Encountered a system crash issue - Jetson Systems / Jetson Thor - NVIDIA Developer Forums?

Could a manual reboot help for this issue?

[    3.873051] kernel: CAN device 0 created successfully
[    3.873095] kernel: CAN device 1 created successfully
[    3.873133] kernel: CAN device 2 created successfully
[    3.873165] kernel: CAN device 3 created successfully
[    3.873206] kernel: CAN device 4 created successfully
[    3.873242] kernel: CAN device 5 created successfully

Do you have 6 CAN interfaces in your case?

4 from internal mttcan as following, how about another 2?

[   21.542452] kernel: mttcan 81102f0000.mttcan can3: renamed from canbus0
[   22.329395] kernel: mttcan 8110330000.mttcan can4: renamed from canbus2
[   22.380602] kernel: mttcan 8110300000.mttcan can1: renamed from canbus1
[   22.669127] kernel: mttcan 8110340000.mttcan can5: renamed from canbus3

hi:

Could a manual reboot help for this issue? 重新上下电可以

Do you have 6 CAN interfaces in your case?—-》这块log 忽略,是我们自己加的注册节点记录状态的节点

soc是四个can设备

How about the failed rate in your case?

Pleas also check if reloading the mttcan driver can help for your case.

hi:

概率不大,当时有down 再up起来,也不行,重新加载驱动当时没做这个动作

I’m not clear if the CAN issue is caused from the rcu stall issue in your case as I can not reproduce it on the devkit.
It is worth to give a try to reloading mttcan driver instead of just down/up the CAN.