您尚未登录。

#1 工业芯 匠芯创 » D211使用Linux SDK出现热插拔TF卡引起内核报错的问题 » 2025-11-04 16:37:38

vertiny
回复: 1

D211DCX, 自己做的板子,参照官方原理图, 启动后进去系统后,热插拔tf卡,内核都会报错一次,而且是只报错一次,之后再插拔不会再报,报错信息如下

[aic@] # [   20.856019] ------------[ cut here ]------------
[   20.860687] WARNING: CPU: 0 PID: 0 at kernel/softirq.c:174 __local_bh_enable_ip+0x34/0x60
[   20.868861] Modules linked in:
[   20.871941] CPU: 0 PID: 0 Comm: swapper Not tainted 5.10.44 #1
[   20.877778] epc: ffffffff800260d2 ra : ffffffff8035a716 sp : ffffffff805d7ab0
[   20.884916]  gp : ffffffff8069c978 tp : ffffffff805dc640 t0 : 0000000000000040
[   20.892140]  t1 : 0000000000000000 t2 : 0000000010000000 s0 : ffffffff805d7ae0
[   20.899363]  s1 : 0000000000000000 a0 : ffffffff8035a6f8 a1 : 0000000000000200
[   20.906586]  a2 : 0000000000040000 a3 : 00000000000f0000 a4 : 0000000000010000
[   20.913810]  a5 : ffffffff805dc640 a6 : ffffffff80c00248 a7 : ffffffff80c00270
[   20.921033]  s2 : ffffffff81029800 s3 : ffffffff80930818 s4 : ffffffff81029c00
[   20.928257]  s5 : ffffffff80666810 s6 : ffffffff8091d400 s7 : 000000000000000a
[   20.935481]  s8 : ffffffff80692000 s9 : 0000000000000001 s10: 0000000000000000
[   20.942704]  s11: ffffffff80930818 t3 : 0000000000000002 t4 : 0000000000000402
[   20.949926]  t5 : ffffffff806573b0 t6 : ffffffff806573b8
[   20.955244] status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003
[   20.963158] ---[ end trace cbdb6a4bdacedf88 ]---
[   21.061622] mmc0: card b369 removed
/mnt/sdcard is unmounted


请问大家有没有碰到一样的问题呢

#2 Re: 工业芯 匠芯创 » D211使用Linux SDK出现网络phy(RTL8201F) 偶尔 Link is Down, Link is Up现象 » 2025-11-04 16:31:25

CONFIG_CPU_FREQ关了还不行,硬件加个晶振重新打板试试看看是不是时钟源不稳引起的

#3 工业芯 匠芯创 » D211使用Linux SDK出现网络phy(RTL8201F) 偶尔 Link is Down, Link is Up现象 » 2025-10-28 14:48:18

vertiny
回复: 2

D211DCX, 自己做的板子,参照官方原理图,网络phy用的是RTL8201F,在使用过程中,发现偶尔会出现 Link is Down, Link is Up 现象,但网线没拔插,请问大家有没有碰到同样的问题。
用的是Luban SDK-v1.3.0这个sdk,其他版本的SDK也试过,也用韦东山d213的板子测试过,也出现同样的现象,网线是一直插着的,用久了就多次偶尔出现:
[  537.268287] gmac 10280000.ethernet eth0: Link is Down
[  539.352842] gmac 10280000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  967.828213] gmac 10280000.ethernet eth0: Link is Down
[  969.909147] gmac 10280000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


太原小智科技有限责任公司 - 东莞哇酷科技有限公司联合开发